BLE_TRCBPS_SendVendorCommand
C
uint16_t BLE_TRCBPS_SendVendorCommand(uint16_t connHandle, uint8_t cmdId, uint16_t len, uint8_t *p_payload);
Description
Send a vendor-specific command through the BLE TRCBP Control pipe.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle. |
[in] cmdId | Vendor command Opcode (see TRCBPS vendor opcodes). |
[in] len | Length of the vendor command. |
[in] p_payload | Pointer to the command payload. |
Return values
Return value | Description |
---|---|
MBA_RES_BAD_STATE | Connection not established. |