Hi,
Our plan is to develop a BLE device (GATT peripheral) and to have all the data coming from this device being encrypted. We want to use OOB pairing with NFC.
I read a bit about pairing and bonding, and I'm playing a bit with the various examples in the SDK but I have some difficulties to understand the concepts first. Here are few questions I have:
1. It seems that we can set a security level for the NFC tag. How is it used/applied?
2. How is the security level decided for a given connection? By the peripheral?
3. Is it possible to use different security levels (or pairing mode) with the Android App nRF Connect? If yes, how? If no, how can test the SDK examples with NFC pairing and be sure I have eventually an encrypted link ?
4. Using nRF Connect for Android and the example "Heart Rate Application with BLE Pairing Using NFC", I cannot make the Heart Rate notifications work. If I want to see them I have to switch from SEC_MITM to SEC_OPEN for hrs_init.hrm_cccd_wr_sec. What could be wrong? I did the NFC pairing and I'm bonded.
5. Using the example "Heart Rate Application with BLE Pairing Using NFC" I can still connect with the peripheral and get information unencrypted. Why? How can I forbid that?
Sorry if these are newbie questions... And thank you for any help!