simSerialSend
Writes data to a previously opened serial port (RS-232)
C++ synopsis
int simSerialSend(int portHandle, const char* data, int dataLength)
Arguments
- portHandle: handle returned by the simSerialOpen function
- data: pointer to the data that should be sent
- dataLength: length of the data to be sent
Return
- -1 if operation was not successful, otherwise the effective data length that was written
See also:
|