|
| | Serial () |
| virtual | ~Serial () |
| int | serialOpen (const std::string &device, int baud, float stop_bits, int even, const std::string &serial_name="serial_0") |
| | Open TCP/IP ethernet communication serial
|
| int | serialClose (const std::string &serial_name="serial_0") |
| | Close TCP/IP serial communication Close down the serial connection to the server.
|
| int | serialReadByte (const std::string &variable, const std::string &serial_name="serial_0") |
| | Reads a number of bytes from the serial.
|
| int | serialReadByteList (int number, const std::string &variable, const std::string &serial_name="serial_0") |
| | Reads a number of bytes from the serial.
|
| int | serialReadString (const std::string &variable, const std::string &serial_name="serial_0", const std::string &prefix="", const std::string &suffix="", bool interpret_escape=false) |
| | Reads all data from the serial and returns the data as a string.
|
| int | serialSendByte (char value, const std::string &serial_name="serial_0") |
| | Sends a byte to the server Sends the byte through the serial.
|
| int | serialSendInt (int value, const std::string &serial_name="serial_0") |
| | Sends an int (int32_t) to the server Sends the int through the serial.
|
| int | serialSendLine (const std::string &str, const std::string &serial_name="serial_0") |
| | Sends a string with a newline character to the server Sends the string <str> through the serial in ASCII coding, appending a newline at the end.
|
| int | serialSendString (const std::string &str, const std::string &serial_name="serial_0") |
| | Sends a string to the server Sends the string <str> through the serial in ASCII coding.
|
| int | serialSendAllString (bool is_check, const std::vector< char > &str, const std::string &serial_name="serial_0") |
Definition at line 21 of file serial.h.