ttlappalainen / NMEA0183

Library for handling NMEA0183 messages
69 stars 44 forks source link

Question: how to use NMEA0183ParseGSV_nc #57

Open wjquigs11 opened 5 months ago

wjquigs11 commented 5 months ago

Is there an example of parsing GSV with NMEA0183ParseGSV_nc()?

Typically there are many satellites in view, but the parser takes 4 tGSV args. If field 1 (total number of messages) is >4, should I simply call the parser function repeatedly with different tGSVs until it returns no more satellites?

wjquigs11 commented 5 months ago

Disregard...I have found info that shows up to 4 satellites in each PGN, which explains the parser format. More PGNs will be in additional messages.

ttlappalainen commented 5 months ago

Read https://github.com/ttlappalainen/NMEA2000/issues/284#issuecomment-1940451526 and the issue conversation. There is ready code for reading satellites.