1.1.2.3.6.1.4.10 BLE_TRCBPS_SendVendorCommand

C

uint16_t BLE_TRCBPS_SendVendorCommand(uint16_t connHandle, uint8_t cmdId, uint16_t len, uint8_t *p_payload);

Description

Send vendor command via BLE Transparent Credit Based Profile Control Channel.

Parameters

ParameterDescription
[in] connHandleConnection handle.
[in] cmdIdVendor command Opcode. See Definition of vendor opcode.
[in] lenLength of vendor command.
[in] p_payloadPointer to the payload of vendor command.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue a send vendor command.
MBA_RES_OOMNo available memory.
MBA_RES_INVALID_PARAThe L2CAP link doesn't exist or parameter does not meet the spec such as the data length exceeds the maximum MTU size of remote device.
MBA_RES_BAD_STATEThe connection of Transparent Credit Based Profile is not established.