1.1.2.1.1.4.32 BLE_GAP_RemoteConnParamsReqNegativeReply
C
uint16_t BLE_GAP_RemoteConnParamsReqNegativeReply(uint16_t connHandle, uint8_t reason);
Description
Reply to an LE remote connection parameters request event if device rejects the remote devices request to change connection parameters.
This API is called to reply BLE_GAP_EVT_REMOTE_CONN_PARAM_REQUEST event.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] reason | The reason of remote connection parameter request negative reply. See Status definitions. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issue a negative reply of LE remote connection parameters request event. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_INVALID_PARA | Invalid parameters. |
MBA_RES_COMMAND_DISALLOWED | Command disallowed. |