43 switch (telegram->type)
77 std::string block_in_string(telegram->message.begin(),
78 telegram->message.end());
81 if (block_in_string.find(
"ReceiverCapabilities") != std::string::npos)
83 if (block_in_string.find(
"INS") != std::string::npos)
88 if (block_in_string.find(
"Heading") != std::string::npos)
99 "TelegramHandler received an invalid message to handle");
117 std::string block_in_string(telegram->message.begin(),
118 telegram->message.end());
122 if (block_in_string ==
124 "$R? setGNSSAttitude: Argument 'Source' is invalid!\r\n"))
128 "Rx does not support dual antenna mode, set parameter multi_antenna to false and/or disable publishing of atteuler.");
129 }
else if (block_in_string ==
130 std::string(
"$R? sptp, on : Invalid command!\r\n"))
134 "Rx does not support PTP server clock. GNSS needs firmare >= 4.14., INS does not support it yet.");
139 "Invalid command just sent to the Rx! The Rx's response contains " +
140 std::to_string(block_in_string.size()) +
141 " bytes and reads:\n " + block_in_string);
146 std::to_string(block_in_string.size()) +
147 " bytes and reads:\n " +
156 "handleCd: " + std::string(telegram->message.begin(),
157 telegram->message.end()));
161 std::string(telegram->message.begin(), telegram->message.end() - 1);