TR-206 is a tracker that could track the location of the elderly, children, pets,
and vehicles.
It can apply for fleet management, looking for lost children, elderly care, and
lost pets.
The key functions of TR-206 are listed as below.
z Two-way voice communication
z Friendly LCD display
z Report by TCP/ UDP/ SMS
z Configurable report format and content
z Configurable event triggered action
z SOS emergency function
z Geo-fence function
z Voice monitoring
z Motion detection
z 4 timers
z Alarm clock
z Phone book
z Buffer storage (Up to 1400 pieces of data)
z GPS Data logger function
This document describes the communication protocol between TR-206 tracker
and server, the built-in behavior modes of TR-206, and the function of each
parameter.
3
2 Protocol Summary
2.1 General Format
GSx,IMEI,[T,S,]Field1,Field2,……,FieldN*Checksum!
Format Description Note
GSx ”GSS” :Write setting
”GSs” :Report setting
”GSG” :Write Geo-fence parameter
”GSg” :Report Geo-fence parameter
”GSC” :Action command
”GSr” :Position and status report (format 0)
”GSh” :Position and status report (format 1)
”GSd” :Cell ID and status report (format 2)
IMEI(The IMEI number) GSM device ID
T ‘0’ : Middle of message
‘1’ : Start of message
‘2’ : End of message
‘3’ : Start and End of message, i.e., only one packet
for message
S ‘0’,’1’,’2’,’3’,…,’9’,’10’,’11’,…,’99’ Sequence number
FieldField 1 ~ Field N, separated by ‘,’, cont ain command
or/and configuration parameters
Command head
Message packet
control
Refer to “TR-206
configure parameters”
for details
** End of field
ChecksumThe checksum value is derived by the same
method of NMEA standard. It is calculated by
‘exclusive OR’ the 8 data bits of each character
before “*” in the sentence, but excluding “*”. The
hexadecimal value of the most significant and least
significant 4 bits of the result are converted to two
ASCII characters (0-9, A-F) for transmission. The
most significant character is transmitted first.
!! Message delimiter
4
2.2 Format of Configuration Message
2.2.1 Server -> Device
This message is used to configure TR-206 device. Each message contains
as many parameters as desired. If the message to be sent is too long, it is
separated to several packets in sequence. The maximum length of each
packet is 250 bytes.
The format is
GSS,IMEI,T,S,x1=y1,x2=y2,x3=y3,……………………*Check Sum!
Where T field is message packet sequence control flag.
S field is message packet sequence number.
x1,x2,x3… are code words for configuration parameters.
y1,y2,y3… are their respective settings.
For example:
GSS,123456789012345,1,0,A0=1,C0=0,C1=90,C2=20*51!
GSS,123456789012345,0,1,D1=internet,E0=123.234.168.1,E1=5000*04!
GSS,123456789012345,2,2,O3=SORPZAB27GHKLMN*U!*01!
2.2.2 Device -> Server
The message is generated by the TR-206 in accordance with a reading
configuration command. If the message is too long, it will be separated into
several packets in sequence.
The format is
GSs,IMEI,T,S,x1=y1,x2=y2,x3=y3,…………………….*Check Sum!
For example:
GSs,123456789012345,1,0,O5=test,O7=F-0TR-206STD-10021421.1.0.1.1*40!
GSs,123456789012345,2,1,OD=02,OS=120*5e!
5
2.3 Format of Geo-fence Message
2.3.1 Server -> Device
This message is used to configure geo-fence setting. Each message
contains as many parameters as desired. If the message to be sent is too
long, it is separated to several packets in sequence. The maximum length
of each packet is 250 bytes.
The format is
GSG,IMEI,T,S,1=(type,upper_left_Lon,upper_left_Lat,right_bottom_Lon,righ
t_bottom_Lat[,startTime,endTime,weekday]),2=(…),3=(…),…*Check sum!
Where T field is message packet sequence control flag.
S field is message packet sequence number.
1,2,3,… are geo-fence area ID.
Setting of each area is enclosed by (…). Please refer to 2.3.3 & 7.3 for detail.
2.3.2 Device -> Server
The message is generated by TR-206 in accordance with a reading
geo-fence setting command. If the message is too long, it will be separated
into several packets in sequence.
The format is
GSg,IMEI,T,S,1=(type,upper_left_Lon,upper_left_Lat,right_bottom_Lon,righ
t_bottom_Lat[,startTime,endTime,weekday]),2=(…),3=(…),…*Check sum!
2.3.3 Geo-fence area definition format
Each geo-fence area is a rectangle represented by the following
parameters.
(type,upper_left_Lon,upper_left_Lat,right_bottom_Lon,right_bottom_Lat[,s
tartTime,endTime,weekday])
6
type 1=get in area
2=get out of area
3=cross over the boundary
4=stay in area
5=stay out of area
upper_left_Lon
upper_left_Lat
right_bottom_Lon
right_bottom_Lat
startTime
endTime
weekday
The upper left coordinate of specified area.
The right-bottom coordinate of specified area.
Optional field for specifying the effective time frame
of this geo-fence area. Start Time and end Time are
in seconds. Weekday is in hex-digit format which
specifies applicable day in a week, where bit 0
represents Sunday, bit1 represents Monday, etc.
2.4 Format of Command Message
A command message is used to set the working mode or control the device
activity. A command codeword can combine with configuration setting for
best transmission efficiency.
The format is
GSC,IMEI,c1(option1),c2(option2),……….*checksum!
Where
c1,c2…are codewords of command.
option1, option2… are configuration parameters and setting. Please refer to
section 2.7 for detail.
For example:
GSC,123456789012345,Na,M2(P0=30)*44!
7
2.5 Format of Report Message
Report message is generated by the TR-206 to inform the application server
of its location and status. There are three types of GPRS report message
format, “format 0”, “format 1” and “format 2”.
Report format 0 (GSr,…) & format 1 (GSh,…) are configurable reports. They
are composed of report prefix and report parameters which are described
in section 2.6.
Report format 2 contains cell ID and status information. It is used as a
replacement of format 0 when GPS fix is not available. The format of report
format 2 is not configurable.
Please refer to “Chapter 12. Report” for detailed definitions.
For example:
TR-206 -> Server (format 0)
If configuration parameter O3=SORPZAB27GHKLMN*U!, then the report is
GSr,IMEI,Device_Mode,Report_Type,Alarm_Status,Geofence_status,GPS_F
ix,UTC_Date,UTC_Time,Longitude,Latitude,Altitude,Speed,Heading,Numbe
r_of_Satellites,HDOP,Battery_capacity*checksum!
TR-206 -> Server (format 1)
If configuration parameter ON=SPAN*U!, then the report is
GSh,IMEI,Alarm_Status,GPS_Fix,Battery_capacity*checksum!
B UTC Date, Time ddmmyy,hhmmss
C Local Date, Time ddmmyy,hhmmss
1 Longitude (E or W)ddd.dddddd
2 Longitude (E or W)dddmm.mmmm
3 Longitude (+ or -)ddddddddd
unit: 0.000001 degree
6 Latitude (N or S)dd.dddddd
7 Latitude (N or S)ddmm.mmmm
8 Latitude (+ or -)dddddddd
unit: 0.000001 degree
G Altitude xxxxx.x
Unit: meter
H Speed xxx.xx
unit: knots (1.852km/hr)
I Speed xxx
unit: km/hr
J Speed xxx
unit: mile/hr
K Heading xxx
unit: degree
L Number of satellite in usexx
M HDOP xx.x
N Battery capacity xx
unit: percent capacity
O Operation mode 2=Periodic
3=On-line
4=Motion
7=Standby
9
8=Off
P Alarm status xx(hex digits)
bit0=SOS alarm
bit4=Geo-fence alarm
bit5=Speed alarm
bit7=Battery low alarm
Z Geo-fence status Empty field: no geo-fence alarm
Ixxx: get in area xxx
Oxxx: get out area xxx
Q Report Media xx(hex digits)
bit0=SMS
bit1=TCP
bit2=UDP
bit5=USB
bit6=Acton[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
R Report type 1=Ping report
2=Periodic mode report
3=On-line mode report
4=Motion mode static report
5=Motion mode moving report
6=Motion mode static to moving report
7=Motion mode moving to static report
G=Geo-fence alarm report
I=SOS alarm report
J=Low battery alarm report
K=Speed alarm report
L=Timer 0 report
M=Timer 1 report
N=Timer 2 report
O=Timer 3 report
P=L4 report
a=Power on report (manual)
10
b=Power on report (battery)
c=Power on report (temperature)
d=Power on report (OTA complete)
e=Power on report (reboot)
f=OTA download fail
g= Power off report (manual)
h=Power off report (battery)
i= Power off report (temperature)
j=request EPO download
S IMEI
T Device ID
U Checksum The checksum value is derived by the
same method of NMEA standard. It is
calculated by ‘exclusive OR’ the 8 data
bits of each character before “*” in the
s IMSI
#
*
?
! ! Message delimiter
sentence, but excluding “*”. The
hexadecimal value of the most significant
and least significant 4 bits of the result
are converted to two ASCII characters
(0-9, A-F) for transmission. The most
significant character is transmitted first.
11
2.7 Codeword of Configuration Parameters
Most behaviors of TR-206 could be changed by Configuration Parameters. You
could change the setting of configuration parameters by the following methods.
1. Connect TR-206 to personal computer via USB cable and then set the
configuration parameters by “TR206 Config Tool_DEV”.
2. Send the “GSS,….!” setting with the configuration parameters to TR-206
3. Send the “GSC,….!” command with the configuration parameters to TR-206
All the settings or commands could be sent by SMS or TCP or UDP.
You could also send L1 command to read the present setting of TR-206.
Configure Parameters
Main
Device
SIM
Code
Parameters Type Description
words
O5 Device ID char(16)
O7 Firmware Version char(28) Read only
O6 Time Zone Offset
Power on operating
O4
mode
B2 IMEI code char(16) Read only
B0 PIN code char(7)
Phone number of
B1
SIM card
s32, in
seconds
u8
char(20)
-43200 ~ 46800
2=Periodic
3=On-line
4=Motion
7=Standby
Default=7
Vibrator
B3 IMSI number char(16) Read only
Enable/ disable
I2
TR-206 to vibrate
1/0
after pressing SOS
key
12
0=disable
1=enable
The power capacity
Battery
J0
J1
J6
J7
for sending out
battery low alarm
report
The power capacity
for power off TR-206
Battery low alarm
report Media
The power capacity
for clear battery low
alarm flag
u8,
15 ~ 100
percent
u8,
10 ~ 100
percent
bit0=SMS
bit1=TCP
bit2=UDP
bit5=USB
Media
bit6=Action[0]
type
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
u8,
10 ~ 100
percent
J8
Data logger
O2 Data logger interval
OH Data logger distance
Other setting
O1
O3 Report format 0 char(32) Default=SORPZAB27GHKLMN*U!
ON Report format 1 char(32) Default=SPAN*U!
Enable/disable
TR-206 to
automatically power
on when power
capacity is charged
to the capacity of J1
Motion sensor
sensitivity
1/0
u16, in
seconds
u32, in
meters
u16
0=disable
1=enable
1 ~ 65535
Default=60
0 ~ 4 Giga
0=disable
0 ~ 100
Default=5
OG
1/0 Default=1
buffer function
13
Enable/ disable data
O8
OO
OV
OW
Enable/ disable
TR-206 to report “cell
ID” if it does not get
GPS fix
Report media for
reading
configuration
Send power on/off
report
Report media of
power on/off report
1/0
Media
type
1/0
Media
type
Default=0.
The report format will
automatically switch from format
0 to format 2 when TR-206 does
not get GPS fix.
bit1=TCP
bit2=UDP
bit5=USB
0=disable
1=enable
Default =0
bit0=SMS
bit1=TCP
bit2=UDP
bit5=USB
bit6=Action[0]
bit7=Action[1]
GPS
GPS
OX
1/0
logger function
C0 GPS always on 1/0
The time for starting
to get GPS fix before
the next report time if
u16, in
Enable/disable data
C1
TR-206 does not get
seconds
GPS fix in last report,
or got GPS fix for 1
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
0=disable
1=enable
Default =0
0=disable
1=enable
Applicable to all modes except
Off mode
60 ~ 600
Note: TR-206 will send out the
report whether it gets GPS fix or
not when C1 time ends.
hour ago
C2 The time for starting
to get GPS fix before
the next report time if
u16, in
seconds
14
10 ~ 120
Note: TR-206 will send out the
report whether it gets GPS fix or
C3
C7
C8
C9
TR-206 got GPS fix
within 1 hour
GPS fix time before
sending out the first
report
Choose to use C8 or
C9+CA
Interval for starting
to get GPS fix
Interval for starting
to get GPS fix when
speed is lower than
10 KM/H
u16, in
seconds
1/0
u16, in
seconds
u16, in
seconds
not when C2 time ends.
0 ~ 600
If "C3"=0, disable first report
message.
0=use C8
1=use C9+CA
Applicable for standby, periodic
and on-line mode
0 ~ 65535
Applicable if C7=0
0 ~ 65535
Applicable if C7=1 and speed<10
Km/H
0 ~ 4 Giga
CA
D1 APN char(32)
D2 User Name char(32)
D3 Password char(32)
Communication
D4 DNS 1 char(32)
D5 DNS 2 char(32)
GPRS
D8
Interval for starting
to get GPS fix when
speed is higher than
10 KM/H
GPRS mode for L4
command
u32
Media
type
Applicable if C7=1 and
speed>=10 Km/H
You have to take the value to
divide the speed to get the
interval. For example, if you set
the value as 54000 and the speed
is 60 KM/H. The interval will be
54000/60=900 seconds
02=TCP
04=UDP
Shortly click SOS
0=disable
OR
key to make TR-206
1/0
1=enable
connect to server
Host IP or domain
E0
char(32)
name
E1 Host Port number 1 u16
15
SMS
F0
char(20)
number
F2 SMS format 1/0
SMS format 1 report
SMS return phone
Fa
char(96)
string for ping
SMS format 1 report
Fb
char(96)
string for SOS alarm
SMS format 1 report
Fc
string for main
char(96)
battery low
SMS format 1 report
Fd
string for geo-fence
char(96)
alarm
SMS format 1 report
Fe
string for periodic
char(96)
mode
0= Same as GPRS format
1= Text format
Ff
Fg
Fh
Fi
Fj
SMS format 1 report
string for online
mode
SMS format 1 report
string for static state
of motion mode
SMS format 1 report
string for moving
state of motion mode
SMS format 1 report
string for changing
from static to moving
state
SMS format 1 report
string for changing
from moving to static
state
char(96)
char(96)
char(96)
char(96)
char(96)
16
SMS format 1 report
Fk
Fl
Fm
Fn
Fo
Fp
Fq
string for high speed
alarm
SMS format 1 report
string for low speed
alarm
SMS format 1 report
string for timer 0
SMS format 1 report
string for timer 1
SMS format 1 report
string for timer 2
SMS format 1 report
string for timer 3
SMS format 1 report
string for power on
char(96)
char(96)
char(96)
char(96)
char(96)
char(96)
char(96)
Fr
char(96)
string for power off
Send confirmation to
0=disable
server after receiving
SMS format 1 report
A0
1/0
1=enable
command from
Confirmation message="ACK\r"
server
Wait confirmation
0=disable
from server after
A1
1/0
1=enable
sending message to
Confirmation message="ACK\r"
server
A2
Timeout of waiting
confirmation from
u8 0~255
server
A3
Device Ack with ID
1/0
string
0=disable
1=enable
ID string is IMEI or
0=Device ID
A4
1/0
1=IMEI
device ID
Available when A3=1
A5 Enable Simple 1/0 0=disable
17
Command 1=enable
Function
F4 Date format (LCD) u8 dd/mm/yy or mm:dd:yy
0=12 hour
F5 Time format (LCD) u8
1=24 hour
1=enable
F6 Daylight saving 1/0
0=disable
1=enable
F7 Auto key lock 1/0
0=disable
0=vibrator + beep
1=beep
F8 Vibrator/beep type u8
2=vibrator
3=off
0=minimum 1=medium
Volume level of ring
FB
u8
2=maximum 3=progressive
tone
Default=1
Security
SOS
Volume level of
0=minimum 1=medium
FC
u8
2=maximum 3=progressive
alarm clock
Default=1
FD
Volume level of
u8
phone call (headset)
0~6
Default=6
FE Melody of ring tone u8 Default=2
FF Po wer-on melody u8 Default=1
G0
G1
G2
G3
G4
G5
SMS Phone number 1
SMS Phone number 2
SMS Phone number 3
SMS Phone number 4
SMS Phone number 5
SMS Phone number 6
char(20)
char(20)
char(20)
char(20)
char(20)
char(20)
18
bit0=SMS
bit1=TCP
bit2=UDP
H0 Report media
H1
H2 report interval
H3
Voice monitor
V4
Number of SMS
report
Number of GPRS
report
Voice Monitor call in
phone number for
voice monitor
Media
bit5=USB
bit6=Action[0]
Type
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
u16 1 ~ 65535
u16, in
seconds
0 ~ 65535
Default=30
0 =continue sending SOS alarm
u8
report till receive stop command
char(20)
command
Allowed interval for
V5
call in TR-206 after
receiving voice
u16, in
0 ~ 65535
seconds
monitor command
Upper limit of speed
u8, in
0 ~ 255
OI
alarm
Lower limit of speed
Speed Limit
OJ
alarm
Hysteresis for speed
OP
alarm
Km/h
u8, in
Km/h
u8, in
Km/h
0=disable
0 ~ 255
0=disable
0 ~ 255
OL Report Media for
speed alarm
Media
type
bit0=SMS
bit1=TCP
bit2=UDP
19
bit5=USB
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
K0 Geo-fence enable 1/0
0=disable
1=enable
bit0=SMS
bit1=TCP
bit2=UDP
Geo-fence
K3
Geo-fence alarm
report Media
Media
type
bit5=USB
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Report media for
bit1=TCP
Media
K4
reading Geo-fence
bit2=UDP
type
data
bit5=USB
bit0=SMS
bit1=TCP
Ping
Tracking
Periodi
bit2=UDP
bit5=USB
OD
Report media for
ping
Media
bit6=Action[0]
type
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
GPS fix time between
receiving ping
u16, in
For N1 command. If OS=0, GPS
OS
command and
seconds
fix time=C3
sending out ping
report
u32, in
P0 Report interval
0 ~ 4 Giga
seconds
P2 Report Media Media bit0=SMS
20
type bit1=TCP
bit2=UDP
bit5=USB
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
On-line
P3
Traveled distance for
sending report
Q0 Report interval
Q2 Report Media
Traveled distance for
Q3
sending report
u32, in
meters
u32, in
seconds
Media
type
u32, in
meters
0 ~4 Giga
0=disable
0 ~ 4 Giga
bit0=SMS
bit1=TCP
bit2=UDP
bit5=USB
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
0 ~ 4 Giga
0=disable
Interval in on-line
E4
state for
disconnecting and
u16, in
0=disable
seconds
then re-connecting
Interval for checking
if GPRS connection
is on-line. If GPRS
u16, in
E5
connection is cut,
0=disable
seconds
TR-206 will try to
connect to server for
one time.
E6 Enable/disable
TR-206 to send “OK”
to server after GPRS
1/0 0=disable
1=enable
21
Available when E5 is not 0
connection is
re-built.
Motion
R0
Report interval in
static state
Report interval in
R1
motion state
R2 Report Media
Traveled distance for
R3
sending report
Automatic change
R7
from motion mode to
on-line mode
u32, in
seconds
u32, in
seconds
Media
type
u32, in
meters
1/0
0 ~ 4 Giga
0 ~ 4 Giga
bit0=SMS
bit1=TCP
bit2=UDP
bit5=USB
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
0 ~ 4 Giga
0=disable
0=disable
1=enable
Minimum distance to
R9
be judged as moving
state
Keep GPRS on-line
RB
in static state
Keep GPRS on-line
RC
in moving state
Interval in on-line
state for
E4
disconnecting and
then re-connecting
E5 Interval for checking
if GPRS connection
u16, in
meters
1/0
1/0
u16, in
seconds
u16, in
seconds
0 ~ 65535
0=disable
1=enable
0=disable
1=enable
0=disable
0=disable
is on-line. If GPRS
connection is cut,
TR-206 will try to
22
connect to server for
one time.
Enable/disable
E6
RD
RE
RF
RG
TR-206 to send “OK”
to server after GPRS
connection is
re-built.
Interval for switching
from validation to
static state
if no motion detected
Traveled distance to
be judged as keep in
moving state
Interval for switching
from moving to static
state
if no motion detected
Check GPS off time
setting (C7, C8, C9,
CA
1/0
u16, in
seconds
u16,
Unit:
meter
u16, in
seconds
1/0
0=disable
1=enable
Available when E5 is not 0
0=Interval is the same with R1
0=Interval is the same with R1
0=disable
1=enable
RH
GPS always on in
1/0
moving state
0=disable
1=enable
Report Media for
Media
RI
changing from static
type
to moving
Report Media for
Media
RJ
changing from
type
moving to static
u32, in
W0 Start time
0 ~ 86399
seconds
u32, in
Timer
Timer 0
W1 End time
seconds
1 ~ 86400
u16, in
W2 Report interval
0 ~ 65535
seconds
W3 Weekday mask u8, xx(hex
digits)
23
00 ~ 7f
Weekday is in hex-digit format
which specifies applicable day in
a week, where bit 0 represents
Sunday, bit1 represents Monday,
etc.
bit0=SMS
bit1=TCP
bit2=UDP
Media
bit5=USB
W4 Report Media
bit6=Action[0]
type
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
u32, in
X0 Start time
0 ~ 86399
seconds
u32, in
X1 End time
1 ~86400
seconds
u16, in
X2 Report interval
0 ~ 65535
seconds
00 ~ 7f
Weekday is in hex-digit format
Timer 1
X3 Weekday mask
X4 Report Media
u8, xx(hex
digits)
Media
type
which specifies applicable day in
a week, where bit 0 represents
Sunday, bit1 represents Monday,
etc.
bit0=SMS
bit1=TCP
bit2=UDP
bit5=USB
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
24
Loading...
+ 57 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.