TR-203 is a tracker that can 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.
This document describes the communication protocol between TR-203 tracker
and server, the built-in behavior modes of TR-203, and the function of each
parameter.
It can help system integration developer to develop back-end system in the
shortest time.
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)
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
FieldField1 ~ FieldN Refer to “TR-203
Command head
Message packet
control
configure
parameters” for
detail definition
** 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.
2=get out of area
3=cross over the boundary
4=stay in area
5=stay out of area
upper_left_Lon,upper_left_L
at,right_bottom_Lon,right_b
ottom_Lat
gxxx Optional field for describing this
startTime,endTime,weekdayOptional field which specify the
Coordinate of specified area
area belong to area group xxx.
effective time frame of this
geo-fence area. startTime and
endTime 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 Command Format
GSC,IMEI,c1(option1),c2(option2),……….*checksum!
c1,c2…are code words of commands.
option1, option2… are their respective parameters. Please refer to 2.7.
6
2.5 Report Messages Format
There are two types of report message format, “format 0” and “format 1”.
(Refer to “11. Report” for detail definition)
Example:
TR-203 -> Server (format 0)
GSr,IMEI,Device_Mode,Report_Type,Alarm_Status,Geofence_st
atus,GPS_Fix,UTC_Date,UTC_Time,Longitude,Latitude,Altitude
,Speed,Heading,Number_of_Satellites,HDOP,Battery_capacity*
checksum!
TR-203 -> Server (format 1)
GSh, IMEI,Alarm_Status,GPS_Fix,Battery_capacity*checksum!
7
2.6 Parameters of Report Messages
Parameters of Report Message
Codeword Parameters Description
A GPS fixing mode 1=not fix
2=2D fix
3=3D fix
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 1=Sleeping
2=Periodic
3=On-line
4=Motion
8
6=Parking
7=Standby
8=Off
P Alarm status xx(hex digits)
bit0=SOS alarm
bit1=Parking alarm
bit2=Sleeping 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
IGxxx: get in group xxx
OGxxx: get out group xxx
Q Report Media xx(hex digits)
bit0=SMS
bit1=TCP
bit2=UDP
bit6=Acton[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
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
C=Parking mode report
D=Parking mode alarm report
E=Sleeping mode report
9
F=Sleeping mode alarm report
G=Geo-fence alarm report
H=Autonomous 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
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
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.
p Temperature degree Celsius
#
*
?
! ! Message delimiter
10
2.7 Configuration Parameters
Most behaviors of TR-203 could be changed by Configuration Parameters. You
could change the setting of configuration parameters by the following methods.
1. Connect TR-203 to personal computer via USB cable and then set the
configuration parameters by “TR203 Config Tool.”
2. Send the “GSS,….!” setting with the configuration parameters to TR-203
3. Send the “GSC,….!” command with the configuration parameters to TR-203
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-203.
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
B0 PIN code char(4)
Phone number of SIM
B1
card
s32, in
-43200 ~ 46800
seconds
1=Sleeping
2=Periodic
3=On-line
u8
4=Motion
6=Parking
7=Standby
char(20)
Vibrator
B2 IMEI number char(16) Read only
I2
Enable/ disable TR-203
to vibrate after
pressing SOS key
1/0
11
0=disable
1=enable
J0
The power capacity for
sending out battery
low alarm report
u8,
15 ~ 100
percent
Battery
J1
J6
J7
J8
The power capacity for
power off TR-203
Battery low alarm
report Media
The power capacity for
clear battery low alarm
flag
Enable/disable TR-203
to automatically power
on when power
capacity is charged to
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
u8,
10 ~ 100
percent
0=disable
1/0
1=enable
Data logger
O2 Data logger interval
OH Data logger distance
O1
Other setting
O3 Report format 0 char(32) Default=SORPZAB27GHKLMN*U!
ON Report format 1 char(32) Default=SARN*U!
OG
O8 Enable/ disable TR-203 1/0 Default=0.
the capacity of J1
Motion sensor
sensitivity
Enable/ disable data
buffer function
u16, in
seconds
u32, in
meters
0 ~ 65535
0=disable
0 ~ 4Giga
0=disable
u16 0 ~ 100
1/0 Default=1
12
to report “cell ID” if it
The report format will
does not get GPS fix
automatically switch from format
0 to format 2 when TR-203 does
not get GPS fix.
bit1=TCP
bit2=UDP
bit6=Action[0]
OO
Report media for
Media type
reading configuration
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
0=disable
1=enable
C0 GPS always on 1/0
Applicable to all modes except
Sleeping and Off mode
The time for starting to
GPS
GPS
C1
C2
C3
C7
get GPS fix before the
next report time if
TR-203 does not get
GPS fix in last report,
or got GPS fix for 1
hour ago
The time for starting to
get GPS fix before the
next report time if
TR-203 got GPS fix
within 1 hour
GPS fix time before
sending out the first
report
Choose to use C8 or
C9+CA
u16, in
seconds
u16, in
seconds
u16, in
seconds
1/0
60 ~ 600
Note: TR-203 will send out the
report whether it gets GPS fix or
not when C1 time ends.
10 ~ 120
Note: TR-203 will send out the
report whether it gets GPS fix or
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
Interval for starting to
u16, in
0 ~ 65535
C8
get GPS fix
seconds
13
Applicable if C7=0
C9
Interval for starting to
get GPS fix when
speed is lower than 10
KM/H
u16, in
0 ~ 65535
Applicable if C7=1 and speed<10
seconds
Km/H
0 ~ 4Giga
Applicable if C7=1 and
CA
D1 APN char(32)
D2 User Name char(32)
D3 Password char(32)
D4 DNS 1 char(32)
D5 DNS 2 char(32)
D8
Communication
GPRS
OR
Interval for starting to
get GPS fix when
speed is higher than
10 KM/H
GPRS mode for L4
command
Shortly click SOS key
to make TR-203
connect to server
u32
Media type
1/0
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
0=disable
1=enable
SMS
E0
char(32)
name 1
E1 Host Port number 1 u16
Host IP or domain
Host IP or domain
E2
char(32)
name 2
E3 Host Port number 2 u16
E9 GSM operating band u8
SMS return phone
F0
char(20)
number
14
0=auto, 1=900/1800, 2=850/1900,
3=1800, 4=1900
A0
Send confirmation to
server after receiving
command from server
0=disable
1=enable
1/0
Confirmation
message="ACK\r\n"
A1
Wait confirmation from
server after sending
message to server
1/0
0=disable
1=enable
Confirmation message="ACK\r"
Timeout of waiting
A2
A3
confirmation from
server
Device Ack with ID
string
u8 0~255
0=disable
1/0
1=enable
0=Device id
ID string is IMEI or
A4
1/0
1=IMEI
device ID
Available when A3=1
A5
OM
Enable Simple
1/0
Command
Enable voice call to
1/0
connect to server
0=disable
1=enable
0=disable
1=enable
Security
SOS
G0 SMS Phone number 1 char(20)
G1 SMS Phone number 2 char(20)
G2 SMS Phone number 3 char(20)
G3 SMS Phone number 4 char(20)
G4 SMS Phone number 5 char(20)
G5 SMS Phone number 6 char(20)
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
H1 Report number u16 0 ~ 65535
15
SMSÆ 0 or 1=1 SOS alarm
report;2~65535=2~65535 SOS
alarm report
GPRSÆ 0 =1 SOS alarm report
;1~65535= continue send SOS
alarm report till receive stop
command
H2 report interval
V0
V1
Voice Monitor
V4
V5
Call out SOS phone
number 1 when SOS
alarm
Allowed interval for
call in TR-203 after
SOS alarm happens
Voice Monitor call
in/out phone number
for voice monitor
command
Allowed interval for
call in TR-203 after
receiving voice
u16, in
seconds
1/0
u16, in
seconds
char(20)
u16, in
seconds
0 ~ 65535
0=disable
1=enable
0 ~ 65535
Available when V0=0
G0~G5 are also call in phone
number for voice monitor
command
0 ~ 65535
Available when V6=0
Alert
Parking
monitor command
Call in or call out for
0=Call in
V6
voice monitor
1/0
1=Call out
command
T0
Report interval in alert
state
Report interval in
T1
alarm state
u32, in
0 ~ 4Giga
seconds
u32, in
0 ~ 4Giga
seconds
T2 Report Media Media typebit0=SMS
bit1=TCP
bit2=UDP
bit6=Action[0]
16
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
Sleeping
Traveled distance for
u32, in
T3
sending report
Report interval in alert
meters
u32, in
U0
state
Report interval in
seconds
u32, in
U1
alarm state
seconds
U2 Report Media Media type
0 ~ 4Giga
0=disable
0 ~ 4Giga
0 ~ 4Giga
bit0=SMS
bit1=TCP
bit2=UDP
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
Upper limit of speed
u8, in
0 ~ 255
OI
alarm
Lower limit of speed
Km/h
u8, in
0=disable
0 ~ 255
OJ
alarm
Hysteresis for speed
OP
Speed Limit
alarm
Km/h
u8, in
Km/h
0=disable
0 ~ 255
bit0=SMS
bit1=TCP
bit2=UDP
bit6=Action[0]
OL
Report Media for
Media type
speed alarm
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
17
K0 Geo-fence enable 1/0
0=disable
1=enable
bit0=SMS
bit1=TCP
bit2=UDP
Geo-fence
K3
Geo-fence alarm report
Media type
Media
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
0~65535
For N1 & L4 command. If OS=0,
GPS fix time=C3
0 ~ 4Giga
P2 Report Media Media typebit0=SMS
bit1=TCP
18
bit2=UDP
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
On-line
Traveled distance for
u32, in
P3
sending report
meters
u32, in
Q0 Report interval
seconds
Q2 Report Media Media type
Traveled distance for
u32, in
Q3
sending report
meters
0 ~4Giga
0=disable
0 ~ 4Giga
bit0=SMS
bit1=TCP
bit2=UDP
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
0 ~ 4Giga
0=disable
Interval in on-line state
u16, in
E4
for disconnecting and
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-203 will try to
connect to server for
one time.
Enable/disable TR-203
0=disable
to send “OK” to server
E6
1/0
1=enable
after GPRS connection
Available when E5 is not 0
is re-built.
19
Report interval in
u32, in
R0
static state
Report interval in
seconds
u32, in
R1
motion state
seconds
R2 Report Media Media type
Traveled distance for
u32, in
R3
sending report
meters
0 ~ 4Giga
0 ~ 4Giga
bit0=SMS
bit1=TCP
bit2=UDP
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
0 ~ 4Giga
0=disable
Motion
R7
R9
RA
RB
RC
E4
Automatic change
from motion mode to
on-line mode
Minimum distance to
be judged as moving
state
Turn off GSM module
in static state
Keep GPRS on-line in
static state
Keep GPRS on-line in
moving state
Interval in on-line state
for disconnecting and
then re-connecting
1/0
u16, in
meters
1/0
1/0
1/0
u16, in
seconds
0=disable
1=enable
0 ~ 65535
0=turn on GSM module
1=turn off GSM module
Available when RA=0
0=disable
1=enable
0=disable
1=enable
0=disable
E5 Interval for checking if
GPRS connection is
u16, in
seconds
0=disable
on-line. If GPRS
connection is cut,
20
TR-203 will try to
connect to server for
one time.
E6
RD
RE
RF
RG
Enable/disable TR-203
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
u32, in
W0 Start time
0 ~ 86400
seconds
u32, in
W1 End time
0 ~ 86400
seconds
u16, in
W2 Report interval
1 ~ 65535
seconds
Timer
Timer 0
00 ~ 7f
Weekday is in hex-digit format
u8, xx(hex
which specifies applicable day in
W3 Weekday mask
digits)
a week, where bit 0 represents
Sunday, bit1 represents Monday,
etc.
W4 Report Media Media typebit0=SMS
bit1=TCP
21
bit2=UDP
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
Timer 1
X0 Start time
u32, in
seconds
u32, in
X1 End time
seconds
u16, in
X2 Report interval
seconds
u8, xx(hex
X3 Weekday mask
digits)
X4 Report Media Media type
0 ~ 86400
0 ~86400
1 ~ 65535
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
bit6=Action[0]
bit7=Action[1]
Timer 2
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
u32, in
Y0 Start time
0 ~ 86400
seconds
u32, in
Y1 End time
0 ~ 86400
seconds
u16, in
Y2 Report interval
1 ~ 65535
seconds
Y3 Weekday mask u8, xx(hex 00 ~ 7f
22
digits) 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
bit6=Action[0]
Timer 3
Y4 Report Media Media type
u32, in
Z0 Start time
seconds
u32, in
Z1 End time
seconds
u16, in
Z2 Report interval
seconds
u8, xx(hex
Z3 Weekday mask
digits)
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
0 ~ 86400
0 ~ 86400
1 ~ 65535
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
bit6=Action[0]
bit7=Action[1]
Z4 Report Media Media type
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
23
2.8 Command’s Codeword
Command’s Codeword
Codeword Parameters Description
M7 Set Standby Mode
M2 Set Periodic Mode
M3 Set On-Line mode
M4 Set Motion mode
M6 Set Parking mode
M1 Set Sleeping mode
M8 Set Off mode
N0 Set Timer
N1 Ping device
N4 Enable Voice Monitor
N6 Enable Geo-fence
N7 Disable Geo-fence
N8 Enable Data logger
N9 Disable Data logger
Na Dismiss SOS alarm
Nb Dismiss parking alarm
Nc Dismiss sleeping alarm
Ne Dismiss Geo-fence alarm
Nh Dismiss low battery alarm
Ni Dismiss All alarm
L1 Read Configuration
L3 Read Geo-fence
Make TR-203 connect to
L4
Server
Adding up to 1-5 parameters.
If parameter=(ALL), then all user
configuration data will be reported.
L5 Disconnect from Server
LA Restore default configuration
24
Restore all parameters to factory
value
LC Clear data logger
LH Re-Set device
(W)for writing current configuration
to default setting.
(phone_number,"00SMS
message")
LJ Send SMS message
SMS message are enclosed by
quotation marks. (“00” should be
added prior to the SMS message)
25
2.9 Report Media
Report media is the method that TR-203 sends report. No matter you send the
command by SMS or TCP or UDP, TR-203 will send the report via the report media.
bit0=SMS
bit1=TCP
bit2=UDP
bit5=USB
Report Media Media type
Action Media Type
bit 7 6 5=USB4 3 2=UDP 1=TCP 0=SMS
Ex 1
TCP
Ex 2
UDP
Ex 3
GPS
on
0 0 0 0 0 0 1 0
0 1 0 0 0 1 0 0
1 0 0 0 0 0 0 0
bit6=Action[0]
bit7=Action[1]
Action=00: report format 0
Action=01: report format 1
Action=10: GPS on
Action=11:
Example 1: Ask TR-203 to send on-line report with report interval of 5 minutes
(Q0=300) and report format 0 to TCP server (Q2=02).
GSC,011412000010789,M3(Q0=300,Q2=02)*07!
Example 2: Ask TR-203 to enter motion mode with static report interval of 7
minutes (R0=420) and moving report interval of 40 seconds (R1=40), report format
1 to UDP server (R2=44).
GSC,011412000010789,M4(R0=420,R1=40,R2=44)*71!
Example 3: Set Timer 1 to turn on GPS without sending report (X4=80), Start time:
26
09:00 AM (X0=32400), End time: 06:00 PM (X1=64800), Report interval: 1 hour
(X2=3600), Report day: from Monday ~Friday (X3=3E)
GSS,011412000012789,3,0,X0=32400,X1=64800,X2=3600,X3=3E,X4=80*53!
27
2.10 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
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.
Example1: set the device whose IMEI is 011412000011274, the APN is internet, the user
name and password are not necessary, the server type is TCP, the server IP is
220.128.207.75, the server port number 3000.
The setup command is
GSS,011412000011274,3,1,D1=internet,D2=,D3=,D8=02,E0=220.128.207.75,E1=3000
*5E!
The checksum is 5E.
Example2: Set TR-203 periodic report and ask it to report based on traveled distance
(P3) of 500 meters
The setup command is
GSC,011412000010789,M2(P3=500)*72!
The checksum is 72.
Example3:
(T0), report interval of 30 for alarm state (T1), report’s traveled distance of 700 meters
(T3) and report media (T2) TCP
GSC,011412000010789,M6(T0=3600,T1=30,T2=02,T3=700)*02!
The checksum is 02.
Set TR-203 parking mode with report interval of 3600 seconds for alert state
28
3 Configuration
You could read or set TR-203 configuration parameters by USB, SMS, TCP,
UDP communication protocol.
In order to activate the communication between server and device, the GPRS parameter
is necessary to set at the beginning. The GPRS parameters are included as the table
below . Please contact with your telecom operator for the APN, user name, and password.
Please contact your ISP provider for DNS1 and DNS2.
You could also set the tracker to use specific GSM frequency band by the parameter E9.
If you set E9 to be 0, tracker will search the frequency itself.
Codeword Parameters Value Description
D1 APN char(32)
D2 User Name char(32)
D3 Password char(32)
D4 DNS 1 char(32)
D5 DNS 2 char(32)
D8
E0
E1 Host Port number 1 u16
E9 GSM frequency bandu8
Note:
1. If user name and password are not necessary for your telecom operator,
please keep D2 and D3 blank.
2. If the value of E0 is IP, you do not have to set D4 and D5. Please skip the
GPRS mode for L4
command
Host IP 1 or domain
name
Server
type
char(32)
02=TCP
04=UDP
0=auto, 1=900/1800,
2=850/1900, 3=1800,
4=1900
The setup format of GPRS setting is “GSS,IMEI,T,S,D1=y1,D2=y2,D3=y3,D4=y4, D5=y5,
D8=y6,E0=y7,E1=y8,*Checksum!”
fields.
32
For example, set the device whose IMEI is 011412000010789, the APN is internet, the
user name and password are not necessary, the server type is TCP, the server IP is
220.128.207.75, the server port number 5000.
The setup command is
Acknowledgement is the acknowledge receipt used to confirm if server or
device receive the command or report from each other.
The following parameters must be set for configuration or sending those
parameters by other action command for enable/disable acknowledgement.
Code
word
A0
A1
A2
Parameters ValueDescription
Send confirmation to server
after receiving command
from server
Wait confirmation from
server after sending
message to server
Timeout of waiting
confirmation from server
Confirmation
message="ACK\r\n"
when A3=0
When A3=1, A4=1,
confirmation
1/0
1/0
u8 0~255
message=”IMEI,
ACK\r\n"
When A3=1,A4=0,
confirmation
message=”Device ID,
ACK\r\n"
Confirmation
message="ACK\r"
A3 Device Ack with ID string 1/0
A4 ID string is IMEI or device ID1/0
For example, set A0=1, A1=1, A3=1, A4=1, server sends command to TR-203
33
1=IMEI, 0=Device ID
Available when A3=1
whose IMEI is 011412000010789.
After receiving the command, TR-203 will send acknowledgement receipt as
“011412000010789,ACK\r\n”
For example, set A0=1, A1=1, A3=1, A4=0, TR-203 whose device ID is Globalsat,
sends report to server.
After receiving the command, TR-203 will send acknowledgement receipt as
“Globalsat,ACK\r\n”
For example
After receiving the command, TR-203 will send acknowledgement receipt as
“ACK\r\n”
, set A0=1, A1=1, A3=0, server sends command to TR-203
4.2.1 Receive Acknowledgement from Server
Receive ACK from server during “A2” time:
Server
Send commands via SMS or UDP or TCP
Report via SMS or UDP or TCP
Send “ACK” via SMS or UDP or TCP
Device
“A2” time
34
Not receive ACK from server during “A2” time:
Server Device
Send commands via SMS or UDP or TCP
Report via SMS or UDP or TCP
Report via SMS or UDP or TCP
4.2.2 Respond Acknowledgement to Server
Receive report commands from server:
“A2” time
Server Device
Send report commands via SMS or UDP or TCP
Respond ACK via SMS or UDP or TCP
Send report via SMS or UDP or TCP
35
Receive other commands from server:
Server Device
Send other commands via SMS or UDP or TCP
Respond ACK via SMS or UDP or TCP
36
5 GPS
In the general tracking modes, TR-203 will turn on GPS.
There are some conditions that you have to extra make GPS on.
1. Report based on traveled distance in the periodic mode, on-line mode, parking
mode, motion mode
2. Speed limit
3. Geo-fence mode
4. Data Logger
There are two ways for turning on GPS, one is to keep GPS always on by parameter
C0, and the other is to use timer. Keep GPS always on will make the power run up
within 10 hours.
The recommended method of making GPS on is to use timer.
While using timer, you could set the report media (X4 or Y4 or Z4) as 80, then
TR-203 will turn on the GPS according to the report interval (X2 or Y2 or Z2)
Note:
Using timer to turn on GPS, TR-203 does not turn on GPS all the time
during the period from Start Time (X0 or Y0 or Z0) to End Time (X1 or Y1
or Z1). GPS is turn on according to the report interval (X2 or Y2 or Z2)
during the period from Start Time to End Time.
For the details of setting timer, please refer to chapter “10 Timer.”
0=disable
C0 GPS always on 1/0
The time for starting to
1=enable
Applicable to all modes except
Sleeping and Off mode
C1
get GPS fix before the
next report time if TR-203
does not get GPS fix in
last report, or got GPS fix
for 1 hour ago
u16, in
seconds
37
60 ~ 600
Note: TR-203 will send out the report
whether it gets GPS fix or not when
C1 time ends.
The time for starting to
10 ~ 120
C2
C3
C7
C8
C9
get GPS fix before the
next report time if TR-203
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
u16, in
seconds
1/0
u16, in
seconds
u16, in
seconds
Note: TR-203 will send out the report
whether it gets GPS fix or 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 ~ 4Giga
Applicable if C7=1 and speed>=10
Km/H
Interval for starting to get
You have to take the value to divide
CA
GPS fix when speed is
u32
the speed to get the interval. For
higher than 10 KM/H
example, if you set the value as 54000
and the speed is 60 KM/H. The
interval will be 5400/60=900 seconds
RH
GPS always on in moving
1/0
state
0=disable
1=enable
C7, C8, C9, and CA is for speeding up the time of getting GPS fix if you set a long
report interval in stand-by, periodic and on-line mode. Between the long report
interval, C7, C8, C9, and CA will make TR-203 get GPS fix. Then TR-203 can speed
up the time of getting GPS fix at the next report.
C1 example, the next report time is 10:00 AM and TR-203 does not get GPS fix in
last report, C1 is 180 seconds. TR-203 will start to get GPS fix at 9:57 AM and send
out report at 10:00
38
C2 example, the next report time is 10:00 AM and TR-203 got GPS fix within 1 hour,
C2 is 20 seconds. TR-203 will start to get GPS fix at 9:59:40 AM and send out report
at 10:00
C3 example, C3=120 seconds, TR-203 is in the motion mode. When TR-203 is
moved, it will try to get GPS fix for 120 seconds before sending motion moving
report.
39
6 Tracking
6.1 Ping
Ping is for getting the present location of TR-203 immediately. TR-203 will
report its present location and concerning information when getting the
ping command.
You can ping TR-203 by L4 command or by N1 command.
The parameters of ping:
Code
word
D8 Report Media for L4
OD
OS
C3 u16, in seconds
Parameters Value Description
Report media for
ping (N1)
GPS fix time between
receiving ping
command and
sending out ping
report
02=TCP
04=UDP
Please refer to 2.9
u16, in
seconds
0 ~ 600
If "C3"=0,
disable first
report
The connecting method
for TR-203 to connect to
server after receiving
“L4” command.
Report media
If OS=0, GPS fix
time=C3
GPS fix time before
sending out the first
report
message.
Commands format:
GSC,IMEI,N1*Checksum!
40
Command Codeword Parameters
N1 Ping device
L4 Connect to server
Example 1:
Ping TR-203 location and ask it to report via SMS (Send
command via SMS or TCP or UDP)
GSC,135785412249986,N1(OD=01)*2C!
41
6.2 Periodic Mode
Periodic mode is for setting an interval for TR-203 to regularly report its
location according to the interval. When it reaches the report time, TR-203
will turn on GPS and GPRS connection and report the location and
concerning information to server. Af ter sending the information, TR-203 will
disconnect from server.
Note of Traveled Distance:
You can also set a traveled distance, and then TR-203 will report by the
combination of report interval and traveled distance.
For example, the report interval is 60 seconds, the traveled distance is
800 meters, TR-203 sends 1 report at 10:00:00, and then it detects the
traveled distance is over 800 meters at 10:00:50, it will send out one
report and re-start to count the report interval and the traveled distance.
The next report will be sent out at 10:01:50 or when the traveled
distance is over 800 meters.
The parameters of periodic mode:
Code
word
P0 Report interval 1~4Giga seconds
P2 Report Media
P3
Parameter Value Description
Please refer to 2.9
Report media
0=disable
1~4Giga
Unit: meter
Traveled distance
for sending report
If you want TR-203
to send reports
according to
traveled distance,
you have to extra
make GPS on.
Please refer to
“Chapter 4 GPS.”
Commands format:
GSC,IMEI,M2*Checksum!
42
Command Codeword Parameter
M2 Set periodic mode
Example 1:
Set TR-203 periodic report and ask it to report based on
traveled distance (P3) of 500 meters (Send command via SMS or
TCP or UDP), turn on GPS by timer 1: Start time:12:00 AM
(X0=0), End time:12:00 AM (X1=86400), Report interval:30
seconds (X2=30), Report time: From Monday to Sunday (X3=7F),
GPS on (X4=80)
GSC,011412000010789,M2(P3=500,X0=0,X1=86400,X2=30,X3=7F
,X4=80)*7F!
Note: You have to turn GPS on. Please refer to chapter 5 GPS.
Example 2:
Set TR-203 periodic report and ask it to report based on report
interval (P0) 0f 30 seconds
GSC,135785412249986,M2(P0=30)*45!
43
6.3 On-Line Mode
In On-Line mode, TR-203 will keep GPRS connection. If TR-203 detects the
GPRS connection is cut, it will try to connect to server for one time. If it
cannot connect to server, it will re-connect to server when the next report
time.
Some telecom operator will kick off the continual GPRS connection. So you
could make GPRS connection cut and then make the GPRS connection
again according to a regular interval by parameter E4. If E4=0, TR-203 will
not cut GPRS connection and then connect again. It will keep GPRS
connection. You could also make TR-203 to check if GPRS connection is
on-line according to a regular interval by parameter E5. If GPRS connection
is cut, TR-203 will try to connect to server for one time.
Note of Traveled Distance:
You can also set a traveled distance, and then TR-203 will report by the
combination of report interval and traveled distance.
For example, the report interval is 60 seconds, the traveled distance is
800 meters, TR-203 sends 1 report at 10:00:00, and then it detects the
traveled distance is over 800 meters at 10:00:50, it will send out one
report and re-start to count the report interval and the traveled distance.
The next report will be sent out at 10:01:50 or when the traveled
distance is over 800 meters.
You can also set a traveled distance, and then TR-203 will report by the
combination of report interval and traveled distance.
You could define the content of report and the report interval of on-line
mode.
The parameters of On-Line mode:
44
Code
word
Q0 Report interval 1~4Giga seconds
Parameters Value Description
Please refer to
Q2 Report Media
Traveled distance for
Q3
sending out report
Interval in on-line
state for
E4
disconnecting and
then re-connecting
0=disable
1~4Giga
Unit: meter
u16, in seconds
2.9 Report
media
If you want
TR-203 to send
reports
according to
traveled
distance, you
have to extra
make GPS on.
Please refer to
“Chapter 4
GPS.”
E5
E6
Interval for checking
if GPRS connection
is on-line. If GPRS
connection is cut,
TR-203 will try to
connect to server for
one time.
Enable/disable
TR-203 to send “OK”
to server after GPRS
connection is
re-built.
Commands format:
u16, in seconds 0=disable
0=disable
1=enable
1/0
Available when
E5 is not 0
GSC,IMEI,M3*Checksum!
45
Command Codeword Parameters
M3 On-line mode
Example 1:
Ask TR-203 on-line report (Send command via SMS or TCP or
UDP)
GSC,130158974523157,M3*1A!
Example 2
:
Ask TR-203 set on-line report with interval of 60 seconds and
report by UDP
GSC,011412000010789,M3(Q0=60,Q2=04)*34!
46
6.4 Motion Mode
Motion mode is an economic report mode. Under motion mode, TR-203 will
report its location with high frequency when TR-203 detects motion
(moving state). When TR-203 is static, it will report its location with low
frequency (static state). It can save the report-transmission fee. Between
the moving state and static state, there is a validation state for TR-203 not
to jump to static state as soon as it does not detect motion. You could set
TR-203 keep in moving state by setting a traveled distance (RE) within a
defined interval (RF).
There are 2 report frequency of motion mode, one is when TR-203 detects
motion, and the other is when TR-203 is static. The behavior is as following:
o
n
p
q
s
Time
r
R1 (Moving interval)
R0 (Static interval)
(Static Report)
(Moving Report)
nReceive command and then enter motion static mode.
oWhen TR-203 detects motion, it will enter motion moving mode and
send “static to moving” report.
pMotion Moving Report.
qWhen TR-203 is static, it will send “moving to static” report and then
return to the motion static mode.
rRe-start timer for motion static interval.
sMotion Static Report.
Note of Traveled Distance:
You can also set a traveled distance, and then TR-203 will report by the
combination of report interval and traveled distance.
For example, the report interval is 60 seconds, the traveled distance is 800
meters, TR-203 sends 1 report at 10:00:00, and then it detects the traveled
distance is over 800 meters at 10:00:50, it will send out one report and
re-start to count the report interval and the traveled distance. The next report
will be sent out at 10:01:50 or when the traveled distance is over 800 meters.
47
(Static to Moving Report)
(Moving to Static Report)
You could define the content of report and the report interval of motion
mode.
If you want to save the battery power, you could turn off GSM module in
static state by making parameter RA=1.
In motion mode, TR-203 will make GPRS connection while sending static or
moving report. After sending report, it will cut the GPRS connection. If you
want to keep GPRS on-line, you could set RB=1 to keep GPRS on-line in
static interval and set RC=1 to keep GPRS on-line in moving interval. Some
telecom operator will kick off the continual GPRS connection. So you could
make GPRS connection cut and then make the GPRS connection again
according to a regular interval by parameter E4. You could also make
TR-203 to check if GPRS connection is on-line according to a regular
interval by parameter E5. If GPRS connection is cut, TR-203 will try to
connect to server for one time.
In order to avoid TR-203 jump to static state as soon as it does not detect
motion, you could set TR-203 keep in moving state by setting a traveled
distance (RE) within a defined interval (RF).
The parameters of motion mode:
Code
Parameters Value Description
word
Report interval in static
1~4Giga seconds
R0
state
Report interval in moving
1~4Giga seconds
R1
state
Please refer to
R2 Report Media
0=disable
1~4Giga
Unit: meter
2.9 Report
media
If you want
TR-203 to
send reports
Traveled distance for
according to
R3
sending report
traveled
distance, you
have to extra
make GPS on.
48
Automatic change from
Please refer to
“Chapter 4
GPS.”
R7
R9
RA
RB
RC
motion mode to on-line
mode when TR-203 does
not detect motion
Minimum distance to be
judged as moving state
Turn off GSM module in
static state
Keep GPRS on-line in
static state
Keep GPRS on-line in
moving state
Interval in on-line state for
1/0
0=disable
1=enable
u16,
0 ~ 65535
Unit: meter
0=turn on GSM
module
1/0
1=turn off
GSM module
Available
when RA=0
1/0
0=disable
1=enable
0=disable
1/0
1=enable
E4
E5
E6
RD
RE
disconnecting and then
re-connecting
Interval for checking if
GPRS connection is
on-line. If GPRS
connection is cut, TR-203
will try to connect to
server for one time.
Enable/disable TR-203 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
u16, in seconds 0=disable
u16, in seconds 0=disable
0=disable
1=enable
1/0
Available
when E5 is not
0
0=Interval is
u16, in seconds
the same with
R1
u16,
Unit: meter
49
state
Interval for switching from
RF
RG
RH
moving to static state
if no motion detected
Check GPS off time
setting (C7, C8, C9, CA)
GPS always on in moving
state
Commands format:
u16, in seconds
1/0
1/0
0=Interval is
the same with
R1
0=disable
1=enable
0=disable
1=enable
GSC,IMEI,M4*Checksum!
Commands CodewordParameters
M4 Set motion mode
Example 1:
Ask TR-203 set motion report (Send command via SMS or TCP
or UDP)
GSC,136639674520921,M4*1E!
Example 2:
Set TR-203 motion mode with report interval of 3600 seconds
for static state (R0), report interval of 30 for moving state (R1)
and report media (R2) TCP
GSC,130158974523157,M4(R0=3600,R1=30,R2=02)*44!
50
7. Alert
7.1 Parking Mode
Parking mode is for user to make TR-203 send alarm location report when
the TR-203 is moved. In addition to the alarm location report, TR-203 will
also send regular location report when TR-203 is parked.
You could define the content of report and the report interval of parking
mode.
There are 2 report interval of parking mode, one is when TR-203 is static
(under alert state), and the other is when TR-203 is moving (under alarm
state). The behavior is as following:
n
p
o
q
s
r
Time
T1 (Alarm interval)
T0 (Alert interval)
(Alert Report)
(Alarm Report)
n Receive command and then enter parking alert mode.
o When TR-203 is static, it will send “parking alert” report according to “Alert
interval” time.
p When TR-203 is moved, it will enter parking alarm mode and send “parking
alarm” report.
T
q When TR-203 is not moved, it will return to the parking alert mode.
h
r Re-start timer for parking alert interval.
s Parking Alert Report.
e
51
Note of Traveled Distance:
You can also set a traveled distance, and then TR-203 will report by the
combination of report interval and traveled distance.
For example, the report interval is 60 seconds, the traveled distance is 800
meters, TR-203 sends 1 report at 10:00:00, and then it detects the traveled
distance is over 800 meters at 10:00:50, it will send out one report and
re-start to count the report interval and the traveled distance. The next report
will be sent out at 10:01:50 or when the traveled distance is over 800 meters.
The parameter of parking mode:
Code
word
Report interval in alert
T0
state
Report interval in alarm
T1
state
T2 Report Media
Traveled distance for
T3
sending report
Parameters Value Description
1~4Giga seconds
1~4Giga seconds
Please refer to 2.9
Report media
0=disable
1~4Giga
Unit: meter
If you want TR-203 to
send reports
according to traveled
distance, you have to
extra make GPS on.
Please refer to
“Chapter 4 GPS.”
Commands format:
GSC,IMEI,M6*Checksum!
Commands CodewordParameters
M6 Set parking mode
Nb Dismiss parking alarm
Example 1
:
Set TR-203 parking mode with report interval of 3600 seconds
52
for alert state (T0), report interval of 30 for alarm state (T1),
report’s traveled distance of 700 meters (T3) and report media
(T2) TCP
Receive command and then enter parking alert mode.
n
o When TR-203 does not detect motion, it will send “parking alert” report
by “Alert interval” time.
Example 1:
Set TR-203 enter parking alert (Send command via SMS or TCP
or UDP)
GSC,136639674520921,M6*1C!
53
7.1.2 Dismiss Parking Alarm
o
p
r
n
q
T1 (Alarm interval)
T0 (Alert interval)
(Alert Report)
(Alarm Report)
Note:
TR-203 will not switch to parking alert state if it still detects
motion after receiving the dismiss command. It will switch
to parking alert mode when it does not detect motion.
Under parking alert mode
n
o When TR-203 detects motion, it will enter parking alarm state and send
“parking alarm” report.
p When receive dismiss command, TR-203 will dismiss the parking alarm.
q Re-start timer for parking alert interval.
r Parking Alert Report.
Time
Example 1:
Dismiss TR-203 parking alarm status (Send command via SMS
or TCP or UDP)
GSC,136639674520921,Nb*4B!
54
7.1.3 Stop Parking Mode
Under Parking Alert State
o
p
n
q
Time
T0 (Alert interval)
Other Tracking mode or standby mode
(Alert Report)
n Under parking alert state.
o Parking alert report.
When receive other tracking or standby commands, the device will
p
enter other tracking or standby mode.
Under Parking Alarm State
Other Tracking mode or standby mode.
q
n
o
p
q
Time
T1 (Alarm interval)
T0 (Alert interval)
Other Tracking mode or standby mode
(Alert Report)
(Alarm Report)
n Parking alert report.
When TR-203 detects motion, it will enter parking alarm mode and send
o
alarm report by parking alarm interval.
Under parking alarm state, tracker receives other tracking or standby
p
command, the device will enter the other tracking or standby mode.
Other Tracking mode or standby mode.
q
Example 1:
55
Stop parking mode and then enter standby mode (Send
command via SMS or TCP or UDP)
GSC,10339376540375,M7*27!
56
7.2 Sleeping Mode
In order to save the power of TR-203, you could make TR-203 enter sleeping
mode. When TR-203 is under sleeping mode, its GSM module and GPS
module will be turned off, the motion sensor will be turned on. TR-203 will
also regularly send report to server according to the report Interval in Alert
State. When TR-203 senses vibration, it will send alarm report to server
according to the report Interval in Alarm State.
You could define the content of report and the report interval of sleeping
mode.
The behavior is as following:
n
o
GPS/GSM always be turn off, except alert and alarm report time
p
q
r
s
Time
U1 (Alarm interval)
U0 (Alert interval)
Alarm period (GSM always be turn on)
(Alert Report) GPS/GSM be turn on
(Alarm Report) GPS/GSM be turn on
n Received command and then entering sleeping mode (GPS/GSM will be turn off).
o When TR-203 is static, it will send “sleeping alert report” according to “Alert
interval time”.
p When TR-203 detects motion, it will enter sleeping alarm state (GPS/GSM wake up)
and send “sleeping alarm” report.
T
q If TR-203 is not moved, it will return to the sleeping alert state.
h
r Re-start timer for sleeping alert interval.
e
s Sleeping alert report.
57
The parameters of sleeping mode:
Code
Parameters Value Description
word
Report interval in
U0
alert state
Report interval in
U1
alarm state
U2 Report Media
7.2.1 Enter Sleeping Alert
1~4Giga seconds
1~4Giga seconds
Please refer
to 2.9
Report
media
no
Time
U0 (Alert interval)
(Alert Report)
Other Tracking mode or standby mode
T
n Under standby mode or other tracking mode, TR-203 received
command and then enter sleeping alert mode (GPS/GSM be turn off).
o When TR-203 is static, it will send “sleeping alert” report according to
“Alert interval” time.
Command’s format:
GSC,IMEI,M1*Checksum!
Commands CodewordParameters
M1 Set sleeping mode
Nc Dismiss sleeping alarm
58
Example 1:
Set TR-203 sleeping mode with report interval of 3600 seconds
for alert state (U0), report interval of 30 for alarm state (U1), and
report media (U2) TCP
GSC,130158974523157,M1(U0=3600,U1=30,U2=02)*46!
7.2.2 Dismiss Sleeping Alarm
o
p
r
n
q
U1 (Alarm interval)
U0 (Alert interval)
(Alert Report)
(Alarm Report)
n Under sleeping alert state.
o When TR-203 detects motion, it will enter sleeping alarm mode and send
“sleeping alarm” report.
p When the device send alarm report to server and then exchange dismiss
command from server, the device will return to the sleeping alert mode.
q Re-start timer for sleeping alert interval.
r Sleeping Alert Report.
Time
Command’s format:
GSC,IMEI,Nc*Checksum!
59
Example 1:
Send dismiss sleeping alarm command to TR-203
GSC,130158974523157,M1(U0=3600,U1=30,U2=02)*46!
7.2.3 Stop Sleeping Mode
Under Sleeping Alert State
o
p
n
q
Time
T0 (Alert interval)
Other Tracking mode or standby mode
(Alert Report)
Under sleeping alert state.
n
o Sleeping alert report.
When receive other tracking or standby command, the device will enter
p
other tracking or standby mode.
Other Tracking mode or standby mode.
q
o
p
Under Sleeping Alarm State
n
Time
q
T1 (Alarm interval)
T0 (Alert interval)
Other Tracking mode or standby mode
60
(Alert Report)
(Alarm Report)
Sleeping alert report.
n
When TR-203 detects motion, it will enter sleeping alarm mode and
o
send alarm report.
Under sleeping alarm state, when received other tracking or standby
p
commands, the device will enter to the other tracking or standby mode.
Other tracking mode or standby mode.
q
Example 1:
Stop sleeping mode and then enter standby mode (Send
command via SMS or TCP or UDP)
GSC,10339376540375,M7*27!
Example 2
:
Stop sleeping mode and then enter periodic mode (Send
command via SMS or TCP or UDP)
GSC,10339376540375,M2*22!
Commands CodewordParameters
M2 Set periodic mode
61
7.3 Speed Limits
High Speed Limit
Alarm
Speed higher than the top limit
Keep Speed alarm status
Low Speed Limit
n
n
o
o
p
q
Speed lower than the bottom limit
Automatic dismiss alarm
Speed higher than the top limit
Automatic dismiss alarm
q
p
OI+OP
OP
OI
OP
OI-OP
OJ+OP
OP
OJ
OP
OJ-OP
Alarm
Speed lower than the bottom limit
62
Keep Speed alarm status
The parameters of speed alarm:
Code
Parameters Value
word
OI Upper limit of speed alarm
OJ Lower limit of speed alarm
OL Report media for speed alarm
OP Hysteresis of speed alarm
7.3.1 Enable Speed Limit Alert
u8, in Km/H
0 ~ 255 Km/H
0=disable
u8, in Km/H
0 ~ 255 Km/H
0=disable
Please refer to 2.9
Report media
u8, in Km/H
0 ~ 255 Km/H
Example 1:
Set upper limit of speed alert (Send command via SMS or TCP
or UDP)
GSS,10339376540375,3,0,OI=105,OP=5,OL=02*6A!
Command Type Description
GSS Write setting to device
Code
word
OI
OL
Parameters ValueDescription
Upper limit of speed
105
alarm
Report media for
02
speed alarm
Set upper limit: 105
Km/h
Report alarm
messages via TCP.
Alarm messages
63
format: Format 0
OP
Hysteresis of speed
alarm
5
The behavior mode is as following:
Alarm (110 km/h)
Speed higher than the top limit
Keep sending alarm
110 Km/h
105 Km/h
Example 2:
n
o
p
q
Speed lower than the bottom limit
Automatic dismiss alarm (100 km/h)
OI+OP
OP
OI
OP
OI-OP 100 Km/h
Set lower limit of speed alert (Send command via SMS or TCP or
UDP)
GSS,10339376540375,3,0,OJ=65,OP=5,OL=02,*5E!
Command Type Description
GSS Write setting to device
Code
word
OJ
OL
Parameters ValueDescription
Upper limit of speed
65
alarm
Report media for
02
speed alarm
Set lower limit: 65
Km/h
Report alarm
messages via TCP.
Alarm messages
format: Format 0
OP
Hysteresis of speed
alarm
5
64
The behavior mode is as following:
n
70 Km/h
65 Km/h
o
Alarm
Speed lower than the bottom limit
7.3.2 Disable Speed Limit Alert
q
Speed higher than the top limit
Automatic dismiss alarm
p
Keep sending alarm
OJ+OP
OP
OJ
OP
OJ-OP 60 Km/h
Example 1:
Disable upper limit of speed alert (Send command via SMS or
TCP or UDP)
GSS,10339376540375,3,0,OI=0*48!
Command Type Description
GSS Write setting to device
Code
word
OI Upper limit of speed alarm0 0=disable
Parameters ValueDescription
Example 2:
65
Disable lower limit of speed alert (Send command via SMS or
TCP or UDP)
GSS,10339376540375,3,0,OJ=0*46!
Command Type Description
GSS Write setting to device
Code
word
OJ Lower limit of speed alarm0 0=disable
Parameters ValueDescription
66
7.4 Geo-fence
Geo-fence is for setting a rectangular area as permissible area or restricted
area. When TR-203 gets out the permissible area or goes in to the restricted
area, TR-203 will send its location to the preset mobile phone number via
SMS or to server via TCP, or UDP.
format
bit3=Wednesday
bit4=Thursday
bit5=Friday
bit6=Saturday
which
specifies
applicable
day in a
week,
where bit 0
represents
Sunday,
bit1
represents
Monday,
etc.
* * End of field
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
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.
Ask TR-203 report the parameters of 1st ~10th Geo-fence area
The method of marking 1st ~10th geo-fence areas is to write 1~10
in the braces after L3, like L3 (1-10)
Geo-fence is independent from the other general tracking modes. Sending
geo-fence command to TR-203 will not stop the other general tracking
modes. TR-203 could execute general tracking mode and geo-fence at the
same time
In geo-fence mode, it requires extra to turn on GPS on.
There are two ways for turning on GPS, one is to keep GPS always on by
parameter C0, and the other is to use timer. Keep GPS always on will make
the power run up within 10 hours.
The recommended method of making GPS on is to use timer.
While using timer, you could set the report media (X4 or Y4 or Z4) as 80,
then TR-203 will turn on the GPS.
Code
word
C0 GPS always on1/0
X0 Start time u32, in seconds
X1 End time u32, in seconds
X2 Report intervalu16, in seconds
X3 Weekday masku8, xx(hex digits)
X4 Report Media
Command’s format for enable Geo-fence:
Parameters Value Description
Applicable to all
modes except
Sleeping and Off
mode
Please refer to
2.9 Report media
GSC,N6*Checksum!
Commands CodewordParameters
N6 Enable Geo-fence
Example 1:
Asking TR-203 enter geo-fence alert state and make GPS
74
always on (C0=1)
GSC, 135097652783615,N6(C0=1)*47!
Example 2:
Asking TR-203 enter geo-fence alert state and use timer 1: Start
Time: 12:00:00AM (X0=0), End Time:11:59:59PM(X1=86399),
Report Interval=0 (X2=0), Weekday: Sunday~ Saturday (X3=7f),
Report Media: GPS ON(X4=80)
Command’s format for dismiss Geo-fence alarm status:
GSC,Ne*Checksum!
Commands CodewordParameters
Ne Dismiss Geo-fence Alarm
Example 1
:
Dismiss TR-203 geo-fence alarm status
GSC,135097652783615,Ne*4A!
7.4.4 Stop Geo-fence Alert
Command’s format for disable Geo-fence:
GSC,N7*Checksum!
Commands CodewordParameters
75
N7 Disable Geo-fence
Example 1:
Asking TR-203 disable geo-fence
GSC,135097652783615,N7*18!
76
8 Emergency
When SOS (Emergency) button is long pressed, TR-203 will send its location
information to 6 sets of phone numbers by SMS or send its location
information to server via TCP, and UDP.
The parameters emergency:
Code
word
G0 SMS Phone number 1 char(20)
G1 SMS Phone number 2 char(20)
G2 SMS Phone number 3 char(20)
G3 SMS Phone number 4 char(20)
G4 SMS Phone number 5 char(20)
G5 SMS Phone number 6 char(20)
H0 Report media
H1 Report number u16
Parameters Value Description
Please refer to 2.9 Report
media
0 ~ 65535
SMSÆ 0 or 1=1 SOS alarm
report;2~65535=2~65535 SOS
alarm report
GPRSÆ 0 =1 SOS alarm
report;1~65535= continue
sending SOS alarm report till
receive stop command
H2 report interval
0~65535
seconds
77
9 Voice Monitor
The parameters of voice monitor:
Code
word
V0
V1
V4
V5
Parameters Value Description
Call out SOS phone
number 1 when SOS alarm
Allowed interval for call in
TR-203 after SOS alarm
happens
Call in/out phone number
for voice monitor
Allowed interval for call in
TR-203 after receiving
voice monitor command
1/0
u16, in
seconds
char(20)
u16, in
seconds
0=disable
1=enable
0 ~ 65535
Available
when V0=0
G0~G5 are
also call in
phone
number for
voice
monitor
command
0 ~ 65535
Available
when V6=0
V6
Call in or call out for voice
1/0
monitor command
0=Call in
1=Call out
Command format:
GSC,N4*Checksum!
Commands CodewordParameters
N4 Enable voice monitor
Example 1
Make TR-203 call out (V6=1) the phone number of
:
78
+886920886555 (V4=+886920886555) when receive the enable
voice monitor command (N4)
GSC,130789246109245,N4(V4=+886920886555,V6=1)*29!
Example 2:
Make TR-203 wait the phone number +886920886555
(V4=+886920886555) or SOS phone number 1~6” phone number
call in (V6=0) within 120 seconds (V5=120) when receive the
enable voice monitor command (N4)
Call out (V6=1) SOS phone number 1 when SOS alarm (V0=1)
GSC,011412000010789,N4(V0=1)*76!
Example 4:
Make TR-203 wait the phone number +886920886555
(V4=+886920886555) or SOS phone number 1~6” phone number
call in (V6=0) within 60 seconds from SOS alarm happens
(V1=60)
There are four timers for setting specified time report.
For Timer 0, when there is a new event (report), it will re-start to count down
the report interval again.
Timer 1 ~ 3 will not count down the report interval when there is a new event.
10.1 Timer 0
The following parameters must be set for configuration or
sending those parameters by other action command:
Code
word
W0 Start time 0~86400
W1 End time 0~86400
W2 Report interval1~65535
W3 Weekday mask00~7f u8, xx(hex digits)
W4 Report Media
10.2 Timer 1~3
Parameters Value Description
Please refer to
2.9 Report media
The following parameters must be set for configuration or
sending those parameters by other action command:
(“X”:Timer 1, “Y”:Timer 2, “Z”:Timer 3,)
80
Code
word
X0 Start time 0~86400
X1 End time 0~86400
X2 Report interval1~65535
X3 Weekday mask00~7f u8, xx(hex digits)
Parameters Value Description
X4 Report Media
Y0 Start time 0~86400
Y1 End time 0~86400
Y2 Report interval1~65535
Y3 Weekday mask00~7f u8, xx(hex digits)
Y4 Report Media
Z0 Start time 0~86400
Z1 End time 0~86400
Z2 Report interval1~65535
Z3 Weekday mask00~7f u8, xx(hex digits)
Z4 Report Media
Please refer to 2.9
Report media
Please refer to 2.9
Report media
Please refer to 2.9
Report media
81
11 Report Messages
There are two types of message’s report format, “format 0” and “format 1”.
Defined as follows:
11.1 Format 0 of Report Messages
Command’s format for set format 0 of report messages:
GSS,IMEI,T,S,O3=y1y2y3….yn,*Checksum!
y1,y2,y3… are their respective parameters of report messages.
(Refer to “2.6. Parameters of Report Messages” for details of
parameters’ definition)
Parameter’s Codeword Description
O3 Report format 0
Example 1
:
Set TR-203 format of report messages for format 0 (Send
command via SMS or TCP or UDP)
GSS,135785412249986,3,0,O3=SORPZAB72GHLMN*U!*6b!
(Refer to “2.6. Parameters of Report Messages” for details of
parameters’ definition)
Report format for format 0 of report messages (report
messages via SMS or TCP or UDP)
Ask TR-203 report “format of format 1” (Send command via
SMS or TCP or UDP)
GSC,131826789036289,3,0,L1(ON)*16!
TR-203 receives “GSC,IMEI,L1(ON)*Checksum!” and report as
below (report via SMS or TCP or UDP)
GSs,131826789036289,3,0,ON= SPAN*U!*15!
84
12 Data Log
The function of Data Log is for you to record the location information of TR-203
based on the time interval or traveled distance or the combination of time interval
and distance. After recording the location information, you could connect TR-203
to PC by USB cable for downloading the data log.
If you want TR-203 to store position according to traveled
distance, you have to extra make GPS on. Please refer to
“Chapter 4 GPS.”
o
q
p
n
Time
O2 (Data logger interval)
T0 (Tracking report interval)
(Tracking report)
(Store position to buffer storage)
n Under tracking report state
o When device receives “N8” command and then enable data logger function.
p Store position according to data logger interval.
q Tracking report.
The following parameters must be set for configuration or
sending those parameters by other action command:
Code word Parameters Value Description
O2 Data logger interval u16, in seconds
OH Data logger distance u32, in meters
85
0 ~ 65535
0=disable
0 ~ 4Giga
0=disable
Command’s format for enable data logger:
GSC,IMEI,N8(O2)*Checksum!
Commands Codeword Parameters
N8 Enable Data logger
Under standby mode to store position according to data logger
interval
o
p
n
Time
O2 (Data logger interval)
Standby mode
(Store position to buffer storage)
n Under tracking report state
o When device received “N8” command and then enable data logger function.
p Store position in accordance with data logger interval.
The following parameters must be set for configuration or
sending those parameters by other action command:
Code word Parameters Value Description
O2
Data logger
u16, in seconds
interval
0 ~ 65535
0=disable
Command’s format for enable data logger:
GSC,IMEI,N8(O2)*Checksum!
86
Commands Codeword Parameters
N8 Enable Data logger
Under standby mode to store position according to data logger
distance
If you want TR-203 to store position according to traveled
distance, you have to extra make GPS on. Please refer to
“Chapter 4 GPS.”
o
p
n
Distance
O2 (Data logger distance)(Store position to buffer storage)
Standby mode
n Under tracking report state
o When device received “N8” command and then enable data logger function.
p Store position in accordance with data logger distance.
The following parameters must be set for configuration or
sending those parameters by other action command:
Code word Parameters Value Description
OH
Command’s format for enable data logger:
Data logger
u32, in meters
distance
0 ~ 4Giga
0=disable
GSC,IMEI,N8(OH)*Checksum!
Commands Codeword Parameters
N8 Enable Data logger
87
13 Buffer Storage
When TR-203 is carried to the areas without GSM/GPRS signal coverage, TR-203
could not send its location report s to server. In order not to lose the location report,
TR-203 will save the location reports during the periods without GSM/GPRS signal
to buffer storage. When TR-203 is carried to the areas with GSM/GPRS signal, it
will send the location reports in the buffer storage to server. TR-203 could save up
to 8000 pieces of location reports to buffer storage.
The behavior mode is as following:
n
o
p
q
r s
Buffer storage report interval (once every 4 seconds)
Tracking report interval
Lost GSM/GPRS signal period
(Tracking report)
(Buffer storage report)
(Store to buffer storage)
n
Tracking report
o Enter area without GSM/GPRS signal coverage.
The parameter of enable data buffer function is OG.
You could set OG by configuration or sending OG by the other action commands:
p Save location report to buffer storage
q Enter area with GSM/GPRS signal
r Send periodic report
Send the location report in the buffer storage
s
Code word Parameters ValueDescription
OG
Enable/ disable data
1/0
buffer function
0=disable
1=enable
Time
88
14 Cell ID
GSM Cell ID is assisted information to get device location. When TR-203 does not
get GPS fix, you could enable TR-203 to report the Cell ID. Then the report format
of TR-203 will automatically switch from format 0 to format 2 when TR-203 does not
get GPS fix. Report format 1 is not affected.
The parameter of enabling TR-203 to report the Cell ID is O8.