BLE_TRSPC_SendVendorCommand
C
uint16_t BLE_TRSPC_SendVendorCommand(uint16_t connHandle, uint8_t commandID, uint8_t commandLength, uint8_t *p_commandPayload);
Description
Sends a vendor-specific command over the BLE connection.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] commandID | The identifier for the vendor-specific command. |
[in] commandLength | The length of the command payload. |
[in] p_commandPayload | Pointer to the command payload data. |
Return values
Return value | Description |
---|---|
MBA_RES_INVALID_PARA | The commandID or commandLength is invalid. |