BLE_L2CAP_ConnParamUpdateRsp
C
uint16_t BLE_L2CAP_ConnParamUpdateRsp(uint16_t connHandle, uint16_t result);
Description
Reply a connection parameter update request.
Note
This function should be called when BLE_L2CAP_EVT_CONN_PARA_UPDATE_REQ received.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] result | Accept or reject the request. See Connection parameter update result. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issue a L2cap connection parameters update response. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_NO_RESOURCE | No Transmit buffers available for sending L2cap connection parameters update response. |
MBA_RES_FAIL | Fail to send L2cap connection parameters update response by error L2cap instance. |