gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] ✘Galileo TITSUP


From: Mike Tubby
Subject: Re: [gpsd-users] ✘Galileo TITSUP
Date: Tue, 16 Jul 2019 09:16:43 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0



On 16/07/2019 02:25, Gary E. Miller wrote:
Yo All!

<snip>

gpsd has never reported the health flag for GNSS sats.  That is now
changed in git head.  If the health is known then SKY JSON now returns:

        Healthy:  "health":1
        Sick:  "health":2

satellite_t health is an unsigned char with zero is the Unknown value.

If your GPS receiver follows Galileo you can see that PRN 305 is
currently reporting unhealthy.  You can see this with cgps by a 'u'
next to the used Y flag.

RGDS
GARY


Gary,

The way that Trimble do 'health of GPS receiver' is interesting and may be relevant as there is only one 'good' state and multiple 'not good' states:

Current status of receiver:
    0    Doing position fixes
    1    Do not have GPS time yet
    2    (Reserved)
    3    PDOP is too high
    8    No usable satellites
    9    Only 1 usable satellite
    10    Only 2 usable satellites
    11    Only 3 usable satellites
    12    The chosen satellite is unusable - when in 1D (single satellite) mode


In addition to the core 'receiver health' many receivers now are able to monitor the antenna for open/short circuit and some receivers also detect and report jamming and/or spoofing.

If we're making changes to git head would you consider:

    typedef  struct {
        unsigned char health;
        unsigned char antenna;
        unsigned char spoofing;
        unsigned char jamming;
    } gps_health_t;

where:

    health:        is receiver health is a enumerated value indicating the state of the receiver, for example:
                            0: Doing position fixes
                            non-zero values for other states

    antenna:    is the health of the antenna, for example:
                            0: No fault detected or antenna not monitored
                            1: Short circuit detected
                            2: Open circuit detected

    spoofing:    is the state of the spoof detection:
                            0: No spoofing detected or spoof detection not supported
                            1: Spoofing detected

    jamming:    is the state of the jamming detection:
                            0: No jamming detected or jamming detection not supported
                            1: Jamming detected

this would regularise everything to be zero for no problem or no fault and non-zero for a problem/fault


Mike





reply via email to

[Prev in Thread] Current Thread [Next in Thread]