Manuals
General operations
USB Device operations
Packet function operations
Serial function operations
Stream function operations
ECUSB_Serial_WriteString
ECUSB_Serial_WriteString writes a NUL-terminated string to the host.
ECUSB_ErrorCode ECUSB_Serial_WriteString(
struct ECUSB_Serial_Function *pSerialFunction,
const char *szString
);
struct ECUSB_Serial_Function *pSerialFunction,
const char *szString
);
Parameters
pSerialFunction
A pointer to the struct ECUSB_Serial_Function previously initialized by ECUSB_Serial_Init().
szString
The string to be written.
Return value
Returns one of the ECUSB error codes (ECUSB_SUCCESS on success)