diff --git a/ubxtool.cc b/ubxtool.cc index afe6e49..849e533 100644 --- a/ubxtool.cc +++ b/ubxtool.cc @@ -292,9 +292,13 @@ bool sendAndWaitForUBXAckNack(int fd, int seconds, basic_string_view ms return false; } +static bool version9 = false; +static bool m8t = false; +static string hwversion = ""; +static string swversion = ""; +static string mods = ""; +static string serialno = ""; - -bool version9 = false; void enableUBXMessageOnPort(int fd, uint8_t ubxClass, uint8_t ubxType, uint8_t port, uint8_t rate=1) { for(int n=0 ; n < 5; ++n) { @@ -406,10 +410,133 @@ void doTermios(int fd, bool doRTSCTS) if (doDEBUG) { cerr<