BLE_GAP_RemoteConnParamsReqNegativeReply

C

uint16_t BLE_GAP_RemoteConnParamsReqNegativeReply(uint16_t connHandle, uint8_t reason);

Description

Replies to an LE remote connection parameters request event if the device rejects the remote device's request to change connection parameters.

Note

This API is called in response to the BLE_GAP_EVT_REMOTE_CONN_PARAM_REQUEST event.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] reasonThe reason for rejecting the remote connection parameter request. See GAP_STATUS.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issues a negative reply to the LE remote connection parameters request event.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_INVALID_PARAThe parameters provided are invalid.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed due to a conflicting operation or state.