GPS

Power Commands

Power On

{"type":"REQ_GPS_POWER_ON"}

Power Off, Battery On

{"type":"REQ_GPS_POWER_OFF_BATT_ON"}

Power Off, Battery Off

{"type":"REQ_GPS_POWER_OFF"}

Module Control Commands

Reset Hot

{"type":"REQ_GPS_RESET","temp":"hot"}

Reset Warm

{"type":"REQ_GPS_RESET","temp":"warm"}

Reset Cold

{"type":"REQ_GPS_RESET","temp":"cold"}

GPS NMEA Sentence Broadcasts

NMEA Sentence

The GPS NMEA sentences are broadcast in the example format below.

All sentences broadcast are known to be valid (by checksum) before being broadcast.

{"type":"GPS_LINE","line":"$GNVTG,106.79,T,,M,0.00,N,0.00,K,A*2A"

GPS Lock Broadcasts

The firstLockDuration field is optional, and is only present on the first lock subsequent to a reset or power command.

Fix Time

{ "type": "GPS_FIX_TIME", "time": "16:48:35", "firstLockDuration": 924 }

Fix 2D

{ "type": "GPS_FIX_2D", "latDeg": 40.742028, "lngDeg": -74.033074, "firstLockDuration": 935 }

Fix 3D (really 3D Plus)

{ "type": "GPS_FIX_3D", "altM": 49, "altF": 159, "speedK": 0, "courseDeg": 178, "firstLockDuration": 1866 }

RADIO

Power Commands

Power On

{"type":"REQ_RADIO_POWER_ON"}

Power Off

{"type":"REQ_RADIO_POWER_OFF"}

Module Control Commands

Output Enable

If you enable the output, but the power is off, the power will be turned on automatically.

{"type":"REQ_RADIO_OUTPUT_ENABLE"}

Output Disable

Has no effect if the radio is powered down

{"type":"REQ_RADIO_OUTPUT_DISABLE"}

APPLICATION

Message Sending Commands

Send Regular Message

This will send regardless of radio power and enable state.  State will be restored once complete.

There is no automatic synchronization to the "1 second after an even minute," the caller must send at the appropriate time.

{"type":"REQ_WSPR_SEND","callsign":"KD2KDD","grid":"FN20","power":"17"}