GLOBALSAT PROTOLAB User Manual

TR-151 Call Center Development Document
V0.5
1 Configuration...................................................................................................................................3
1.1 Read Configuration............................................................................................................3
1.2 Write Configuration........................................................................................................... 5
1.3 TR-151 Configuration Content....................................................................................11
2 Commands .....................................................................................................................................13
2.1 Immediate Report...........................................................................................................13
2.2 Periodic Report..................................................................................................................22
2.3 GPRS Periodic and Disconnect Report.....................................................................31
2.4 Geo-fence Mode...............................................................................................................34
2.5 Voice Monitor.....................................................................................................................45
2.6 Motion Mode ......................................................................................................................48
2.7 Park Mode...........................................................................................................................53
3 Return Format............................................................................................................................... 60
3.1 SMS Return format.........................................................................................................60
3.2 GPRS Return Format......................................................................................................62
1 Configuration

1.1 Read Configuration

1.1.1 How to send SMS and ask TR-151 for sending back its configuration by SMS?

You can send SMS to TR-151 to ask it to send SMS with its configuration setting. The format of the SMS is “?7,IMEI,0,Return_Phone_Number!”
Format Description
? Start sign 7 Function code IMEI IMEI code of the TR-151 0 Report type of reading configuration Return_Phone_Number The phone number for receiving TR-151 configuration. ! End sign
TR-151 will return 3 pieces of SMS with its configuration. For details, please refer to TR-151 Configuration Content

1.1.2 How to send SMS and ask TR-151 for sending back its configuration by GPRS?

You can send SMS to TR-151 to ask to send message to GPRS server with its configuration setting. The format of the SMS is “?7,IMEI,9!”
Format Description
? Start sign 7 Function code IMEI IMEI code of the TR-151 9 Report type of reading configuration ! End sign
TR-151 will return 3 messages with its configuration.
3
For details, please refer to TR-151 Configuration Content

1.1.3 How to send GPRS command and ask TR-151 for sending back its configuration by SMS?

You can send command by GPRS server to TR-151 to ask it to send back SMS with its configuration setting. The format of the SMS is “$7,IMEI,0,Return_Phone_Number!”
Format Description
$ Start sign 7 Function code IMEI IMEI code of the TR-151 0 Report type of reading configuration Return_Phone_Number The phone number for receiving TR-151 configuration. ! End sign
TR-151 will return 3 pieces of SMS with its configuration. For details, please refer to TR-151 Configuration Content

1.1.4 How to send GPRS command and ask TR-151 for sending back its configuration by GPRS

You can send command by GPRS server to TR-151 to ask it to send back message with its configuration setting. The format of the SMS is “$7,IMEI,9!”
Format Description
$ Start sign 7 Function code IMEI IMEI code of the TR-151 9 Report type of reading configuration ! End sign
TR-151 will return 3 messages with its configuration to GPRS server. For details, please refer to TR-151 Configuration Content
4

1.2 Write Configuration

1.2.1 How to configure TR-151 by SMS?

You can send SMS to configure following parameters into TR-151. There are 8 settings as below.
z SMS Default Return Phone Number z Maximum GPS Fixing Time z Default Report Mode Setting z SOS Numbers z Motion setting z Sleeping setting z GPRS setting z Normal Setting
Report type Format Return message
SMS Default Return Phone Number
Maximum GPS Fixing Time
Default Report Mode Setting
SOS Numbers ?7,IMEI,4,SOS1,SOS2,SOS3,Return_Phone_Number! ?7,IMEI,OK! Motion Setting ?7,IMEI,5,Regular_Report_interval,Motion_report_Interval,Sensitivity,Mo
Sleeping Setting
GPRS Setting ?7,IMEI,7,Port,APN,User_Name,User_pwd,DNS1,DNS2,Host_Name,R
Normal setting ?7,IMEI,8,Name,Time_Zone,Report_method of SOS and battery
?7,IMEI,1,Enable SMS Default Return Phone Number, SMS Default Return Phone Number, Return Phone Number!
?7,IMEI,2,Maximum_GPS_Fixing_Time,Return Phon e Number!
?7,IMEI,3,Default_Report_Mode,Report_Interval,Number_of_Reports,R eport_Format,Return_Phone_number_For_Default_Report_Mode,Retur n_Phone_Number!
tion_Return_Number,Return_Phone_Number! ?7,IMEI,6,Regular_Report_interval,Motion_report_Interval,Number_of_
Reports,Report_Format,Sensitivity,Sleep_Return_Number,Return_Phon e_Number!
eturn_Phone_Number!
low,Echo_EN, Return_Phone_Number!
?7,IMEI,OK!
?7,IMEI,OK!
?7,IMEI,OK!
?7,IMEI,OK!
?7,IMEI,OK!
?7,IMEI,OK!
?7,IMEI,OK!
SMS Default Return Phone Number: Set SMS Default Return Phone Number.
Maximum_GPS_Fixing_Time:
If GPS is not fixed within the time, it returns previous location and close GPS. The unit is minute.
Default_Report_Mode:
Default_Report_Mode = 0 Æ SMS immediate report Default_Report_Mode = 1 Æ SMS period report Default_Report_Mode = 2 Æ Stop Default_Report_Mode = 8 Æ GPRS immediate report Default_Report_Mode = 9 Æ GPRS period
5
Default_Report_Mode = 10 Æ GPRS period and disconnect Default_Report_Mode = 21 Æ SMS and GPRS immediate report Default_Report_Mode = 22 Æ SMS and GPRS period report
Enable_SMS_Default_Return_Phone_Number:
Enable or disable SMS Default Return Phone Number. Enable_SMSDefaultReturnPhoneNumber = 0 Æ Disable Enable_SMSDefaultReturnPhoneNumber = 1 Æ Enable
Number_of_Reports:
Set how many report will be sent. Number_of_Reports = 0 Æ continuous report Number_of_Reports = X Æ X times report
Report_Format: Ask TR-151 to return message by Format0 or Format1.  Report_Interval: Time interval of sendin g data report. The unit is second.  Return_Phone_Number: TR-151 will send confirmed message back to this Return_Phone_Number.
If you keep Return Phone Number blank, TR-151 will send report to SMS Default Return Phone Number. If Return Phone Number and SMS Default Return Phone Number are both blank, TR-151 will send report to
caller ID.
Return Phone Number For Default Report Mode: Return phone number for default report mode. TR-151 will
Motion Setting: If you send this command, the default report mode will turn to Motion mode  GPRS setting
send report to this number after it is turned on when Default Report Mode is set to immediate report or period report.
Item Description GPRS Port
GPRS APN GPRS user name GPRS user password GPRS DNS 1/ DNS 2
GPRS Server Host Name
The communication port for connecting GPRS network The APN of GPRS network station The account for connecting GPRS network The password for connecting GPRS network The DNS for connecting GPRS network The fixed IP or Domain Name for the computer running the TR Management Center (It should be a physical IP or a domain
name)
1. The value of GPRS port is between 1 and 65,535, and the default is 5000.
2. GPRS APN is different from each GPRS network provider. You have to get the APN from your GPRS network provider.
3. GPRS Server Host Name is the physical IP address of the PC that you installed the call center or a domain name. The IP is for connecting the GPRS network. It should be a physical IP.
4. In Taiwan, GPRS user name, GPRS user password, GPRS DNS1, and GPRS DNS2 are not necessary items. You have to consult with your GPRS network provider about those values.
Normal Setting:
Report Method of SOS and battery low: 1=SMS
2=GPRS 3=SMS & GPRS
6
Echo_EN: Enable TR-151 to send “Return Message”=0 Æ Enable Enable TR-151 to send “Return Message”=1 Æ Disable
7

1.2.2 How to configure TR-151 by GPRS server?

You can send command by GPRS server to configure following parameters into TR-151. There are 8 settings as below.
z SMS Default Return Phone Number z Maximum GPS Fixing Time z Default Report Mode Setting z SOS Numbers z Motion setting z Sleeping setting z GPRS setting z Normal Setting
Report type Format Return message
SMS Default Return Phone Number
Maximum GPS Fixing Time
Default Report Mode Setting
SOS Numbers $7,IMEI,4,SOS1,SOS2,SOS3! $OK! Motion Setting $7,IMEI,5,Regular Report Interval,Motion report
Sleeping Setting
GPRS Setting $7,IMEI,7,Port,APN,User_Name,User_pwd,DNS1,DNS2,Host_Name,R
Normal setting $7,IMEI,8,Name,Time_Zone,Report_method,Echo_EN,Return_Phone_
$7,IMEI,1,Enable_SMS Default Return Phone Number, SMS Default Return Phone Number!
$7,IMEI,2,Maximum_GPS_Fixing_Time!
$7,IMEI,3,Default_Report_Mode,Report_Interval,Number_of_Reports,R eport_Format,Return Phone Number For Default Report Mode!
Interval,Sensitivity,Motion_Return_Number! $7,IMEI,6, Regular_Report_interval,
Motion_report_Interval,Number_of_Reports,Report_Format,Sensitivity,S leep_Return_Number!
eturn_Phone_Number!
Number!
$OK!
$OK!
$OK!
$OK!
$OK!
$OK!
$OK!
SMS Default Return Phone Number: Set SMS Default Return Phone Number.
Maximum_GPS_Fixing_Time: If GPS is not fixed within the time, it returns previous location and close GPS.
The unit is minute. Default_Report_Mode:
Default_Report_Mode = 0 Æ SMS immediate report Default_Report_Mode = 1 Æ SMS period report Default_Report_Mode = 2 Æ Stop Default_Report_Mode = 8 Æ GPRS immediate report Default_Report_Mode = 9 Æ GPRS period Default_Report_Mode = 10 Æ GPRS period and disconnect Default_Report_Mode = 21 Æ SMS and GPRS immediate report
8
Default_Report_Mode = 22 Æ SMS and GPRS period report
Enable_SMS_Default_Return_Phone_Number:
Enable or disable SMS Default Return Phone Number. Enable_SMSDefaultReturnPhoneNumber = 0 Æ Disable Enable_SMSDefaultReturnPhoneNumber = 1 Æ Enable
Number_of_Reports:
Set how many report will be sent. Number_of_Reports = 0 Æ continuous report Number_of_Reports = X Æ X times report
Report_Format: Ask TR-151 to return message by Format0 or Format1.  Report_Interval: Time interval of sendin g data report. The unit is second.  Return_Phone_Number: TR-151 will send confirmed message back to this Return_Phone_Number.
If you keep Return Phone Number blank, TR-151 will send report to SMS Default Return Phone Number. If Return Phone Number and SMS Default Return Phone Number are both blank, TR-151 will send report to
caller ID.
Return Phone Number For Default Report Mode: Return phone number for default report mode. TR-151 will
Motion Setting: If you send this command, the default report mode will turn to Motion mode
GPRS setting
send report to this number after it is turned on when Default Report Mode is set to immediate report or period report.
Item Description GPRS Port
GPRS APN GPRS user name GPRS user password GPRS DNS 1/ DNS 2
GPRS Server Host Name
The communication port for connecting GPRS network The APN of GPRS network station The account for connecting GPRS network The password for connecting GPRS network The DNS for connecting GPRS network The fixed IP or Domain Name for the computer running the TR Management Center (It should be a physical IP or a domain
name)
5. The value of GPRS port is between 1 and 65,535, and the default is 5000.
6. GPRS APN is different from each GPRS network provider. You have to get the APN from your GPRS network provider.
7. GPRS Server Host Name is the physical IP address of the PC that you installed the call center or a domain name. The IP is for connecting the GPRS network. It should be a physical IP.
8. In Taiwan, GPRS user name, GPRS user password, GPRS DNS1, and GPRS DNS2 are not necessary items. You have to consult with your GPRS network provider about those values.
Normal Setting:
Report Method of SOS and battery low: 1=SMS
2=GPRS
9
3=SMS & GPRS Echo_EN: Enable TR-151 to send “Return Message”=0 Æ Enable Enable TR-151 to send “Return Message”=1 Æ Disable
10

1.3 TR-151 Configuration Content

Example: TR,IMEI,1,1,3,30,30,0,12,30,0,Tony,+8.00, 1,60,1,0,0,1,0! Parameters Description
TR Start sign IMEI IMEI 1 part Enable/ Disable SMS Default Return Phone Number Maximum GPS Fixing Time The maximum time for getting GPS fix Motion Mode Regular Report Interval Motion Mode Motion Report Interval x Sleep Mode Regular Report Interval Sleep Mode Motion Report Interval Number of report under sleep mode User Name User name Set Time Zone Time zone
0: Enable, 1:Disable
The regular interval of sending location report under motion mode
The interval of sending location report when TR-151 senses vibration under motion mode
x The regular interval of sending location report under sleeping mode.
The interval of sending location report when TR-151 senses vibration under sleeping mode Set how many location report will be sent when TR-151 senses vibration under sleeping mode
Default Report mode
Period Report interval Interval of periodic report SMS Report Format 0 or 1. 0 is for end user, and 1 is for call center development Number of SMS Period report Sensitivity The number of vibration which activates TR-151 to send motion report. The
Report Method 1: SMS; 2: GPRS; 3: SMS & GPRS Echo_EN Enable/ Disable TR-151 to send “Return Message 0: Enabled. 1: Disabled
Report Mode (Please refer to Report Type in
Return Format)
Number of SMS Periodic report
value range is 1~255. The larger the number is, the less sensitive the device is.
11
SMS Return format or GPRS
Example: TR,IMEI,2,0988888880,0988888881,0988888882,0988888883,0988888884,0988888885,
0988888886! TR Start sign
IMEI 2 SOS Number 1 Set SOS Number 1 SOS Number 2 Set SOS Number 2 SOS Number 3 Set SOS Number 3 Default Return Number Return phone number SMS Return Number Return phone number of SMS report Motion Return Number Return phone number of Motion mode reporting SMS Sleep Return Number Return phone number of Sleep mode reporting
Example: TR,IMEI,3,5000, internet,,,,, 220.128.207.70!
TR Start sign
IMEI 3 GPRS Port The communication port for connecting GPRS network GPRS APN GPRS user name GPRS user password GPRS_DNS1 GPRS_DNS2 The DNS2 for connecting GPRS network GPRS Server Host Name
The APN of GPRS network station The account for connecting GPRS network The password for connecting GPRS network The DNS1 for connecting GPRS network
The fixed IP or Domain Name for the computer running the TR Management Center
12

2 Commands

2.1 Immediate Report

2.1.1 Process of making TR-151 make SMS immediate report by SMS

1 ?0,IMEI,Report_Format,Return_Phone_Number!
User/ Server
For details, please refer to “How to set TR-151 to immediately report its position by SMS?”
2
?0,IMEI,OK!
3
Its latitude and longitude (SMS)
TR-151
2.1.2 Process of making TR-151 make GPRS immediate report by
SMS
1 ?8,IMEI,Return_Phone_Number! (SMS)
User/ Server
2
?8,IMEI,OK! (SMS)
3
Its latitude and longitude (via GPRS network)
TR-151
For details, please refer to “How to make TR-151 to make GPRS immediate report by SMS?”
13
2.1.3 Process of making TR-151 make SMS & GPRS immediate
report by SMS
1 ?21,IMEI,Return_Phone_Number! (SMS)
User/ Server
2
?21,IMEI,OK! (SMS)
3
Its latitude and longitude (SMS & GPRS)
TR-151
For details, please refer to
“How to make TR-151 to make SMS & GPRS immediate report by
SMS?”
2.1.4 Process of making TR-151 make SMS immediate report by
GPRS server
1 $0,IMEI,Report_Format,Return_Phone_Number!
User/ Server
2
$OK!
3
Its latitude and longitude (SMS)
TR-151
4 $OK!
For details, please refer to
server?
How to make TR-151 to make SMS immediate report by GPRS
14
2.1.5 Process of making TR-151 make GPRS immediate report by
GPRS server
1 $8,IMEI!
GPRS server TR-151
2
$OK!
3 Its latitude and longitude
4 $OK!
For details, please refer to How to make TR-151 to make GPRS immediate report by GPRS
server?
2.1.6 Process of making TR-151 make SMS & GPRS immediate
report by GPRS
1 $21,IMEI,Return_Phone_Number!
User/ Server
2
$OK!
3
Its latitude and longitude (SMS & GPRS)
4 $OK!
P.S. TR-151 disconnects from GPRS server after it sends the location data. For details, please refer to How to make TR-151 to make SMS & GPRS immediate report by
GPRS server?
TR-151
15

2.1.7 How to make TR-151 to immediately report its position by SMS?

You can send an SMS to ask TR-151 to immediately report its position. The format of SMS is following as: ?0,IMEI,Report_Format,Return_Phone_Number!
The table below explains the content of the SMS.
Format Description
? Start sign 0 Function code IMEI IMEI code of the TR-151
Report_Format 0 or 1. 0 is for end user, and 1 is for call center development
Return_Phone_Number The phone number for re ceiving the reporting SMS. ! End sign
TR-151 will send an SMS whose format is “?0,IMEI,OK!” to the return phone number to confirm it has received the request. And then it will start to get fixed the position. After getting fixed the position, it will send SMS with its location to the return phone number.
Example: Ask TR-151 to send immediate report in format0 to 626-123456. You have to enter ?0, 355632000166323,0,626123456!
And then you will get ?0,355632000166323,OK!. After TR-151 get fixed of the position, you will get the position report like Position report
Name 2008/12/15 10:20:39
24.99622,121.48992
GPS fixed
NOTE:
1. The unit of coordinates for report format 0 in the immediate report is degree. The unit of coordinates for report format 1 in the immediate report is degree and minute with a 4-digit decimal fraction
2. If TR-151 can not get fixed the position within the “Maximum GPS Fixing Time”, it will return the previous location. When the GPS position is fixed, it will again return the position data.
3. Please refer “
How to configure TR-151 by SMS?.” to set “Maximum GPS Fixing Time”
16

2.1.8 How to make TR-151 to make GPRS immediate report by SMS?

You can send an SMS to ask TR-151 to immediately report its position via GPRS network to TR-151 call center or GPRS server.
The format of SMS is following as: ?8,IMEI,Return_Phone_Number!
The table below explains the content of the SMS.
The description of SMS
Format Description
?8 Start sign and function code IMEI IMEI of TR-151 Return_Phone_Number The phone number for receiving OK message. ! End sign
TR-151 will send an SMS whose format is “?8,IMEI,OK!” to the return phone number to confirm it has received the request. And then it will start to get fixed the position. After getting fixed the position, it will send its location to the TR-151 call center or GPRS server.
Example: Require GPRS immediate report You have to enter “?8,355632000166323,626123456!”
And then you will get “? 8,355632000166323,OK!”
17
2.1.9 How to make TR-151 to make SMS & GPRS immediate report
by SMS?
You can send an SMS to ask TR-151 to immediately report its position via GPRS network to TR-151 call center or GPRS server and to SMS receiver interface like handset.
The format of SMS is as below. ?21,IMEI,Return_Phone_Number!
Format Description
?21 Start sign and function code IMEI IMEI of TR-151 Return_Phone_Number The phone number for receiving OK message. ! End sign
TR-151 will send an SMS whose format is “?21,IMEI,OK!” to the return phone number to confirm it has received the request. And then it will start to get fixed the position. After getting fixed the position, it will send its location to the TR-151 call center or GPRS server and to SMS receiver interface like handset.
Example: Require SMS & GPRS immediate report sent to 626-123456 and to GPRS server You have to enter “?21,355632000166323,626123456!”
And then you will get “? 21,355632000166323,OK!”
18
2.1.10 How to make TR-151 to make SMS immediate report by GPRS
server?
You can send a command by GPRS server to ask TR-151 to make SMS immediate report. The format of command is following as: $0,IMEI,Report_Format,Return_Phone_Number!
The table below explains the content of the command.
Format Description
$ Start sign 0 Function code IMEI IMEI code of the TR-151
Report_Format
Return_Phone_Number The phone number for receiving the reporting SMS. ! End sign
0 or 1. 0 is for end user, and 1 is for manageme nt center development
TR-151 will send a message “$OK!” to the GPRS server to confirm it has received the request. And then it will start to get fixed the position. After getting fixed the position, it will send SMS with its location to the return phone number.
For example: If you’d like to ask TR-151 to send immediate report in format0 to 626-123456. You have to enter $0, 355632000166323,0,626123456!
And then you will get $,OK!. After TR-151 get fixed of the position, you will get the position report like
Position report Name 2008/12/15 10:20:39
24.59891,121.29218 GPS fixed
NOTE:
1. If TR-151 can not get fixed the position within the “Maximum GPS Fixing Time”, it will return the previous location. When the GPS position is fixed, it will again return the position data.
2. Please refer to “How to configure TR-151 by GPRS server? “ set Maximum GPS Fixing Time.
3. The unit of coordinates for report format 0 in the immediate report is degree. The unit of coordinates for report format 1 in the immediate report is degree and minute with a 4-digit decimal fraction
19
Loading...
+ 44 hidden pages