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());
124 "Invalid command just sent to the Rx! The Rx's response contains " +
125 std::to_string(block_in_string.size()) +
" bytes and reads:\n " +
128 if (block_in_string ==
130 "$R? setGNSSAttitude: Argument 'Source' is invalid!\r\n"))
134 "Rx does not support dual antenna mode, set parameter multi_antenna to false and/or disable publishing of atteuler.");
139 std::to_string(block_in_string.size()) +
140 " bytes and reads:\n " +
149 "handleCd: " + std::string(telegram->message.begin(),
150 telegram->message.end()));
154 std::string(telegram->message.begin(), telegram->message.end() - 1);