Hi Nordic Team,
I am new to embedded programming. I am trying to explore pairing using NFC(Near Field Communication).
I am working with nRF5340 and nRF Connect SDK v1.5.0
I am using this Bluetooth: NFC pairing example to study pairing between nRF5340 and Android mobile( oneplus 8t) with nRF Connect for Mobile app.
From the documentation of the example , it says "the sample supports pairing in
-
LE Secure Connections Just Works pairing
-
LE Secure Connections OOB pairing
-
Legacy OOB pairing
-
Legacy Just Works pairing
-
Negotiated Handover(TNEP protocol) - two-way OOB pairing"
I have some doubts with the implementation.
1.How to choose a desired method of paring from the above 5 modes?
For example, nRF5 SDK Nordic Semiconductor Infocenter guides to use buttons to switch between the modes. But Bluetooth: NFC pairing — nRF Connect SDK 1.5.0 documentation (nordicsemi.com) did not explain about switching different modes.
2.I have tested the sample with android mobile : Oneplus 8t. While I touched the NFC antenna from DK, the mobile received a popup "Do you want to pair...", after clicking YES, i could see the device gets bonded and i could connect to it with nRF connect app. Here what method of pairing is used (LE Legacy / LESC)? .
Also i found that on the mobile side, the data from NFC record is read by the Android generic nfc service.
If i am right, the nRF Connect for Mobile app takes the bonding related data from the android's nfc service?
And can you point me what data are being transmitted through NFC records from DK to Mobile. Is it one way communication from DK to Mobile or two way?
Sorry for so many questions.
Thanks and Regards,
S Mohan

