CYBLE-222014-01 with Central & Peripheral simultaneously

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

cross mob
JoBo_4368521
Level 1
Level 1

Hello.

I have selected module CYBLE-222014-01 (based on PSoC4 BLE) to develop a new project where this module must work simultaneously both as CENTRAL (handling other module working as peripheral) as PERIPHERAL (getting/setting characteristics from/to a smartphone).

I have started to test this situation (using 2 modules CYBLE-222014-01 and a smartphone). First I set the Central&Peripheral module as Peripheral (using function CyBle_GappStartAdvertisement()). Then I try to connect to the second Peripheral Module (using function CyBle_GapcConnectDevice()), but I receive an error event CYBLE_EVT_HCI_STATUS with parameter CYBLE_HCI_MAX_NUMBER_OF_CONNECTIONS_ERROR.

My questions:

     Is it posible use module CYBLE-222014-01 working simultaneously both as CENTRAL as PERIPHERAL?

     If not posible, Is there any other module that suport this working mode?

Thanks in advance.

0 Likes
1 Solution
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi,

The module CYBLE-222014-01 is based on PSoC 4 BLE which supports only one BLE connection at a time.

You can try another module from Cypress CYBLE-416045-02 from Cypress which supports 4 connections simulataneously (Central/Peripheral). This module has 2 cores M0+ and M4 and BLE works on both the cores. Please check it out from the link below:

https://www.cypress.com/file/428336/download

The corresponding code example for your application is obtained from the link below:

https://www.cypress.com/documentation/code-examples/ce215118-ble-multi-master-single-slave-psoc-6-mc...

If you want to use  CYBLE-222014-01 only for your application for some reason, you can try Time-multiplexing the same device as central and peripheral. Please refer the code example Day30: Time-Multiplexed_Central from the link below:

PSoC-4-BLE/100_Projects_in_100_Days at master · cypresssemiconductorco/PSoC-4-BLE · GitHub

Kindly let us know if you need any other information.

Thanks

Ganesh

View solution in original post

0 Likes
1 Reply
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi,

The module CYBLE-222014-01 is based on PSoC 4 BLE which supports only one BLE connection at a time.

You can try another module from Cypress CYBLE-416045-02 from Cypress which supports 4 connections simulataneously (Central/Peripheral). This module has 2 cores M0+ and M4 and BLE works on both the cores. Please check it out from the link below:

https://www.cypress.com/file/428336/download

The corresponding code example for your application is obtained from the link below:

https://www.cypress.com/documentation/code-examples/ce215118-ble-multi-master-single-slave-psoc-6-mc...

If you want to use  CYBLE-222014-01 only for your application for some reason, you can try Time-multiplexing the same device as central and peripheral. Please refer the code example Day30: Time-Multiplexed_Central from the link below:

PSoC-4-BLE/100_Projects_in_100_Days at master · cypresssemiconductorco/PSoC-4-BLE · GitHub

Kindly let us know if you need any other information.

Thanks

Ganesh

0 Likes