S115 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
Loading...
Searching...
No Matches
ble_gap_opt_auth_payload_timeout_t Struct Reference

Authenticated payload timeout option. More...

#include </home/runner/work/sdk-nrf-bm/sdk-nrf-bm/sdk-nrf-bm/nrf-bm/components/softdevice/nrf54l/s115/s115_API/include/ble_gap.h>

Data Fields

uint16_t conn_handle
 
uint16_t auth_payload_timeout
 

Detailed Description

Authenticated payload timeout option.

This can be used with sd_ble_opt_set to change the Authenticated payload timeout to a value other than the default of BLE_GAP_AUTH_PAYLOAD_TIMEOUT_MAX.

Note
The authenticated payload timeout event BLE_GAP_TIMEOUT_SRC_AUTH_PAYLOAD will be generated if auth_payload_timeout time has elapsed without receiving a packet with a valid MIC on an encrypted link.
The LE ping procedure will be initiated before the timer expires to give the peer a chance to reset the timer. In addition the stack will try to prioritize running of LE ping over other activities to increase chances of finishing LE ping before timer expires. To avoid side-effects on other activities, it is recommended to use high timeout values. Recommended timeout > 2*(connInterval * (6 + connSlaveLatency)).
Return values
NRF_SUCCESSSet successfully.
NRF_ERROR_INVALID_PARAMInvalid parameter(s) supplied. auth_payload_timeout was outside of allowed range.
BLE_ERROR_INVALID_CONN_HANDLEInvalid connection handle parameter.

The documentation for this struct was generated from the following file: