Hello,
My environment info:
My project comprises a peripheral board connected to some sensors and a central board connected to a PC via USB. The boards exchange data using Nordics UART Service (NUS). To ensure safe operation of several Central/peripheral sets in the same place, the connection is bonded, secured and whitelisted in both sides.
The first-time secure bonding is really time consuming but that is the small problem because once bonded the process is much shorter. The real problem is that it’s a “bear hug” bonding, and as suggested in many links (1 , 2 , 3 ), only after performing a “nrfjprog –eraseall” I can connect to another peer.
After calling “pm_peers_delete()”, (by pressing KEY1), new connections trials ends up with error 4102 and only performing “nrfjprog –eraseall” in both sides helps me out.
This is O.K. in my lab, but what should be the solution in the field, for the end user (Costumer)?
The Central is a dongle that can be lost, an option of easy replacement is needed.
Also, I assume that nrfjprog –eraseall removes the bootloader so how to reprogram the application on the field. ICE/Nrf52840-DK are not available for field service in FOTA era.
(Why --eraseall is needed albeit calling pm_peers_delete() ends up with the event PM_EVT_PEERS_DELETE_SUCCEEDED generated by pear manager ?).
Does SDK 17.0.0 solves this problem ?
Thanks in advance.