|
bool | open (const std::string &port, size_t baud=115200) |
|
bool | close () |
|
bool | writeBytes (const std::vector< uint8_t > &data) |
|
bool | writeLine (const std::string &data) |
|
std::vector< uint8_t > | readBytes (size_t n) |
|
std::string | readLine () |
|
void | StartRecvThread () |
|
bool | isDeviceConnected () |
|
int | RecvNoblock (char *buf, int maxrecvlen=BUFFER_SIZE_RFLY) |
|
int | SendTo (const char *bytes, size_t byteslength) |
|
| operator bool () |
|