1.1.2.3.7.2.4.7 BLE_TRSPS_SendVendorCommand

C

uint16_t BLE_TRSPS_SendVendorCommand(uint16_t connHandle, uint8_t commandID, uint8_t commandLength, uint8_t *p_commandPayload);

Description

Send vendor command.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] commandIDCommand id of the vendor command.
[in] commandLengthLength of payload in vendor commnad.
[in] p_commandPayloadPointer to the payload of vendor command.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue a send vendor command.
MBA_RES_FAILInvalid connection.
MBA_RES_OOMNo available memory.
MBA_RES_INVALID_PARAError commandID usage or commandLength invalid or the CCCD of TCP is not enabled.