Question related to bonding and advertising data?

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

cross mob
Anonymous
Not applicable

Hi I am a newbie and wanted to understand if it is possible to advertise the data on some value change to the bonded device.

I am creating the android app which connects to my ble device and pairs it. Now on some button press on the device, I want it to be notified to the mobile app. As far as I understand, once the device is paired and bonded, its not possible to advertise the data from the ble device.

How should i handle this scenario?

Appreciate the help. e.pratt_1639216

0 Likes
1 Solution
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

During advertisement, the adv packet data may contain device name, tx power level, service UUID values, …… we can dynamically change the adv packet data during advertisement, this won't effect on bonding. If we made any changes in the BLE device address or in device security tab and trying to connect then the pairing process will takes place again.

Pairing is the process to enable security features. In this process, two devices are authenticated, the link is encrypted and then the encryption keys are exchanged. Whereas bonding is the process in which the security keys and identify information are saved. These security keys are calculated based on device address, pairing parameters.

Thanks,

P Yugandhar.

View solution in original post

0 Likes
1 Reply
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

During advertisement, the adv packet data may contain device name, tx power level, service UUID values, …… we can dynamically change the adv packet data during advertisement, this won't effect on bonding. If we made any changes in the BLE device address or in device security tab and trying to connect then the pairing process will takes place again.

Pairing is the process to enable security features. In this process, two devices are authenticated, the link is encrypted and then the encryption keys are exchanged. Whereas bonding is the process in which the security keys and identify information are saved. These security keys are calculated based on device address, pairing parameters.

Thanks,

P Yugandhar.

0 Likes