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
  • Hi,

    When the device has been connected to the phone, but not visible from your app, is it visible in nRF Connect on that same phone? I suspect it will be possible if using the correct API, or that there may be some restrictions on certain device types for the given smartphone OS and version.

    We may be able to provide better pointers if you provide information about what smart phone and OS, and what kind of device (is it for instance a HID device?)

    Regards,
    Terje

Reply
  • Hi,

    When the device has been connected to the phone, but not visible from your app, is it visible in nRF Connect on that same phone? I suspect it will be possible if using the correct API, or that there may be some restrictions on certain device types for the given smartphone OS and version.

    We may be able to provide better pointers if you provide information about what smart phone and OS, and what kind of device (is it for instance a HID device?)

    Regards,
    Terje

Children
Related