BLE_TRCBPS_DisconnectReq
C
uint16_t BLE_TRCBPS_DisconnectReq(uint16_t connHandle);Description
Issue an L2CAP CoC disconnect request for a TRCBP Data pipe.
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | Connection handle. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Successfully sent a disconnect request. |
| MBA_RES_OOM | Internal memory allocation failure. |
| MBA_RES_INVALID_PARA | Invalid L2CAP link. |
| MBA_RES_NO_RESOURCE | No transmit buffers available. |
| MBA_RES_FAIL | Failed due to incorrect handle or SPSM. |
