| 102 | } |
| 103 | |
| 104 | static void readStateExample(std::ostream &out, const AdsDevice &route) |
| 105 | { |
| 106 | const auto state = route.GetState(); |
| 107 | |
| 108 | out << "ADS state: " << std::dec << (uint16_t)state.ads |
| 109 | << " devState: " << std::dec << (uint16_t)state.device << '\n'; |
| 110 | } |
| 111 | |
| 112 | static void runExample(std::ostream &out) |
| 113 | { |