serialPort.hpp
Go to the documentation of this file.
int recvInt() const
Receive a signed interger from e-puck.
Definition serialPort.cpp:96
SerialPort(std::string &serialPort)
Constructor of SerialPort class.
Definition serialPort.cpp:26
unsigned recvUnsigned() const
Receive an unsigned interger from e-puck.
Definition serialPort.cpp:115
int recvUnsignedCharArray(unsigned char *const array, unsigned length) const
Receive an array of unsigned char from e-puck.
Definition serialPort.cpp:148
int initialize()
Open the serial port device and set the configurations for it.
Definition serialPort.cpp:39
void sendChar(char message) const
Send a character to e-puck.
Definition serialPort.cpp:184
void sendInt(int message) const
Send an integer to e-puck.
Definition serialPort.cpp:172