|
From: | Владимир Калачихин |
Subject: | Re: Strange troubles with emulation |
Date: | Fri, 22 Jan 2021 02:51:39 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 |
22.01.2021 02:13, Gary E. Miller пишет:
After this, I run `gpspipe -R -n 200 > raw.log` Result -- in the attachment.Yes. But the problem has already come, and gone.I cut first three rows from raw.log and run `gpsfake -c 1 raw.log` I see that gpspipe -R return ok NMEA flow,Not ok. Wrong line endings. But this time you have good JSON.
`gpspipe -R -n 200 > raw.log` created wrong line endings?
gpspipe -w return: {"class":"TPV","device":"/dev/pts/4","mode":1,"time":"2019-07-13T18:50:21.000Z","ept":0.005} {"class":"TPV","device":"/dev/pts/4","mode":3,"time":"2019-07-13T18:50:30.000Z","ept":0.005,"lat":61.137550000,"lon":28.342950000,"epv":0.000,"track":34.3700,"magtrack":45.2225,"magvar":10.9,"speed":2.696,"epc":0.00,"geoidSep":16.826,"eph":0.000,"sep":0.000}Looks good.Is this JSON flow normal for NMEA raw.log?Yes. So what again is your problem now?
If you looked at the raw.log You would see cycled repetition of sentences RMC GGA VTG GSA. Not "no fix" case present.
But JSON TPV has "mode":1 and "mode":3 alternately.
[Prev in Thread] | Current Thread | [Next in Thread] |