Searched refs:slcanprotocol (Results 1 – 1 of 1) sorted by relevance
30 namespace slcanprotocol { namespace72 const auto lookupIt = slcanprotocol::kBitrateCommands.find(kBitrate); in preUp()73 if (lookupIt == slcanprotocol::kBitrateCommands.end()) { in preUp()135 if (write(mFd.get(), slcanprotocol::kOpenCommand.c_str(), in preUp()136 slcanprotocol::kOpenCommand.length()) <= 0) { in preUp()142 if (ioctl(mFd.get(), TIOCSETD, &slcanprotocol::kSlcanDiscipline) < 0) { in preUp()153 if (ioctl(mFd.get(), TIOCSETD, &slcanprotocol::kDefaultDiscipline) < 0) { in postDown()159 if (write(mFd.get(), slcanprotocol::kCloseCommand.c_str(), in postDown()160 slcanprotocol::kCloseCommand.length()) <= 0) { in postDown()