1.1.2.1.3.4.4 BLE_L2CAP_CbDiscReq

C

uint16_t BLE_L2CAP_CbDiscReq(uint8_t leL2capId);

Description

Issue a disconnect request to credit based connection channel.

Parameters

ParameterDescription
[in] leL2capIdL2cap instance.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue a L2cap disconnect request.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_NO_RESOURCENo Transmit buffers available for sending L2cap disconnect request.
MBA_RES_FAILFail to send L2cap disconnect request by error L2cap instance.