1.1.2.1.1.4.33 BLE_GAP_RemoteConnParamsReqReply
C
uint16_t BLE_GAP_RemoteConnParamsReqReply(uint16_t connHandle, BLE_GAP_ConnParams_T *p_connParams);
Description
Reply to an LE remote connection parameters request event if device accepts the remote devices request to change connection parameters.
This API is called to reply BLE_GAP_EVT_REMOTE_CONN_PARAM_REQUEST event.
Events generated
BLE_GAP_EVT_CONN_PARAM_UPDATE Generated when connection parameters update complete.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] p_connParams | Pointer to the connection parameter. See BLE_GAP_ConnParams_T. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issue a 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. |