Greetings, I wish to use BLE DFU example but need to ensure only authorized connections can upload new firmware. How can I implement a PIN so user must enter it before being allowed to pair with device and perform DFU?
Note
I am not worried about encrypting the connection. I simply need to ensure device only permits pairing with authorized phones.
Device does not have display screen so it can’t display randomly generated pin. I would need to set a pin manually within the firmware.