GPS is off response

Periodic GPS Mode

One of my colleagues pointed out that the location.mode may not be configured correctly for periodic mode. The “seconds” field also needs to be set for periodic mode.

# daily sampling of location
{"req":"card.location.mode","mode":"periodic","seconds":86400}

# track location with weekly heartbeat
{"req":"card.location.track","start":true,"heartbeat":true,"hours":168}

Let me know if that helps with periodic mode.

GPS Data Log

The log you provided does show a GPS location lock. Though the signal is a little weak. Was this data taken with the antenna indoors?

Technically the signal is strong enough to get a lock, but it’s on the lower end, so it’s taking a bit longer.

We have been testing with the same antenna and seeing a stronger signal. In the 50dB range for the signal-to-noise ratio (SNR).

I think my mistake was to use:
{“req”:“card.location.mode”,“mode”:“periodic”,“hours”:1}
instead of
{“req”:“card.location.mode”,“mode”:“periodic”,“seconds”:1440}

with
{“req”:“card.location.track”,“start”:true,“heartbeat”:true,“hours”:1,“file”:“locations.qo”}
I then saw:
{“text”:“GPS set to 779QP75R+2W95 ($GPGGA, 17 sats, 18db)”} immediately followed by the fix in my locations.qo

The external antenna is indoors, but right by a window with a “quarter sphere” view of the sky.