This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Passkey without keyboard and display

Hi,

I'm developing a BLE advertising sender and want to give the user the chance to change some settings of the sender with an iOS app. The user should connect/pair to the sender inside the iOS App and enter a preconfigured passkey (like 666666). After entering the passkey he should have to chance to change the passkey inside the iOS App and change other things.

I found the "BLE_GAP_IO_CAPS_DISPLAY_ONLY" property in the IO capabilities. But if I understood it correct the passkey is generated from the softdevice. Like in the "ble_app_gls" sample:


p_passkey = (char *)p_ble_evt->evt.gap_evt.params.passkey_display.passkey;

Is it possible to use "BLE_GAP_IO_CAPS_DISPLAY_ONLY" and instead of using the softdevice generated passkey using a static one? (with the possibility to change it later by the user).

Thanks in advance,

Alex

Parents Reply Children
No Data
Related