On the dfu bootloader example given on nrf51 SDK 8.1.0, how can I enable the pairing before connecting to it using the nRF toolbox Android app?
On the dfu bootloader example given on nrf51 SDK 8.1.0, how can I enable the pairing before connecting to it using the nRF toolbox Android app?
It is not possible to do pairing while in DFU mode in the current SDK bootloader example because it does not implement handling of pairing requests (Device manager). Support for pairing/bonding can be implemented as @shibshab mentioned, but it would likely require you to allocate more flash space for the bootloader.
Instead of implementing this in the bootlaoder, I think it's better to use the bond sharing in your application. You can then change the security requirements in you application to make pairing a requirement to perform butonless DFU.
It is not possible to do pairing while in DFU mode in the current SDK bootloader example because it does not implement handling of pairing requests (Device manager). Support for pairing/bonding can be implemented as @shibshab mentioned, but it would likely require you to allocate more flash space for the bootloader.
Instead of implementing this in the bootlaoder, I think it's better to use the bond sharing in your application. You can then change the security requirements in you application to make pairing a requirement to perform butonless DFU.