1.2.2.1.1.4.73 BLE_GAP_WriteAuthPayloadTimeout

C

uint16_t BLE_GAP_WriteAuthPayloadTimeout(uint16_t connHandle, uint16_t authPayloadTo);

Description

Write authenticated payload timeout parameter.

Note

This configuration determine when to use the LE ping sequence.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] authPayloadToAuthenticated payload timeout parameter (Unit: 10 ms). The authPayloadTo shall be equal to or greater than connInterval*(1 + peripheralLatency). Refer to BLE_GAP_EvtConnect_T.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully write the authenticated payload timeout parameter.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_UNKNOWN_CONN_IDUnknown connection identifier.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed.