Skip to main content

R7 Serial: Tracker Settings

R7+GPS

This command returns the current GPS position of the device.

/* Request GPS Position */

R7+GPS\r

/* Receive response - example */

00310.22460W,5129.71500N,0,0,305,3,10,1.1,13:05:29,02-09-20\r
OK\r

🚧 Lat/Lon Format

Lat and Long are given in the following format:

Long: DDDMM.MMMMM[E|W]
Lat: DDMM.MMMMM[N|S]

In the return example above:
00310.22460W,5129.71500N
can be expressed as:
003° 10.22460' W, 51° 29.71500' N

📘 Response Key

The expected response for the R7+GPS command:

longitude,latitude,course,speed,altitude,mode,satellites,hdop,time,date

DataFormat
LongitudeDegreesMinutes.decimalMinutes E or W (DDMM.MMMMM[E|W])
LatitudeDegreesMinutes.decimalMinutes N or S (DDDMM.MMMMM[N|S])
Coursedegrees
Speedknots
Altitudemeters
Mode1 = no fix
2 = 2D fix
3 = 3D fix
Satellitescount
HDOP1-20
(1 = highest precision, 20 = poorest)
Timehh:mm:ss
DateDD-MM-YY

R7+GPS,STREAM=n

1 = turns streaming on
0 = turns streaming off

When GPS streaming is turned on a position is output every second.

/* Turn ON GPS Streaming */

R7+GPS,STREAM=1\r

/* Receive Response - example */

OK\r
00310.22460W,5129.71500N,0,0,305,3,10,1.1,13:05:29,02-09-20\r
00310.22460W,5129.71500N,0,0,306,3,10,1.1,13:05:30,02-09-20\r
00310.22520W,5129.71500N,0,1,307,3,10,1.5,13:05:31,02-09-20\r
00310.22520W,5129.71500N,0,0,307,3,10,1.3,13:05:32,02-09-20\r
00310.22520W,5129.71500N,0,1,307,3,10,1.3,13:05:33,02-09-20\r
00310.22520W,5129.71440N,0,1,308,3,10,1.3,13:05:34,02-09-20\r
00310.22520W,5129.71440N,0,1,309,3,10,1.3,13:05:35,02-09-20\r
00310.22520W,5129.71440N,0,1,308,3,10,1.3,13:05:36,02-09-20\r
00310.22520W,5129.71440N,0,1,306,3,9,1.3,13:05:37,02-09-20\r
00310.22520W,5129.71440N,0,1,307,3,7,1.5,13:05:38,02-09-20\r
00310.22520W,5129.71440N,0,1,307,3,10,1.3,13:05:39,02-09-20\r

/* Turn OFF GPS Streaming */

R7+GPS,STREAM=0\r

/* Receive Response - example */

OK\r

🚧 Streaming = ON

During streaming mode, other API commands work as normal.

R7+GPS,HOT

This gets the current GPS Hot status and reports 1 = ON, 0 = OFF.

R7+GPS,HOT=n

This sets the GPS Hot status where n=1=ON, n=0=OFF.

R7+TRACK,FREQ

This gets the transmit period enumeration and reports n = # (numbers listed below)

❗️ Request Tracking Frequency

Will report back the current tracking frequency being used. ie GPRS, Satellite or Distress Context

Frequency enumerationTracking Frequency
15 minutes
210 minutes
315 minutes
420 minutes
530 minutes
660 minutes
790 minutes
8120 minutes (2 hours)
9180 minutes (3 hours)
10240 minutes (4 hours)
11360 minutes (6 hours)
12480 minutes (8 hours)
13720 minutes (12 hours)
14Burst
151 minute
162 minutes
173 minutes
184 minutes
1924 hours
206 minutes
218 minutes
2212 minutes
2315 seconds
2430 seconds

R7+TRACK,FREQ=n

This sets the transmit period where n=required enum value (see table above)

❗️ Setting Tracking Frequency

This command will only configure the Satellite Context tracking frequency. It is not currently possible to configure GPRS or Distress context via the Serial API.

R7+VERSION

Returns the installed firmware version

/* Check Device Firmware */

R7+VERSION\r

/* Receive response */

03.04.13\r
OK\r