1.2.2.3.6.1.4.3 BLE_TRCBPS_DisconnectReq
C
uint16_t BLE_TRCBPS_DisconnectReq(uint16_t connHandle);
Description
Issue a L2CAP CoC disconnect request for Transparent Credit Based Profile Data pipe.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully send a disconnect request. |
MBA_RES_OOM | No available memory. |
MBA_RES_INVALID_PARA | The L2CAP link doesn't exist. |
MBA_RES_NO_RESOURCE | No Transmit buffers available for sending a disconnect request. |
MBA_RES_FAIL | Fail to send disconnect request by incorrect connection handle or SPSM. |