nRF52840 bonded but no connection

Hi,

I have my device based on the nRF52840, we have manufactured some equipments and we have created our own application to manage connection. Everything is working fine.

When our device is first connected to a smartphone, the smartphone asks for a key to stablish bonding: we manage this through our application.

Nevertheless, if a user bonds the device usign smartphone base system (through bluetooth icon provided by the system) then:

- Device remains in a 'connected' state

- If we open then the application, device does not appear as available as it is not advertising.

Only way to recover the device is just to switch off bluetooth or unbond it from the smartphone.

The question is: which is the best way to manage this? how can we avoid to have the device in this 'connected' state when following the above described steps?

Best regards,

Dani.

Parents Reply Children
No Data
Related