![]() |
![]() |
|
|
|
|
|
|
|||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
![]() |
![]() |
Intro | Build it! |
Command reference |
How it works | Download |
Customize | Todo |
User forum Commands for build 0.14 Commands are sent to the tracker as SMS messages (not EMS/MMS/picture messaging.) All commands must be prefaced by the correct password, or they will be ignored without reply. One command per message. Commands can be upper or lower case, but passwords are case sensitive. All time values are approximate, because the tracker uses a fairly inaccurate clock. Timing values are intended to adjust power versus tracking resolution, not for precise timekeeping. Units of measurement for speed and altitude are set when the firmware is assembled, and cannot be changed without an AVR programmer.
SETADDRESS phone-number optional-email-address
LOCATE LOCATE - event that caused the report to be sent.
POS 34 05.8779 N 118 20.6368 W - latitude and longitude in degrees and decimal minutes. You can type or paste everything after POS right into Google Maps (http://maps.google.com) to see a map or satellite view of the location.
ALT 377 FT - measured GPS altitude, only accurate for four or more satellites (see below)
SPEED 0.0 MPH - speed of the GPS unit when the fix was taken. A unit sitting still often reports up to 2 mph.
COURSE 11.05 - course in degrees if the unit was moving
AT 08/04/05 22:31:51 UTC Year, month, day, hour, minute, second Universal Coordinated Time that the fix was taken. This is satellite time and is accurate.
SATS 04 - number of satellites providing the fix. Four or more indicates a 3D fix (altitude valid) while three satellites indicates a less-accurate 2D fix. Report causes (first parameter of location report) - all but LOCATE and timeout are tracking mode only. LOCATE - manual locate request.
STARTED - the tracker has started moving.
MOVING - the tracker was moving and continues moving.
SPEEDING - the tracker is exceeding the speed limit (whether started or previously moving.)
STOPPED - the tracker was moving and has stopped for the specified number of intervals.
MOVED - the tracker was not moving when the fix was taken, but has been displaced since the previous fix. Setting the minimum displacement too short will generate spurious MOVED reports.
GPS TIMED OUT WAITING FOR FIX, LAST GOOD FIX ... indicates the GPS receiver did not receive a valid satellite signal. Setting the fix wait too short will cause this error. The receiver needs at least 35 seconds, and often two minutes, to receive ephemeris if it has been off for over an hour. Steel and concrete buildings, including parking garages, block the signal. If the last good fix is all dashes, no valid fix was received since the tracker was powered up or rebooted.
NO DATASTREAM FROM GPS DEVICE indicates the GPS module is not sending data. This is likely either a loose connection or a dead GPS battery.
SALOCATE phone-number optional-email-address SETPASSWORD new-password new-password
SETNAME tracker-name
TRACKON
TRACKOFF
POWERSAVE
POWERON
STATUS SPDLMT=0 Speed limit, or 0 if disabled.
STOPD=120/2 Stopped fix interval and notify delay.
BLKD=600/2 Blocked fix interval and notify delay.
MOVNG=120/5 Moving fix interval and notify frequency.
PSV=3600/600 Powersave on/off intervals.
3D/FIX/BLKD=72/136/96 Four-satellite wait, fix wait, and blocked fix wait. Rounded down to a multiple of four seconds.
MD=200 Moved report distance in 1/1000 of a minute of longitude/latitude.
BAT=78 Phone battery charge, reported by +CBC command. Range: 0-100
SIG=19 Phone signal strength, reported by +CSQ command. Range: 0-31 ?
WDR=0 Watchdog reset count. Should remain zero. If the count is nonzero, the processor hung and was restarted by protective hardware. The most likely cause is either a software fault or electrical interference. This should not happen, but I need to know about it if it does. Watchdog reset cancels tracking and powersave modes. Range: 0-255 and will not roll over from 255 to 0. Cleared by reboot.
V=0.14 Open GPS Tracker Tracker firmware revision.
SETTRACK <up to eight parameters> Speed limit, in the same units used to report speed. If this speed is exceeded in tracking mode, the device sends a SPEEDING report. The first time the speed limit is exceeded, and each time the current fastest speed (above the limit) is exceeded, the device sends an immediate report. Otherwise, reports are sent at normal MOVING intervals, but with the tag SPEEDING. Current fastest speed is cleared by TRACKON. Range: 0-255, and 0 disables speed checking.
Stopped fix interval, in seconds. Sets how often the device takes GPS fixes in tracking mode, while stopped and in GPS coverage. Range: 0-65535
Stopped notify delay, in fix intervals. This determines for how many fixes in a row the device must be stopped, before sending a stopped report and switching to the stopped fix interval. Range: 0-255
Blocked fix interval, in seconds. Sets how often the device attempts to take GPS fixes in tracking mode, and with no GPS coverage. Setting this too short can drain the GPS battery. Range: 0-65535
Blocked notify delay. This determines for how many fixes the device must be blocked, before sending a blocked report and switching to the blocked fix interval. Range: 0-255
Moving fix interval, in seconds. Sets how often the device takes GPS fixes in tracking mode, while moving. Range: 0-65535
Moving notify frequency. Sets how often, in moving fix intervals, the device sends a MOVING report. Range: 0-255
Minimum displacement for MOVED report. Sets how far the device must be displaced to send a MOVED report. 1000 means one minute of longitude/latitude. Setting this too short will cause spurious MOVED reports. Range: 0-65535
Example: SETTRACK 70 120 2 600 2 120 5 200
SETPOWER <up to five parameters> Powersave phone off interval, in seconds. Sets how long to leave the phone off for, when in POWERSAVE mode. The device will not respond to commands during this interval. Range: 0-65535
Powersave phone on interval, in seconds. Sets how long to leave the phone on for, when in POWERSAVE mode. The phone must stay on long enough to receive pending commands from the network. If this interval is set too short, you can lose remote control of the tracker, requiring a manual reset. Each incoming command restarts the power-on interval. Range: 0-65535
Four-satellite wait time, in seconds. Determines how long the tracker will wait for a four-satellite (3D) fix, before accepting a less accurate three-satellite (2D) fix. This should be less than fix wait time. Range: 0-1023, granularity 4 seconds.
Fix wait time, in seconds. Determines how long the tracker will wait for a fix before giving up and reporting a timeout. Range: 0-1023, granularity 4 seconds, lowest useful value is 64 seconds.
Blocked fix wait time, in seconds. Determines how long the device will wait for a fix before giving up, while in blocked state. This can be set shorter than the fix time above to prevent battery drain when the tracker is blocked. Setting it too short causes the device to stay in blocked mode after it moves into coverage. Range: 0-1023, granularity 4 seconds.
Example: SETPOWER 3600 600 72 136 96
REBOOT
REINIT
Hardware reinit The status LED should blink code 34. When it stops blinking, remove the jumper. The LED
will now blink 33 and 31. The device is cleared and ready for a GPS SETADDRESS. The clearing
occurs when you remove the jumper. Status codes - first digit blinks green, second digit blinks red. Code Description 11 phone polled 12 send message failed 13 phone poll failed 14 no phone number defined 21 invalid password 31 power on or reset 32 watchdog reset 33 eeprom initialized from defaults 34 remove jumper to reinit | ||||||||||||||||||||||||||||||||||
![]() |
![]() |
|
||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
|
Projects-Lab.com | Circuits-Lab.com | Elektrotekno.com | Free Schematics Search Engine | Electronic Kits | Mobile Phones |
||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||