Is there a way to disable the outputting of the tuple value when using the UDP connection such that it only returns the NMEA sentence? Asking because I have existing programs that assume receiving of just the NMEA sentence.
That is, instead of returning...
(b'$GPGGA,144950,3804.5963,N,02356.1433,E,1,04,5.6,1766.0,M,34.5,M,,7D', ('127.0.0.1', 43464))
Simply return...
b'$GPGGA,144950,3804.5963,N,02356.1433,E,1,04,5.6,1766.0,M,34.5,M,,7D'
I'm looking into modifying the gpsfeed+.tcl file to have it only return the NMEA sentence.
Thanks,
Tom M.
NVM, I was tripped up by what I was seeing from Python's socket.recvfrom method, where it returns a tuple.
Log in to post a comment.
Is there a way to disable the outputting of the tuple value when using the UDP connection such that it only returns the NMEA sentence? Asking because I have existing programs that assume receiving of just the NMEA sentence.
That is, instead of returning...
(b'$GPGGA,144950,3804.5963,N,02356.1433,E,1,04,5.6,1766.0,M,34.5,M,,7D', ('127.0.0.1', 43464))
Simply return...
b'$GPGGA,144950,3804.5963,N,02356.1433,E,1,04,5.6,1766.0,M,34.5,M,,7D'
I'm looking into modifying the gpsfeed+.tcl file to have it only return the NMEA sentence.
Thanks,
Tom M.
NVM, I was tripped up by what I was seeing from Python's socket.recvfrom method, where it returns a tuple.