Hi everyone,
Somebody knows if its possible and how to configure a Pin code to establish the connection between the nRF51 peripheral and a phone as a central? Something like 4 or 5 digit pass code.
Thanks!
Hi everyone,
Somebody knows if its possible and how to configure a Pin code to establish the connection between the nRF51 peripheral and a phone as a central? Something like 4 or 5 digit pass code.
Thanks!
If you can live with not using a passkey, and have a button or similar as input, I suggest that you go to bonding mode only when you press the button, and at all other times use advertising with whitelisting (or don't advertise at all, if you have no bonding information). This will ensure
The usage of whitelisting and bonding, through the SDK's bond manager is shown for example in the ble_app_proximity for nrf6310.
With the latest softdevice www.nordicsemi.com/.../S110-SoftDevice-v7.0 you will be able to set a static passkey.
By using the API call sd_ble_opt_set() with the structure ble_gap_opt_passkey_t, then the passkey display event will come with the passkey you set.
Thats awesome! Thank you for the update.
Hi Pål Håland
For BLE, i know that it is possible to generate the passeky from the S130, but why can't i chose to be static if my device does not have any display or keypad. I did saw some example on the UART static passkey example before. Hope you can clarify this point. Thanks...