ble_app_uart_s110_pca10028
i need function is press button to erase bonding information, then use App to connect and bonding.
How to implement this function? could you give me example code? your document and example too little content.
ble_app_uart_s110_pca10028
i need function is press button to erase bonding information, then use App to connect and bonding.
How to implement this function? could you give me example code? your document and example too little content.
If you want to delete all bonding information stored by the device manager you can simply use dm_device_delete_all
. The function and the entire Device Manager library are documented here and here in our Infocenter
If you want to delete a specific , then I would suggest taking a look at this bond handling example on our GitHub page.
Bjørn
If you want to delete all bonding information stored by the device manager you can simply use dm_device_delete_all
. The function and the entire Device Manager library are documented here and here in our Infocenter
If you want to delete a specific , then I would suggest taking a look at this bond handling example on our GitHub page.
Bjørn
thank you for your answer. I use the ble_app_uart example add "device manager" function. nRF master control can BONDED this ble_uart device, but why other mobile phone also can connect this ble_uart device? I wander to BONDED device, and this device can't connect to other device.
Bonding does not mean that the devices cannot connect to other devices. Bonding means that two devices have exchanged security keys and stored them in memory. This allows the devices to re-establish a secure connection at a later point with out having to go through the bonding process again. Devices can also be bonded to several other devices at the same time.