Connecting PSoC 6 Peripheral to multiple Central devices

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Adarsh
Level 1
Level 1
First reply posted First question asked Welcome!

I have a use case where 2 central devices need to connect to one peripheral. I am using psoc6 as a peripheral and phone as central devices.

The problem I see is that when one central device is connected to psoc6, the other central device does not discover the peripheral. I have increased the Max number of ble connection to 2 in BT configurator, but not able to connect two devices.

I am using 'BLE_Battery_Level_FreeRTOS' example and just increased the Max number of ble connection to 2. If I connect one phone via 'CYSmart' app, cysmart app on another phone does not show the peripheral in the list.

Is there anything additional thing needed to establish connection other than increasing the Max number of BLE connections in BT configurator?

Kit used: CYCKIT-062-BLE

 

0 Likes
1 Solution
PratikshaV
Moderator
Moderator
Moderator
100 solutions authored 5 likes given 250 sign-ins

Hi @Adarsh 

I would also suggest you to go through the document for porting PSoC6_BLE_MultiSlave Psoc creator example project to Modustoolbox.

https://www.cypress.com/documentation/application-notes/an219434-importing-psoc-creator-code-ide-pso...

Regards,

Pratiksha V

View solution in original post

0 Likes
3 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello @Adarsh 

I would suggest you to go through Multi connection example projects available in our PSoC creator IDE: PSoC6_BLE_MultiSlave 

https://www.cypress.com/documentation/code-examples/ce223508-psoc-6-mcu-implementing-ble-multi-conne...

Regards,

Anjana

0 Likes

Anjana,

I did go through this document before posting only change I saw is to increase Max number of devices. I am using Modustoolbox and not Psoc creator hence could not import this and test on the Psoc6. Also could not find any examples on Modustoolbox for multiple ble connections. I will try with psoc creator and check.

Just want to confirm if I am missing anything other than changing the 'Max number of ble connection' configuration.

0 Likes
PratikshaV
Moderator
Moderator
Moderator
100 solutions authored 5 likes given 250 sign-ins

Hi @Adarsh 

I would also suggest you to go through the document for porting PSoC6_BLE_MultiSlave Psoc creator example project to Modustoolbox.

https://www.cypress.com/documentation/application-notes/an219434-importing-psoc-creator-code-ide-pso...

Regards,

Pratiksha V

0 Likes