This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

what the min/max key size for?

HI,ALL

as i known, the BLE key is a six digit pin.

and in the static void device_manager_init(bool erase_bonds) ,the statement shows below:

register_param.sec_param.min_key_size = SEC_PARAM_MIN_KEY_SIZE;

register_param.sec_param.max_key_size = SEC_PARAM_MAX_KEY_SIZE;

#define SEC_PARAM_MIN_KEY_SIZE 7
#define SEC_PARAM_MAX_KEY_SIZE 16

what the two pataments for?

BR

Bernerd

Related