Dear all
I want to add the static pin to my project(s110 stackV8.0, based on SDK10), add the follow code to gap_params_init:
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);
init the device manager. But it seems not work as phone can connect it successfully without type in passkey. Any link or demo code can I refer to ?
Regards Jenson