Hi,
What we are currently using is nRF52832, the central product is SDK16, and the peripheral product is SDK13.
Does SDK17 only support BLE Secure Mode 1 Level 4?
Are there any directions supported by SDK13 and SDK16?
I need your help.
Hi,
What we are currently using is nRF52832, the central product is SDK16, and the peripheral product is SDK13.
Does SDK17 only support BLE Secure Mode 1 Level 4?
Are there any directions supported by SDK13 and SDK16?
I need your help.
Hi, Simon
Thanks for your help.
Central is using SDK16 and periperal is using SDK13.
I'm going to apply Security Mode 1 Level 4 respectively.
Do you have any examples to refer to?
And is the functionality of Security Mode 1 Level 4 different in SDK17, SDK16, and SDK13?
Best regards,
Chu
Hi
Simonr
Thanks.
Is Security Mode 1 Level 4 correct to set the SEC parameter as follows? Or what can you look at to judge?
+Add
SDK13
In Peripheral, 4 devices are connected simultaneously, and 8 devices are registered internally. You have to pair each. Is there a way to select and pair peer id as the BD address of each device?
Best regards,
Chu
Security Mode 1 Level 4 is described as follows: "LESC MITM protected encrypted link using a 128-bit strength encryption key required." So MITM, LESC, and a 128-bit encryption key is required. So if the MITM and LESC are set to 1, and you have set an encryption key, that means you are in SEC MODE 1 Level 4. You can also do something like what some later SDK versions do, where the BLE_GAP_EVT_CONN_SEC_UPDATE reads the security mode and level and prints it out using NRF_LOG_INFO. This is usually done in ble_evt_handler() with the following code.
case BLE_GAP_EVT_CONN_SEC_UPDATE:
NRF_LOG_INFO("BLE_GAP_EVT_CONN_SEC_UPDATE");
NRF_LOG_INFO("Security mode: %u. Security level: %u",
p_ble_evt->evt.gap_evt.params.conn_sec_update.conn_sec.sec_mode.sm,
p_ble_evt->evt.gap_evt.params.conn_sec_update.conn_sec.sec_mode.lv);
break;
Best regards,
Simon