BLE_L2CAP_CbConnReq

C

uint16_t BLE_L2CAP_CbConnReq(uint16_t connHandle, uint16_t spsm);

Description

Issue a L2cap credit based connection request to establish a L2cap channel.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] spsmSPSM. See See the valid range SPSM range.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue a connection request.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_NO_RESOURCENo Transmit buffers available for sending connection request.