Nmea3Wifi and ST70i
Posted: Wed May 31, 2023 9:10 pm
First please let me say that the Nmea3Wifi is an amazing project and it works almost perfectly when testing it with a ST70i using a SeaTalk <> SeaTalk NG bridge.
However, there's one thing I have noticed when using them together with a cheap NMEA GPS unit:
Not the full GPS information is received by the ST70i. While the current GPS heading works just fine, no position, date/time or number of satellites is shown on the display.
It seems that the Nmea3Wifi will generate the $STALK datagrams 50 and 51 for LAT and LON, however the ST70i (OR the bridge, I'm not yet 100% sure on that) also (or instead?) require the datagram 58 (Raw unfiltered position). This is as per your documentation, so I'm not saying this is a bug.
Instead I'm just asking if it was possible to have the Nmea3Wifi also send out $STALK 58, as well as 57. If it were doing that, all the alarms on the ST70i would just begin to work (I've tried using the awesome new debug mode). I've also found out that if the datagram 58 is not received for around 7 seconds, then the ST70i will go into "GPS lost" alarm, which would totally be the expected behaviour if the GPS actually stop sending NMEA data.
I would really love to help implementing this instead of just saying "I want this". If there's any chance I can help you (I am quite familiar with developing for the ESP32 and I'd even be totally fine with just a snippet of code that does the current conversion, so I can send you a "patch" that builds the new datagrams).
However, there's one thing I have noticed when using them together with a cheap NMEA GPS unit:
Not the full GPS information is received by the ST70i. While the current GPS heading works just fine, no position, date/time or number of satellites is shown on the display.
It seems that the Nmea3Wifi will generate the $STALK datagrams 50 and 51 for LAT and LON, however the ST70i (OR the bridge, I'm not yet 100% sure on that) also (or instead?) require the datagram 58 (Raw unfiltered position). This is as per your documentation, so I'm not saying this is a bug.
Instead I'm just asking if it was possible to have the Nmea3Wifi also send out $STALK 58, as well as 57. If it were doing that, all the alarms on the ST70i would just begin to work (I've tried using the awesome new debug mode). I've also found out that if the datagram 58 is not received for around 7 seconds, then the ST70i will go into "GPS lost" alarm, which would totally be the expected behaviour if the GPS actually stop sending NMEA data.
I would really love to help implementing this instead of just saying "I want this". If there's any chance I can help you (I am quite familiar with developing for the ESP32 and I'd even be totally fine with just a snippet of code that does the current conversion, so I can send you a "patch" that builds the new datagrams).