Hi,
I am working on the ble_app_template project.
1-How can I enable simple pairing without NFC?
2-Also how can I set pairing code?
3-Is the write way to secure characteristics?
attr_md.rd_auth = 1; attr_md.wr_auth = 1;
Thanks!
Hi,
I am working on the ble_app_template project.
1-How can I enable simple pairing without NFC?
2-Also how can I set pairing code?
3-Is the write way to secure characteristics?
attr_md.rd_auth = 1; attr_md.wr_auth = 1;
Thanks!
Hi Muqarrab,
Please see the Security parameters documentation for pairing and this post for secure characteristics.
-Amanda H.
Thanks, Amanda Hsieh
Can we perform Just Works bonding(without entering any key) without NFC Antenna?
Yes, many of the BLE examples in the SDK uses Just Works with pairing/bonding, e.g. the ble_app_hrs
example. As seen here, the Device/Peer Manager is configured as this when using "Just Works bonding":
sec_param.bond = true; sec_param.mitm = false; sec_param.lesc = 0; sec_param.keypress = 0; sec_param.io_caps = BLE_GAP_IO_CAPS_NONE; sec_param.oob = false; sec_param.min_key_size = 7; sec_param.max_key_size = 16; sec_param.kdist_own.enc = 1; sec_param.kdist_own.id = 1; sec_param.kdist_peer.enc = 1; sec_param.kdist_peer.id = 1;
-Amanda H.
Is it possible without NFC Antenna?
Is it possible without NFC Antenna?
yes, the ble_app_hrs
example is without the NFC Antenna.
-Amanda H
Thanks, Amanda Hsieh
I have uploaded the ble_app_hrs
example and connected from the nRF app.
But I have not received/got pop up for pairing?
It won't pop up for pairing. You have to perform pairing as the Heart Rate Application documentation.
-Amanda H.
Hi Amanda Hsieh
I have to question.
1-If I made authentic/secured characteristics. Can I read/write data using this pairing method? Is this pairing method secure?
2-How can I get a paring request like this in the attached image? Any example code?
Thanks
Hi,
Muqarrab said:1-If I made authentic/secured characteristics. Can I read/write data using this pairing method? Is this pairing method secure?
If you want to test that pairing is required but not Man In The Middle (MITM) protection, then I would suggest you try BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM() instead.
Muqarrab said:2-How can I get a paring request like this in the attached image? Any example code?
Please see Glucose Application.
-Amanda H.