Hi
I'm trying to add bonding in nus example, I'd like to add my peripheral in ble table in my android phone with a password, for example 123123
I've changed the security level in my source code from SEC_OPEN to SEC_JUST_WORKS but the problem is same, denied access.
I also added a passkey in "gap_param_init" according to a post in this forum
// Add static pin 123123 uint8_t passkey[] = STATIC_PASSKEY; m_static_pin_option.gap_opt.passkey.p_passkey = passkey; err_code = sd_ble_opt_set(BLE_GAP_OPT_PASSKEY, &m_static_pin_option); APP_ERROR_CHECK(err_code);
could you help me?