diff --git a/MyTCPClient.cpp b/MyTCPClient.cpp index 8645294..43126cc 100644 --- a/MyTCPClient.cpp +++ b/MyTCPClient.cpp @@ -43,6 +43,8 @@ void MyTCPClient::handleMessage(const std::string &message) { void MyTCPClient::init() { this->serial = init_serial(); + std::cout << "Serial is open ? : " << this->serial.isDeviceOpen() << std::endl; + this->sendMessage("arduino;strat;ready;1"); }