This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I'd like to ask you about BLE Secure Mode 1 Level 4.

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.

Parents
  • Hi again

    The LE Secure Connections Multirole example is similar in all the SDK versions you mention. Since the security mode is part of the BLE spec. it has not changed much between the SDK releases.

    Best regards,

    Simon

  • 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?

    #define SEC_PARAM_BOND                   1 
    #define SEC_PARAM_MITM                   1  
    #define SEC_PARAM_LESC                   1  
    #define SEC_PARAM_KEYPRESS               0 
    #define SEC_PARAM_IO_CAPABILITIES        BLE_GAP_IO_CAPS_DISPLAY_ONLY                      
    #define SEC_PARAM_OOB                    0
    #define SEC_PARAM_MIN_KEY_SIZE           7 
    #define SEC_PARAM_MAX_KEY_SIZE           16  
        ble_lbs_init_t init;

        BLE_GAP_CONN_SEC_MODE_SET_LESC_ENC_WITH_MITM(&init.dis_attr_md.read_perm);
        BLE_GAP_CONN_SEC_MODE_SET_LESC_ENC_WITH_MITM(&init.dis_attr_md.write_perm);

        err_code = ble_lbs_init(&m_lbs, &init);
        APP_ERROR_CHECK(err_code);

    +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

Reply
  • 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?

    #define SEC_PARAM_BOND                   1 
    #define SEC_PARAM_MITM                   1  
    #define SEC_PARAM_LESC                   1  
    #define SEC_PARAM_KEYPRESS               0 
    #define SEC_PARAM_IO_CAPABILITIES        BLE_GAP_IO_CAPS_DISPLAY_ONLY                      
    #define SEC_PARAM_OOB                    0
    #define SEC_PARAM_MIN_KEY_SIZE           7 
    #define SEC_PARAM_MAX_KEY_SIZE           16  
        ble_lbs_init_t init;

        BLE_GAP_CONN_SEC_MODE_SET_LESC_ENC_WITH_MITM(&init.dis_attr_md.read_perm);
        BLE_GAP_CONN_SEC_MODE_SET_LESC_ENC_WITH_MITM(&init.dis_attr_md.write_perm);

        err_code = ble_lbs_init(&m_lbs, &init);
        APP_ERROR_CHECK(err_code);

    +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

Children
No Data
Related