Tue 21 May 2013 03:33:49 PM UTC, comment #5:
When I run that test script with a simple netcat to watch what it outputs, the server process stalls after emitting partial output:
esr@snark:~/software/gpsd$ python tcp_test.py &
[1] 19611
esr@snark:~/software/gpsd$ netcat -d 127.0.0.1 50100
,1.7,-30.40,M,-13.9,M,,*7D
$GPGGA,',1.7,-30.40,M,-13.9,M,,*7D\r\n$GPGGA,'
19322'19322'
1.00,'1.00,'
'2037.'
2037.72792,N,08'72792,N,08'
704.08478,W,1,04,1.7,-30.40,M,-13.9,M,,*7D
$GPGSA,A,3,10,28,09,13,,,,,,,,,03.4,01.7,03.0*00
$GPGSV,3,1,12,28,14,150,41,09,15,254,41,10,43,192,47,13,06,081,36*7A
$GPGSV,3,2,12,02,56,323,,04,41,024,,12,31,317,,17,31,085,*72
$GPGSV,3,3,12,05,15,318,,24,02,246,,33,08,096,,35,45,118,*7D
$GPRMC,193221.00,A,2037.7279,N,08704.0848,W,00.1,201.8,231207,01,W,A*2D
$GPZDA,193223.00,23,12,2007,00,00*69
esr@snark:~/software/gpsd$
Try this to see if a real-world test works:
gpsd -D 4 -N -n tcp://85.218.136.122:6000
|