NMEA0183 weiter programmiert

This commit is contained in:
2025-07-19 12:26:49 +02:00
parent 7f0a0f280b
commit ae38d2b681
2 changed files with 43 additions and 2 deletions

View File

@@ -252,6 +252,10 @@ def rxd_gps(devname, devspeed):
if msg.sentence_type == 'GLL':
boatdata.setValue("LAT", msg.latitude)
boatdata.setValue("LON", msg.longitude)
if msg.sentence_type == 'GSV':
# Satellites in view
# TODO
pass
else:
print(msg)
print(msg.fields)
@@ -731,8 +735,10 @@ if __name__ == "__main__":
t_rxd_0183.join()
if cfg['gps']:
t_rxd_gps.join()
if cfg['net']:
if cfg['network']:
t_rxd_net.join()
if not cfg['simulation'] and cfg['bme280']:
t_data.join()
print("Another fine product of the Sirius Cybernetics Corporation.")
print(boatdata)