- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am referring to the below examples to test BLE Bonding between two pioneer kits.
Individually the examples work fine. But my requirement is: One pioneer kit should act as a BLE central and will connect to another pioneer kit that is acting as BLE peripheral. BLE peripheral is having below security requirements.
Connection with the peripheral using the Cysmart app works as expected. But how can I tweak the code on central to work with a peripheral with the above GAP settings? Is there an example available for it?
I also have a requirement where I want to restrict the peripheral to be pared/bonded with just one central at a time.
Regards
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the attached zip file which has two projects central and peripheral. Once the devices are connected, pairing and bonding will occurs. Both the projects have the security features enabled.
Once your device got paired and bonded then for the second device you can check the bonded device list using CyBle_GapGetBondedDevicesList() api. If bonding devices count is more than one then don't store the bonding data, otherwise you can store the bonding data of your central device.
Please refer to the API description in BLE component datasheet for more information.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the attached zip file which has two projects central and peripheral. Once the devices are connected, pairing and bonding will occurs. Both the projects have the security features enabled.
Once your device got paired and bonded then for the second device you can check the bonded device list using CyBle_GapGetBondedDevicesList() api. If bonding devices count is more than one then don't store the bonding data, otherwise you can store the bonding data of your central device.
Please refer to the API description in BLE component datasheet for more information.
Thanks,
P Yugandhar.