Zephyr BLE Device pairing

Vikrant More <vikrant8051@...>


I wanna do pairing of my nrf52840-PDK based BLE device (with nRF Blinky Service) with smartphone using method describe in above video link. 

How to achieve it, so that as soon as PDK receive pairing request from smartphone onboard Led4 should turn ON and by just pressing Button4 it should paired with smartphone ?

Plus Device should go in pairing mode only after pressing Button3 on PDK board.

Is this possible, with available Zephyr Bluetooth APIs ?

In this method, is distance between Device & smartphone matter ?

Is it secure method ?

Thank You !!

Join devel@lists.zephyrproject.org to automatically receive all group messages.