BLE_L2CAP_ConnParamUpdateRsp
C
uint16_t BLE_L2CAP_ConnParamUpdateRsp(uint16_t connHandle, uint16_t result);
Description
Responds to a connection parameter update request.
Note
This function should be called upon receiving BLE_L2CAP_EVT_CONN_PARA_UPD_REQ.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] result | Accept or reject the request. See L2CAP connection parameter update result codes. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully sent a connection parameters update response. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_NO_RESOURCE | No transmit buffers available for sending L2CAP connection parameters update response. |
MBA_RES_FAIL | Failed to send the response due to an L2CAP instance error. |