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 pipe.
Parameters
| Parameter | Description | 
|---|---|
| [in] connHandle | Connection handle. | 
| [in] cmdId | Vendor command Opcode. See Definition of vendor opcode. | 
| [in] len | Length of vendor command | 
| [in] p_payload | Pointer to the payload of vendor command | 
Return values
| Return value | Description | 
|---|---|
| MBA_RES_SUCCESS | Successfully issue a send vendor command. | 
| MBA_RES_OOM | No available memory. | 
| MBA_RES_INVALID_PARA | The 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_STATE | The connection of Transparent Credit Based Profile is not established. | 
