Hi
I am trying to test the LE Ping feature between two nrf52s. I am enabling the LE Ping feature from one device via:
ble_opt_t opt = {0};
opt.gap_opt.auth_payload_timeout.conn_handle = VaidHandle;
opt.gap_opt.auth_payload_timeout.auth_payload_timeout = 20;
retVal = sd_ble_opt_set(BLE_GAP_OPT_AUTH_PAYLOAD_TIMEOUT, &opt)
This function is working properly and retVal is returning NRF_SUCCESS
. However, I want to test the functionality against a remote device but I don't know how. On the remote device I am printing a message when getting BLE_GAP_EVT_TIMEOUT
and the source is BLE_GAP_TIMEOUT_SRC_AUTH_PAYLOAD
, but nothing is printed out (all other events are printed without an issue). I tried enabling the pings on invalid connection handles and the function failed. I tried enabled the pings then abruptly breaking the connection from the remote end, but I got no event either.
Any recommendations/ideas on how to test this?
We are using softdevice S132 v3.0.0 on nrf52.
Thanks