why must i reload soft device on zephyr NRF_Desktop keyboard example every time BLE is unbonded.

Gooday all

When using NRF_desktop example with prj_keyboard.conf I can connect via BLE to laptop. if I choose to remove the BLE device on the laptop it is not possible to reconnect it afterwards. The laptop does  not pick it up again andif it does it is an unknow device. I then need to reload the softdevice as well as NRF_Desktop code for it to be used again.

I have also noticed the same when using NRF_Desktop prj_keyboard.conf with the NRF52840 dongle.  When the dongle button is used to unbond the device, it will not connect again. They DK must be reloaded with softdevice, then code before it is usable again.

why would that be? 

Im wanting to move these devices between laptops and dongles without reloading them everytime.

as always :) thanks for any info

  • Hi, 

    When using NRF_desktop example with prj_keyboard.conf I can connect via BLE to laptop. if I choose to remove the BLE device on the laptop it is not possible to reconnect it afterwards. The laptop does  not pick it up again andif it does it is an unknow device. I then need to reload the softdevice as well as NRF_Desktop code for it to be used again.

    Are you using nRF52840DK? If so, please 

    • Disable Bluetooth LE on your PC/mobile
    • Turn off the DK using the dedicated ON/OFF switch.
    • While turning ON the DK, press the Button 1 for more than 5 seconds

    The device will Erase the peers if the previous peer (PC/mobile) is not found. LED 1 lights up and LED 2 starts breathing (blinking slowly) indicating that the device is advertising, ready for a new connection. See this guide

    I have also noticed the same when using NRF_Desktop prj_keyboard.conf with the NRF52840 dongle.

    How do you build nRF_Desktop for nRF52840 dongle with prj_keyboard.conf? There is no prj_keyboard.conf under https://github.com/nrfconnect/sdk-nrf/tree/v2.4.2/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840 

    Please try with a long press to initialize peer erase. When LED2 starts blinking rapidly, double-press to confirm the operation. After the confirmation, all the Bluetooth bonds are removed for the dongle.

    Regards,
    Amanda H.  

  • Thank you, it is working, dont know how I missed that. 

Related