My apologies as my original question was not clear.
Is it possible to change the Bluetooth pairing code as the application needs to change it, or is it intended to be a fixed value?
I essentially need to be able to change the pairing code dynamically within the application. Dynamically means once or twice a day every day. What I don’t want is a fixed pairing code that cannot be changed in the field
2 of 2 people found this helpful
If you are referring to the 'passkey' as pairing code, then you have to monitor the BTM_PASSKEY_REQUEST_EVT event in the management callback. You can change the passkey that is passed to the wiced_bt_dev_pass_key_req_reply() API which should be called in the above mentioned callback.