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

ParameterDescription
[in] connHandleConnection handle.
[in] cmdIdVendor command Opcode (see TRCBPS vendor opcodes).
[in] lenLength of the vendor command.
[in] p_payloadPointer to the command payload.

Return values

Return valueDescription
MBA_RES_BAD_STATEConnection not established.