Communication Protocol 1
Communication Protocol 1
67Port : 8545
Confirmed Luo
Amendment date
20100629 20100629
2. Get rid of feedback controlling way of Luo mobile phone and set the time command :721GSM fence comand :740 GPS fence command :750Base station quantity feedback command :780Reset command : 903 3. Mobile tracker(LDW-TKM806) default: closed GPRS and AGPS Luo
20100629 20100629
4. All alarm message feedback to center Luo number: such as alarm for come in or got out of fencealarm for low battery 5. If press SOS button to give a alarmthe terminals will upload one alarm message to the centerGPRS server and 3 fixed number and continue to call these 3 numbers The format of alarm message change toIMEI No.+content+latitude and longitude Luo
20100629
6. When 751 set electronic fence shuld use Luo the following format : #751#Radius# Latitude of base point#Longitude of base point#password## 7. Default time zone : East eighth zoneThe Luo time zone can be changed by the command 896 Command 896 change to : #896#time zone#passowrd## 8. Command 988 change to #988#IP Luo address#port number#password## 9. Command 666 new requirment all feedback message are latitude and longitude 10. Add the function for giving alarm as enter the fence. Upload one times alarm for come in and go out of the fence when the tracker powered on and got the position 11. 12. Change AGPS servers address Add AGPS control command Luo
20100629
20100629
20100629 20100629
Luo
20100629
13. To amend message feedback format,add error code when get back the message Chinese version get back chinese format and english version get back english format
14. Add the function for getting alarm Luo when the device swithch off and switch
20100629
on 15. Add the function for Histry inquirySave the data in one dayThe default is half hour. 16. Add the function for Platform send the message to the device directly. The command format of GPRS same as SMS 17. Add the command for Sleep time of GPRS per day. 18. New requirement of GPSwhen you open the device in 10 mintues,if the device got signal from satellite and closed automatilly after 30 seconds, if the device couldnt get the signal from satellite, the GPS will open 5 minutes and closed 5 mintues in turn,if still couldnt get the GPS signal,the GPS will be in status of closed. Luo 20100629
Luo
2010-6-29
Luo Luo
2010-6-29 20100629
Important Notes
The protocol programed by ASCII code to transferUse # as control character in the protocolPls avaid to use # when transferringif cant avoid pls use other character to replace. 2All control and setting command shuld get back confirmed message except for the command of point out.
The protocol RemarkAll setting command start from the character of#Each Group parameter is divided by the character of # when many groups in the commandEvery data is divided by in a group parameter All commands use ## as end character Every command with enter to change the line.
Format of command feedback The formers "CONFIG OK" and "PASSWORD ERR"Change to below: Command feedback of GPRS&15 digit IMEI Number&User Name&Command code&Error code&& Command feedback of SMS 1Chinese&Command code&Description of error in Chinese&& 2English&Command code&Description of error in english&& ExampleSent #710#13800138000#0000## SMS in Chinese&710&&& SMS in English&710&Config OK&& Feedback of GPRS &135790246811222&13486119277&710&0&&
Error code Error code 0 1 2 3 Description in Chinese ... Description in English config ok password error invalid command code ...
3The Terminals protocol of data transfering whether use SMS or GPRS and All command are the same format. 4The Terminal has ability to anti-jamming, can cut off the front and back side unnecessary character of control
command and data transfering bag automatically 5Every terminal have his own IMEI number by 15 digit,and on behalf of the device. 6.All related of longitude and latitude to use of format of degreeAll related of speed to use of Km/h. 9.The default server domain is www.gps288.com ,IP is 59.188.20.67Port number is 8545 10.The devices GPRS & AGPS are closed when come out from the factory. 11.All alarm message feedback to the center number, such as get alarm for go fence and low battery. 12. In case of emergency, please press SOS button over 3 seconds, an emergency will be reported SMS center number with current location, and call the pre-stored numbers in turn. 13.Press SOS button when the device under power offthe device will be power on and get SOS alarm automaticlly. 14.The command of 666 feedback only longitude and latitude. 15.The default time zone is east zone 8, can be changed by the command of 896. 16. New requirement of GPSwhen you open the device in 10 mintues,if the device got signal from satellite and closed automatilly after 30 seconds, if the device couldnt get the signal from satellite, the GPS will open 5 minutes and closed 5 mintues again,if still couldnt get the GPS signal,the GPS will be in status of closed.
Only one phone number can be set per time, as above mentioned three numbers need to send SMS three times separately. The new numbers will replace the old numbers, and it will send confirmation to the sender if the password is right.CONFG OK
1 Command for setup data feedback Format #730#interval(5-65535)#times(0-10)#password -4digit## Notes The default of interval is 0 after come out from the factory. Its mean canel the feedback function when the interval or data group feedback times is 0. The unit of interval is second, The minimum value is 5 second. Maximum of data group feedback times is 10 sets. This command in effect for GPRS upload. Example#730#30#1#0000##The upload timing function will be opened after done the commandEvery 30 seconds taking sampling data once times and feedback one set information. #730#0#0#0000##The upload timing function will be closed after done the command. Upload format of GPRS #IMEI number -15digit#user#State#password#data sort#data# #Information of base station #longitude,latitude,speed,direction#date#time#information of basestation#longitude,latitude,speed,direction#date#time## The device only transfer the effective information of GPSif it didnt get the effective information of GPS in the timeand the device will not open GPRS, if didnt get enough information,the device will also upload the data according to the time. Example Interval is 6 seconds, each time upload 10sets, 1 minute per time #135790246811222#13486119277#1#0000#AUT#10#27bc10af#11407.4189,E,2232.7893,N,0.00,0.66#07 0709#132022.000#27bc10af#11407.4189,E,2232.7898,N,0.00,0.66#070709#132028.000#27bc10af#11407 .4189,E,2232.7902,N,0.00,0.66#070709#132034.000#27bc10af#11407.4190,E,2232.7908,N,0.00,0.66#07 0709#132040.000#27bc10af#11407.4190,E,2232.7912,N,0.00,0.66#070709#132046.000#27bc10af#11407 .4190,E,2232.7913,N,0.00,0.66#070709#132052.000#27bc10af#11407.4192,E,2232.7917,N,0.00,0.66#07 0709#132058.000#27bc10af#11407.4197,E,2232.7974,N,0.00,0.66#070709#132104.000#27bc10af#11407 .4205,E,2232.7972,N,0.00,0.66#070709#132110.000#27bc10af#11407.4211,E,2232.7972,N,0.00,0.66#070 709#132116.000##
E-fence set up
Set up an e-fence for the tracker to restrict its movements within an area. The tracker will send the message to the authorized numbers when it goes beyond the district. If the setting is correct, the tracker will reply CONFIG OK to the sender, and if the password is wrong, it will reply PASSWORD ER.
Tips: Only pre-set number is set successfully, this function can work
Cancel E-fence
Format: #760#password##
Example: #760#0000## After the tracker receiving this command, all fence settings will be cancelled, and return a SMS CONFIG OK. The device will reply PASSORD ER if the formats password is wrong.
2 Command for setting user name Format #801#letter or number with 4-20digit#password 4digit## Notes The command use for setting user name The length of user name is 420 digitmake up by number and letterthe letter shuld match upper/lower case. Example#801#13900139000#0000##After this command,the user name will be set to 13900139000.
9. Set APN Command Create the SMS 802#APN letters or digits, 4-20 bits # Log user name letters or digits 4-20 bits in # Log password letter or digits 4-20 bits in # terminal password 4 bits ## and send it to the terminal; after executing this command, the terminal will automatically restart and connect to GPRS with APN set. Command example 1: #802#cmnet###0000## Command example 2: #802#CCDLEN#QIUXIA.21#RX0000#0000## After this command is executed, APN will be CCDLEN; the login user name is QIUXIA.21 and login password is RX0000. Note: The default APN of this product is CMNET.
10Setup
of Server Address
Command Format: #803# Fixed IP address# port number#4-digit password## This command is used to set GPRS center server address, which could be fixed IP number, like IP1, IP2, IP3, IP4as well as domain name with the length less than 64. After the setup is successful, the module will send a reply with &803&successful setting&& or &803&PASSWORD ER&& if the password is wrong. Example: #803#59.188.20.67#8545#0000## Setup via domain name: Example: #803#http://www.gps288.com#8545#0000##
11Command for setting IP of Location inquiry server Format #988#server IP#Port number#password-4digit## Notes The command for setting IP of location inquiry server,The default IP same as center server The server IP can be fixed IP, Format isIP1. IP2. IP3. IP4 Also can be domainthe length less than 64digit. Example#988#59.188.20.67#8545#0000##
12Command for setting time zone Format#896#Dnnmm#password-4digit## Notes D take the value of E,WE mean east time zoneW mean west time zone,should be written by capital; nn mean the number of time zone, fixed by 2 digit number,take the value is0012; mm mean minute difference,fixup is 2 digit number,take the value is0059 The default time zone is east 8 zoneBeijing time When config ok aAll feedback location information under SMS,the time need add / deduct XX. bTime of MMI interface adjusted by GPS also need add/deduct XX. cThe time no need add/deduct the time zone when Upload data under GPRS,and should upload data according to the orginal one. Example#896#E0800#0000## set the time zone is East zone 8.
1313Command for setting dormant time of GPS Format#930#number of week#time quantum 1&time quantum 2&time quantum 3......#password of user## NoteGPS module sleeping in the time quantum
Example#930#1-3#0830-0900&1000-1300&1523-2359#0000## After done the commandfrom Monday to wendesday,8:30~9:0010:00~13:0015:23~23:59 GPS module sleeping in these 3 quantums. Notes
(1)Number of week range 1~7; (2)while set the number of week is 0Its mean cancel all dormant time of GPS; (#930#0#0000##) (3)In order to avoid SMS command too long and set one command only one week step"; If need set more week steps and need more commands.if some week steps in turn,and the final setting will be the priority. (4)Maxmium week steps is 6,its mean one command at most has 5pcs '&'; (5)Minimum week steps is 0its mean cancel dormant time of GPS in this week step;(#930#1-3##0000##) (6)Time format is 24hours, Format :HHMM-HHMMany time step interval in one command is degress intersection interval.
http//map.google.com/?q=22.677327N,114.120738E SPEED:0.22240KM/H Time:10:47:18 Date:03/05/11 IMEI:353509000924608 Visit the link by your phone or computer; you will know the name of the location in detail.
2 SMS location inquiry-2 Format987+0000 NotesThis command use to get a URL of present location for the unit if the device get the effective location information in 60 seconds and send the URL of GPS locating,if not will send the URL of base station locating, and the inquiry mobile can get the location information from the
internet. RemarkThe return URL is passed encrypting treatmentuser no need to know the details,just make connection.
Example #135790246811222#13486119277#1#0000#LPD#1#27bc10af#11407.4182,E,22 32.7632,N,0.00,179.50#070709#134147.000## NotesThe longitude and latitude are 0 when the upper feedback data didnt get the effective data of GPS.
3 Command for getting and reading SMS-1User related parameter Format#901## NotesOnly for the designer,not for user Feedback Format of Terminal #SMS center number#Password#User#User password#Number.1#Number.2#Number.3#IMEI## Example Feedback content of Terminal #15818537150#0000#1510750291#0000#1360256260#15814058277#1584058587#356823030000009#
4 Command for getting and reading SMS-2GPRS related parameter Format#902## NotesOnly for the desinger not for user Feedback Format of Terminal #Sampling time#Sampling quantity#apn#apn User apn password#IP#Port number#Version Example Feedback content of Terminal #6#5#cmnet###210.82.89.132#8123#2009/11/011109 V0.23
5 Command for connecting GPRS Format#904#User password## 6 Command for cutting GPRS Format#905#User password##