BLE_GAP_RemoteConnParamsReqReply
C
uint16_t BLE_GAP_RemoteConnParamsReqReply(uint16_t connHandle, BLE_GAP_ConnParams_T *p_connParams);
Description
Replies to an LE remote connection parameters request event if the device accepts 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.
Events generated
BLE_GAP_EVT_CONN_PARAM_UPDATE is generated when the connection parameters update is complete.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] p_connParams | Pointer to the desired connection parameters. See BLE_GAP_ConnParams_T. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issues a reply to the LE remote connection parameters request event. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_INVALID_PARA | The parameters provided are invalid. |
MBA_RES_COMMAND_DISALLOWED | CCommand disallowed due to a conflicting operation or state. |