Hi, I want to read the StaticPasskey from the Softdevice that was set before with:
uint8_t u8_ToBePassKey[];
/*
* Configure ToBePassKey in some way...
*/
m_static_pin_option.gap_opt.passkey.p_passkey = u8_ToBePassKey;
sd_ble_opt_set(BLE_GAP_OPT_PASSKEY, &m_static_pin_option);
When I now try to read out the passkey i get an ErrorCode 6 -> NRF_ERROR_NOT_SUPPORTED
err_code =sd_ble_opt_get( BLE_GAP_OPT_PASSKEY, &m_static_pin_option);
What is the right way to do that, to readout the passkey?
Setting passkey works fine!