Lines Matching refs:port
53 std::string port;
78 port = std::string(strDSName);
80 newPortInfo.push_back(port);
81 auto it = std::find(serialPortInfo.begin(), serialPortInfo.end(), port);
106 string port = "/dev/" + string(p->d_name);
107 if (port.find("/dev/ttyUSB") == 0 || port.find("/dev/ttySerial") == 0 || port.find("/dev/cu.") == 0) {
108 newPortInfo.push_back(port);
109 auto it = std::find(serialPortInfo.begin(), serialPortInfo.end(), port);
112 WRITE_LOG(LOG_INFO, "new port:%s", port.c_str());
123 // not found in new port list
130 // new scan empty , same as port changed
476 // serial port read thread.