GPS data not found using AEP API
- This topic has 4 replies, 2 voices, and was last updated 6 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forums › Conduit: AEP Model › GPS data not found using AEP API
Tagged: conduit gps aep api
Good Day –
We have two nearly identical conduits. One reports GPS data but the other does not. The one that does not report GPS data is a Multitech Conduit: MTCDT-LVW2-246A running firmware 1.6.2.
When we execute “http://<ip_addr>/api/stats/gps”, we get:
{
“code”: 200,
“result”: {
“error”: “GPS data not found”
},
“status”: “success”
}
On the other conduits, we get back something like:
{
“code”: 200,
“result”: {
“alt”: “41.3 M”,
“data”: [
“$GNGGA,213011.00,2622.38528,N,08005.87728,W,1,07,1.33,41.3,M,-27.2,M,,*45\r”,
“$GNGSA,A,3,76,67,,,,,,,,,,,2.49,1.33,2.10*11\r”,
“$GPGSV,3,1,11,03,41,269,08,08,05,188,09,14,38,119,17,16,79,237,*73\r”
],
“fix”: “1”,
“lat”: “2622.38528 N”,
“lng”: “08005.87728 W”,
“sats”: “07”,
“time”: “213011.00”
},
“status”: “success”
}
Any help will be appreciated!
William Laing
Hello William,
Is there anything related to the GPS fix/lock in the /var/log/messages on the device that has the failure?
Jeff
Hi Jeff –
Five of our Conduits are reporting GPS; one is not. They are all configured the same way as best we can tell.
These same messages are found in /var/log/messages for both Conduits:
2019-01-07T18:28:50.699113+00:00 mtcdt admin: Is GPSD running?
2019-01-07T18:28:50.729038+00:00 mtcdt admin: FIX OK field should be single hex digit: gpsmon data: gpsmon:ERROR: TCP device open error can’t connect to host/port pair.
2019-01-07T18:28:50.758635+00:00 mtcdt admin: GPS does not have a fix yet. Try again later.
Yet one is reporting GPS, and the other is not.
William,
Could you file a support portal case at https://support.multitech.com on this? There’s been some issues with the connectors to the board for the gps antennas among other things. Also, they may be able to give some additional advice on what environmental factors to rule out.
Thanks,
Jeff
Okay, Jeff, will do – thanks.