RflySimSDK v4.01
RflySimSDK说明文档
载入中...
搜索中...
未找到
SerialCPP类 参考

Public 成员函数

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 ()

Public 属性

std::function< void(const char *, size_t)> onRawMessageReceived

该类的文档由以下文件生成: