BLE_TRSPC_SendVendorCommand
C
uint16_t BLE_TRSPC_SendVendorCommand(uint16_t connHandle, uint8_t commandID, uint8_t commandLength, uint8_t *p_commandPayload);Description
Send vendor command.
Parameters
| Parameter | Description | 
|---|---|
| [in] connHandle | Connection handle associated with this connection. | 
| [in] commandID | Command id of the vendor command. | 
| [in] commandLength | Length of payload in vendor commnad. | 
| [in] p_commandPayload | Pointer to the payload of vendor command. | 
Return values
| Return value | Description | 
|---|---|
| MBA_RES_SUCCESS | Successfully issue a send vendor command. | 
| MBA_RES_FAIL | Invalid connection or the CCCD of TCP is not enabled. | 
| MBA_RES_OOM | No available memory. | 
| MBA_RES_INVALID_PARA | Error commandID usage or commandLength invalid. | 
