- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
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