-
Notifications
You must be signed in to change notification settings - Fork 2
4. Detailed Description of Command Options
1. Command Option 0 – Track using SMS.
EEPROM SETTINGS USED: 5, 21, 22, 23, 233, 281
Send back the coordinates of the Geogram ONE formatted as a Google Maps link. The Geogram ONE will always report back the last known valid position of the device. This is a useful feature when the device moves into a location that blocks reception of the GPS satellites.
There are no parameters associated with Option 0.
Example: 0000.0.
Sample Response Back:
11/14/15,20:55:37,1,359,GO FW_3_0b,76%,9,10,BAT
http://maps.google.com/maps?q=42+20.2678,-71+39.4623
As you can see the default response back from the Geogram ONE consists of two lines of data.
The first line contains the following information in order:
- date,
- time,
- speed,
- course,
- GO ID (default value is current Firmware installed),
- battery percentage,
- RSSI,
- number of satellites used,
- charge status – running on battery only (BAT) or charger plugged in (CHG).
The second line gives us the Google Maps link containing the longitude and latitude of the device.
2. Command Option 1 – Motion detection alert.
EEPROM SETTINGS USED: 5, 121
Sending a command using Option 1 to the Geogram ONE places the device into sleep mode and activates the internal motion sensor. If the device detects movement (default movement sensitivity level is set to highly sensitive), the unit wakes up and sends a user customizable message to the default address stored in the EEPROM. It’s important to note that while the Geogram ONE is in sleep mode, it is incapable of sending and receiving SMS messages. Since the GPS engine is also in sleep mode, it too is incapable of maintaining a satellite fix. Once the GPS wakes from sleep mode, it will attempt to lock on to the satellites. Depending on the amount of time the device is in sleep mode and device placement, the current latitude and longitude may not be immediately available.
There are no parameters associated with Option 1.
Example: 0000.1.
Sample Response Back:
Motion Detected
3. Command Option 2 – Set EEPROM values.
Sending a command using Option 2 to the Geogram ONE gives the user the ability to make changes to the settings that are stored in nonvolatile (does not change with power removed) EEPROM. This is a very powerful feature that gives the user the ability to customize the operation of the Geogram ONE. The EEPROM contains all the settings that control how and when different features of the tracking device are implemented. The first parameter will reference the EEPROM memory address. The second parameter will be the new value stored in the EEPROM address. Some examples include Geofence size, speed tracking, message customization, PIN code, etc. The different options will be explained later in each of the corresponding features section. It’s important to note that while most commands sent to the Geogram ONE need to end in a period, some of the commands using option 2 will not end in a period. These particular EEPROM memory locations will be pointed out later. It’s also important to note that there are no responses sent back with option 2. Here are just a few examples of option 2:
Set PIN from 0000 to 1234 (EEPROM address 0)
0000.2.0.1234.
Set time zone to EST (-4) (EEPROM address 22)
0000.2.22.-4.
Set default SMS address in EEPROM (EEPROM address 5, ends with asterisk)
0000.2.5.5085551212*
4. Command Option 3 – Read EEPROM values.
Sending a command using Option 3 to the Geogram ONE gives the user the ability to read the current contents of the EEPROM for a specified memory location. If an invalid address is used the device will respond accordingly.
Get current time zone (EEPROM address 22)
0000.3.22.
Sample Response Back
-4
Get default stored SMS address (EEPROM address 5)
0000.3.5.
Sample Response Back
5085551212
Get speed limit setting (EEPROM address 44)
0000.3.44.
Sample Response Back
75
Get an invalid address
0000.3.2.
Sample Response Back
Invalid EEPROM Address
5. Command Option 255 – Reboot Geogram ONE.
Sending a command using Option 255 to the Geogram ONE will force the device to do a power reset. This option is strictly used for troubleshooting purposes and is not necessarily used during normal operation.