This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Android phone can not find bluetooth device after unpaier

Hi,
I have a problem find bluetooth device on more android phones after them unpair.

First time phones find device and connect but after unpair phone not find devices.

This issue is only for android bluetooth app. NRF Connect and PC all work fine.
I use NRF52810 and tested more exsamples in SDK15.3 and SDK16.
Possibly the problems on standard bluetooth app but different models and brands phones have this issue. I tryed clear all data from
bluetooth app but issues remains.
How I can fix this issue ?

Parents
  • Hello,

     

    First time phones find device and connect but after unpair phone not find devices.

     What do you mean by unpair? Do you mean "disconnect" or "forget device"(delete bonding information)?

    What application is running on the nRF52 device? What did you flash it with? Does it use bonding? Does it use a whitelist? If you erase the flash and re-program the application and the softdevice, is it visible again after that?

    To erase the device, you can use the nRF Command Line Tools command "nrfjprog --eraseall"

Reply
  • Hello,

     

    First time phones find device and connect but after unpair phone not find devices.

     What do you mean by unpair? Do you mean "disconnect" or "forget device"(delete bonding information)?

    What application is running on the nRF52 device? What did you flash it with? Does it use bonding? Does it use a whitelist? If you erase the flash and re-program the application and the softdevice, is it visible again after that?

    To erase the device, you can use the nRF Command Line Tools command "nrfjprog --eraseall"

Children
  • Hi,
    Thanks for reply.
    Some details:
    NRF-Connect worked fine (find device, connect ) but Android standart bluetooth app not find device.
    1. unpair = forget device
    2. I use ble_app_hids keyboard example
    3. After forget device by android I delete whitelist (and with whitelist ) not changes
    4. In pm_evt_handler I set (pm_conn_sec_config_t conn_sec_config = {.allow_repairing = true};)
    5. Yes I erace device and re-program it not visible.
    This problem have all the phones I've tested (Huawey, Xiaomi, Samsung)

    6.  I clear all bluetooth app data in Android

  • After erasing the flash on the nRF52 (nrfjprog --eraseall), and deleting the bonding information on the Android. Try to turn off and on bluetooth on the phone (from the settings) and make sure that the nRF is advertising again before you start to scan. And make sure it is programmed with nRF Connect for Desktop.

    Do you see the device in nRF Connect for Android? Is the nRF still advertising with the Keyboard example, or did you use another example at this point?

  •  Yes I see the device in nRF Connect for Android but not see from Android bluetooth app 

Related