GPS data not found using AEP API

Home Forums Conduit: AEP Model GPS data not found using AEP API

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27022
    William Laing
    Participant

    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&#8221;, 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

    #27034
    Jeff Hatch
    Keymaster

    Hello William,

    Is there anything related to the GPS fix/lock in the /var/log/messages on the device that has the failure?

    Jeff

    #27039
    William Laing
    Participant

    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.

    #27049
    Jeff Hatch
    Keymaster

    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

    #27052
    William Laing
    Participant

    Okay, Jeff, will do – thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.