From 6485be7cb2ced857abbdaad5c8919c8a11577669 Mon Sep 17 00:00:00 2001 From: Luke Prior <22492406+LukePrior@users.noreply.github.com> Date: Sun, 27 Jun 2021 22:18:32 +1000 Subject: [PATCH 1/2] Fix M10/M20 time We need to send UTC time for these. --- RX_FSK/RX_FSK.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RX_FSK/RX_FSK.ino b/RX_FSK/RX_FSK.ino index c6323a8..542e7eb 100644 --- a/RX_FSK/RX_FSK.ino +++ b/RX_FSK/RX_FSK.ino @@ -3146,7 +3146,7 @@ void sondehub_send_data(WiFiClient *client, SondeInfo *s, struct st_sondehub *co // DFM uses UTC. Most of the other radiosondes use GPS time // SondeHub expect datetime to be the same time sytem as the sonde transmits as time stamp - if ( s->type == STYPE_RS41 || s->type == STYPE_RS92 || s->type == STYPE_M10 || s->type == STYPE_M20 ) { + if ( s->type == STYPE_RS41 || s->type == STYPE_RS92 ) { t += 18; // convert back to GPS time from UTC time +18s } From 6e9e5b8a7949318e017de15a1600a9882221145b Mon Sep 17 00:00:00 2001 From: Luke Prior <22492406+LukePrior@users.noreply.github.com> Date: Sun, 27 Jun 2021 22:21:54 +1000 Subject: [PATCH 2/2] Update RX_FSK.ino --- RX_FSK/RX_FSK.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RX_FSK/RX_FSK.ino b/RX_FSK/RX_FSK.ino index 542e7eb..25582b5 100644 --- a/RX_FSK/RX_FSK.ino +++ b/RX_FSK/RX_FSK.ino @@ -3146,7 +3146,7 @@ void sondehub_send_data(WiFiClient *client, SondeInfo *s, struct st_sondehub *co // DFM uses UTC. Most of the other radiosondes use GPS time // SondeHub expect datetime to be the same time sytem as the sonde transmits as time stamp - if ( s->type == STYPE_RS41 || s->type == STYPE_RS92 ) { + if ( s->type == STYPE_RS41 || s->type == STYPE_RS92 || s->type == STYPE_M20 ) { t += 18; // convert back to GPS time from UTC time +18s }