In my application,the end product is given to the user with a static passkey. We need to give the user the provision to change the passkey .
Currently I have a working code with static passkey. I can bond to my device with the default password "123456 using sd_ble_opt_set. Can any one tell me, how to let the user update the passkey(while the application is running)?