- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to perform bonding without UART? For our project I want to bond the peripheral to the central on first connection without the use of UART. The reason is our devices will not have the input of a keyboard.
Thanks,
Michael
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There should be an api function to get bonded device list, and one that will get them in rank order of when they last connected:
CYBLE_GAP_DEVICE_ADDR_LIST_T bondList;
apiresult = CyBle_GapGetBondedDevicesByRank(&bondList);
CYBLE_GAP_BONDED_DEV_ADDR_LIST_T bondlist2;
CyBle_GapGetBondedDevicesList(&bondlist2);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes it is possible. You will have to handle the BLE component's behavior using the software running on the chip. The radio is runtime configurable for the different security levels of BLE pairing/bonding, and hence you can achieve what you are asking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pratt do you know if it's possible to check if a device is on a bonded list. I looked at the API for bluetooth but, have only found ways of removing and storing bonding information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There should be an api function to get bonded device list, and one that will get them in rank order of when they last connected:
CYBLE_GAP_DEVICE_ADDR_LIST_T bondList;
apiresult = CyBle_GapGetBondedDevicesByRank(&bondList);
CYBLE_GAP_BONDED_DEV_ADDR_LIST_T bondlist2;
CyBle_GapGetBondedDevicesList(&bondlist2);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!