Prévia do material em texto
<p>Real Tracker Software and Hardware</p><p>1 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>J-4 Network Communication Protocol (TCP)</p><p>Part one: GPRS protocol data structure</p><p>GPRS protocol data structure from Center sending to terminal device as follows:</p><p>*ET,SN,CMD,DATA#</p><p>* Command start</p><p>ET The name of manufacturer</p><p>, Partition</p><p>SN device SN (IMEI number)</p><p>CMD Command key word, the length is 2 bytes, marking type of command</p><p>DATA The content of the data. The content and format is depending on the Command</p><p>Example of GPRS protocol data from center sending to terminal device:</p><p>*ET,860016023123456,RG,6CE8518C6210529FFF015BC67801662F003000310032003300340035FF01#</p><p>GPRS protocol data structure from terminal device sending to center as follows:</p><p>*ET,SN,CMD,A/V,YYMMDD,HHMMSS,Latitude,Longitude,Speed,Course,Status,Signal,External_ power,Oil,LC,</p><p>altitude,sat,Backup_Power#</p><p>* Command start</p><p>ET The name of manufacturer</p><p>, Partition</p><p>SN device SN (IMEI number)</p><p>CMD command key word, the length is 2 bytes, marking type of command</p><p>A/V Data validity. Length is 1, A means GPS data is available, V mean data is unavailable, L</p><p>means base station data</p><p>YYMMDD Date of GPS data. 6 bytes, in hexadecimal, e.g.: Nov.8th, 2006 is displayed as 060B08.</p><p>HHMMSS Time of GPS data. 6 bytes, in hexadecimal, e.g.: 13:25:08 is displayed as: 0D1908</p><p>Latitude Latitude of GPS data, 8 bytes, in hexadecimal. If the first digit of the hexadecimal is 8, it is</p><p>Real Tracker Software and Hardware</p><p>2 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>south latitude, and 8 should be taken out, then convert to decimal, and divide 600000.</p><p>eg:</p><p>00D8ACC0, convert to decimal is 14200000, then divide 600000 is 23.666667 degrees north</p><p>80D98122, take out first byte 8, is D98122, convert to decimal is 14254370, then divide</p><p>600000, is 23.7572833 south</p><p>Longitude Longitude of GPS data, 8 bytes, in hexadecimal. If it is west longitude, the first digit of the</p><p>hexadecimal is 8, and 8 should be taken out, then convert to decimal, and divide 600000.</p><p>eg:</p><p>0410A640, convert to decimal is 68200000, then divide 600000 is 113.666667 degrees east</p><p>81AA7A7A, take out first byte 8, is 1AA7A7A, convert to decimal is 27949690, then divide</p><p>600000, is 46.5828167 west</p><p>Speed Unit is one hundredth of one byte, is a 2-bytes short integer.</p><p>E.g.: speed is 12.6, multiply 100, equal as 1260, convert to hexadecimal: 04EC, insufficient</p><p>bits with 0 supplement</p><p>Course azimuth angle., north for 0 degree, clockwise, Unit is one hundredth byte, is 2-bytes short</p><p>integer.</p><p>Eg: azimuth angle 30.5 degrees, multiplied by 100, get 3050, then convert 16 hexadecimal:</p><p>0BEA, insufficient bits with 0 supplements.</p><p>Status Device status. Consist by 4 bytes. The values are in below table.</p><p>Signal GSM signal intensity, from 0-32</p><p>External</p><p>Power</p><p>Value of the external battery</p><p>Oil Fuel capacity. (Hexadecimal)</p><p>LC mileage, correct to 0.1 km, e.g., the uploaded data is 00F123, convert to decimal is 61731,</p><p>and then device 10 is the actual mileage 6173.1 KM</p><p>Altitude Altitude. Value is by meter. It is a 2 bytes integral. Example: hig=100 means 100 meters.</p><p>Sat Number of satellites seen by the device.</p><p>Backup</p><p>Power</p><p>Value of the device battery</p><p>Example of GPRS protocol data from terminal device sending to center:</p><p>*ET,860016023123456,DW,A,0A090D,101C0D,00CF27C6,0413FA4E,0000,0000,00000000,20,121,0000,</p><p>00F123,100,12, 42#</p><p>Real Tracker Software and Hardware</p><p>3 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Part two. Device status codes.</p><p>Consist by 4 bytes. The blank ones are to be determined</p><p>Item</p><p>number</p><p>First byte Second byte Third byte Fourth byte</p><p>0</p><p>Alarm mode SOS alarm alarm against enter</p><p>geo-fence 1(Round shape)</p><p>Sudden acceleration</p><p>Alarm</p><p>1</p><p>alarm against enter</p><p>platform geo-fence</p><p>(Square shape geo-fence)</p><p>Movement alarm alarm against exit geo-fence</p><p>1 (Round shape)</p><p>Sudden Braking</p><p>Alarm</p><p>2</p><p>alarm against exit</p><p>platform geo-fence</p><p>(Square shape geo-fence)</p><p>Alarm against</p><p>external power cut</p><p>alarm against enter</p><p>geo-fence 2 (Round shape)</p><p>Door open alarm:1</p><p>Door close alarm:0</p><p>3</p><p>low voltage of backup</p><p>battery</p><p>Cut off engine</p><p>power</p><p>alarm against exit geo-fence</p><p>2 (Round shape)</p><p>Jammer detection:1</p><p>Jammer detection:0</p><p>4</p><p>GPS malfunction Car door opened alarm against enter</p><p>geo-fence 3 (Round shape)</p><p>5</p><p>Vibration alarm Alarm of other car</p><p>anti-theft device</p><p>alarm against exit geo-fence</p><p>3 (Round shape)</p><p>6 Car is driving Power saving mode</p><p>7</p><p>Over-speed alarm ACC on</p><p>ignition on=1;</p><p>ignition off=0</p><p>Table for the status value:</p><p>Alarm mode 01000000</p><p>alarm against enter platform geo-fence 02000000</p><p>alarm against exit platform geo-fence 04000000</p><p>low voltage of backup battery 08000000</p><p>GPS malfunction 10000000</p><p>Vibration alarm 20000000</p><p>Car is driving 40000000</p><p>Over-speed alarm 80000000</p><p>SOS alarm 00010000</p><p>Movement alarm 00020000</p><p>Alarm against external power cut 00040000</p><p>Cut off engine power 00080000</p><p>Car door opened 00100000</p><p>Alarm of other car anti-theft device 00200000</p><p>Power saving mode 00400000</p><p>Real Tracker Software and Hardware</p><p>4 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>ACC on 00800000</p><p>alarm against enter geo-fence 1 00000100</p><p>alarm against exit geo-fence 1 00000200</p><p>alarm against enter geo-fence 2 00000400</p><p>alarm against exit geo-fence 2 00000800</p><p>alarm against enter geo-fence 3 00001000</p><p>alarm against exit geo-fence 3 00002000</p><p>Example:</p><p>ACC on and movement alarm is 40020000, over speed and sense of motion is A0000000</p><p>Note:</p><p>1. When ACC on (00800000), there will be status code 40000000 (car is driving). If ignition is off but sensed</p><p>continuous vibration, car is also regarded as driving</p><p>2. Only when alarm mode is on (01000000), there will be vibration alarm (20000000) or movement alarm</p><p>(00020000).</p><p>Ignition Alerts</p><p>Virtual ignition off, acc on, unblocked vehicle 00800000</p><p>Virtual ignition off, acc on, blocked vehicle 00880000</p><p>Virtual ignition off, acc off, unblocked vehicle, external Power cut 01040000</p><p>Virtual ignition off, acc off, unblocked vehicle 01000000</p><p>Virtual ignition off, acc off, blocked vehicle 01080000</p><p>Virtual ignition off, acc off, blocked vehicle, external Power cut 010C0000</p><p>Virtual ignition on, door sensor on, vehicle unblocked, Movement 00800004</p><p>Virtual ignition on, door sensor on, vehicle blocked, Movement 00880004</p><p>Virtual ignition on, door sensor on, vehicle unblocked 01000004</p><p>Virtual ignition on, door sensor off, vehicle unblocked 01000000</p><p>Virtual ignition on, door sensor off, vehicle unblocked, external Power CUT 01040000</p><p>Virtual ignition on, door sensor off, vehicle blocked 010C0000</p><p>Virtual ignition on, door sensor off, vehicle blocked, external power cut 010C0000</p><p>Real Tracker Software and Hardware</p><p>5 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Part three. Command list</p><p>↑means data sent from device to server</p><p>↓means data sent from server to device</p><p>No.# CMD Description</p><p>1 RG ↑ The command to register device on platform.</p><p>2 HB ↑ The command to send HB data content. When car speed is 0, the data is sent each 10</p><p>minutes, and when car is driving, the data is sent each 20 seconds.</p><p>3 GZ ↓ The command to track device. After device received this command, it stops sending HB,</p><p>and send DW according to demand. Platform will not reply</p><p>4 FD ↓ The command to set alarm mode and control engine power (need connect relay to</p><p>control engine power). Only after activate alarm mode, there will be vibration alarm and</p><p>movement alarm</p><p>5 AM ↑ The command to send alarm message.</p><p>6 FE ↓ The command of platform to set square geo-fence.</p><p>7 UP ↑ The command to require server reply, in order to make sure the device is communicating</p><p>with server. It is sent each 5 minutes, and server need to reply in time, otherwise device</p><p>will keep sending UP each 30 seconds. If server still not reply device after device</p><p>sending 9 UP</p><p>data, device will restart.</p><p>8 PW ↑ The command to get service password.</p><p>9 MM ↓ The command to get device password.</p><p>10 DW ↑ The command to get position information. It is to query the detail address of device.</p><p>11 OD ↓ The command to set over-speed limit. It is sent from server</p><p>12 TX ↑ if HB interval is set too long, the device will lost contact with server. Therefore TX is</p><p>used here to keep contact with server. (TX data is sent each 3 minutes, and server should</p><p>reply it. If no reply, device will send this data each 30 seconds.)</p><p>13 DX ↓ The command to send SMS content.</p><p>14 IP ↓ IP set up.</p><p>15 LC ↓ The command to correct mileage.</p><p>16 SP ↓ The period of sleep mode that the device will wake up automatically.</p><p>17 AC ↓ Period till device goes to sleep mode after engine power off and no sense of vibration</p><p>18 ZD ↓ Motion sensor sensitivity set up</p><p>19 HT ↓ Heart beat time set up</p><p>20 PM ↓ Power saving mode set up</p><p>21 ZH ↓ Set main monitoring number</p><p>22 FH ↓ Set secondary monitoring number</p><p>23 SQ ↓ Time zone</p><p>24 LG ↓ Set language</p><p>25 WL ↓ Set round geo-fence</p><p>27 MG ↓ SMS on and off</p><p>28 CQ ↓ Restart device</p><p>29 KS ↓ SMS command sent from server</p><p>30 CX ↓ Check status</p><p>6 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>31 JZ ↓ Locate by cell tower</p><p>32 CC ↓ ACC on record</p><p>33 MQ ↑ Upload data which is stored while no GSM</p><p>34 SE ↑ Device sends data with sensor values</p><p>Commands detail description</p><p>3.1 Registration - RG</p><p>*ET,SN,RG,M_SIM#</p><p>M_SIM:User mobile phone number (main</p><p>monitoring number) E.g.:</p><p>*ET,860016023123456,RG,13691779574#</p><p>Platform replies:</p><p>*ET,SN,RG,OK#</p><p>E.g.:</p><p>*ET,860016023123456,RG,OK#</p><p>3.2 Heartbeat data – HB (terminal device send data to server to report)</p><p>*ET,SN,HB,A/V,YYMMDD,HHMMSS,Latitude,Longitude,Speed,Course,Status,Signal,Power,</p><p>oil,LC, altitude ,tolerance#</p><p>E.g.:</p><p>*ET,860016023123456,HB,A,050915,0C2A27,00CE5954,04132263,0000,F000,01000000,</p><p>20,4,0000, 00F123,100,200#</p><p>Platform replies:</p><p>*ET,SN ,HB,OK #</p><p>*ET,860016023123456,HB,OK#</p><p>3.3 Tracking and monitoring – GZ</p><p>*ET,SN,GZ, Count,Interval,ServerIp,UdpPort,,RUN#</p><p>Interval: the interval of sending data. It is a 2 bytes integral, value range from 5 ~ 65535, by seconds count</p><p>: The frequency times that terminal device sending positioning data to server. It is a 2</p><p>bytes integral, and if value is 65535, the device will keep sending data until you require it to stop.</p><p>ServerIp: Server IP address UdpPort</p><p>: Server port number</p><p>RUN: UDP channel is running. 1 stands for running, 0 stands for not running.</p><p>7 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>This command requires terminal device send data by “interval”, send “count” pieces positioning</p><p>data. The utmost frequency time is 65534. After device gets this command, it will send data to server.</p><p>If “count” is 65535, means device will keep sending data until receive command to stop. If “count” is</p><p>1, then “interval” is invalid,</p><p>means only send 1 piece of positioning data.</p><p>If need device to stop sending positioning data, you just need to send DW command.</p><p>Note: after sending DW command, device will stop sending HB data, but just send DW.</p><p>e.g.:</p><p>*ET,860016023123456,GZ,0001,0005,211.154.136.151,141e,1#</p><p>Reply format from terminal device:</p><p>*ET,SN,GZ,CountLeft,Interva #</p><p>CountLeft: The value of how many positioning data need to send. If you need device to keep</p><p>sending data, this parameter is set to 0.</p><p>Interval: Interval of</p><p>sending data E.g.:</p><p>*ET, 860016023123456,GZ,0001,0005#</p><p>3.4 Alarm mode setup and engine power control - FD</p><p>*ET,SN,FD,FxYx#</p><p>E.g.:</p><p>*ET, 860016023123456,FD,F1Y1#</p><p>Reply format from terminal device:</p><p>*ET,SN,FD,Fxy,Yxy#</p><p>F:1. Set up anti-theft mode; 2. Remove anti-</p><p>theft mode Y:1. Cut power; 2. Connect power</p><p>x:1 means execute command 1; 2 means execute command 2. E.g., F1 means set up anti-theft mode, Y2</p><p>means connect power</p><p>y:0 means fail to execute; 1 means execute successfully. E.g.: F10 means fail to set up anti-theft</p><p>mode, F21 means successfully cancelled anti-theft mode.</p><p>Note:</p><p>1. Each command is optional, you just need to send code of command</p><p>2. While terminal device execute the command, the sequence is from left to right</p><p>8 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>Example of server send anti-theft command, to send set up anti-theft mode (F1), connect power (Y2)</p><p>*ET,860016023123456,FD,F1Y1#</p><p>Terminal device replies:</p><p>*ET,860016023123456,FD,F11,Y21#</p><p>3.5 Alarm – AM</p><p>Format sent from device:</p><p>*ET,SN,AM,A/V,YYMMDD,HHMMSS,Latitude,Longitude,Speed,Course,Status,Signal,Power,oil,LC#</p><p>The data is sent from terminal to server, to report alarm to server. The cause of alarm depends on the</p><p>status</p><p>string in GPRS protocol data.</p><p>3.6 Square geo fence – FE</p><p>*ET,SN,FE,Mode,TotalCount,CurrentCount,Type,LatitudeLT,LongitudeLT,LatitudeRB,LongitudeRB;Type,Latitu</p><p>deLT,LongitudeLT,LatitudeRB,LongitudeRB;Type,LatitudeLT,LongitudeLT,LatitudeRB,LongitudeRB;Time#</p><p>Mode Download mode. “0” Remove the car terminal original fence, then add fences; “1” adding</p><p>fence based on original fences.</p><p>TotalCount Total amount of downloaded fence, if it is 0, mode will also be 0, means removing all</p><p>fences.</p><p>CurrentCount Current fence count</p><p>Type Fence style: 0 enter prohibit, 1 exit prohibited</p><p>LatitudeLT Latitude of fence left top</p><p>LongitudeLT Longitude of fence left top</p><p>LatitudeRB Latitude of fence right bottom</p><p>LongitudeRB Longitude of fence right bottom</p><p>Time Interval of alarm, by minute. Value range from 0000 to FFFF. 0000 means only send alarm</p><p>once</p><p>Remark:</p><p>Every GPRS protocol data should send more fence records. Between Every positioning record</p><p>should be separated by semicolon “;”</p><p>Reply format from terminal device:</p><p>*ET,SN,FE,Result,RealCount#</p><p>Result: Fence receive result, “0” failure,</p><p>“1” success. RealCount: Actual received fence</p><p>amount.</p><p>9 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>e.g.: platform sends:</p><p>*ET,860016023123456,FE,0,02,00,0,015f5ff3,03c9658c,018d94a7,042df2b0;0,018e6fb4,045bc136,0</p><p>174c433,0 4809fa1#</p><p>Terminal device replies:</p><p>*ET,860016023123456,FE,1,01#</p><p>3.7 Device send data to server to query UDP channel information – UP(In the</p><p>process of updating. Not used at this time.)</p><p>Format sent from terminal device</p><p>*ET,SN,UP #</p><p>E.g.:</p><p>*ET,860016023123456,UP#</p><p>Platform replies:</p><p>*ET,SN ,UP #</p><p>*ET,860016023123456,UP#</p><p>3.8 Get service password - PW</p><p>Format sent from terminal device</p><p>*ET,SN,PW,#</p><p>Platform replies:</p><p>*ET,SN,PW,msg #</p><p>Msg:msg is Unicode string. The SMS content including service password.</p><p>3.9 Get device password – MM</p><p>Format sent from terminal device:</p><p>*ET,SN ,MM,PassWord#</p><p>PassWord: device password</p><p>Platform replies:</p><p>*ET,SN,MM#</p><p>*ET,860016023123456,MM #</p><p>10 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>3.10 To get detail address information - DW</p><p>Format sent from device:</p><p>*ET,SN,DW,A/V,YYMMDD,HHMMSS,Latitude,Longitude,Speed,Course,Status,Signal,External_power,Oil,LC,</p><p>altitude,sat,Backup_Power#</p><p>E.g.:</p><p>*ET,860016023123456,DW,A,0A090D,101C0D,00CF27C6,0413FA4E,0000,0000,00000000,20</p><p>,121,0000, 00F123,100,12, 42#</p><p>Format sent from server:</p><p>*ET,SN,DW,OK #</p><p>E.g.:</p><p>*ET,860016023123456,DW,OK#</p><p>Msg: msg is Unicode character string</p><p>Note: This msg is the message of detail address, which is the longitude and latitude get from device,</p><p>then uploads to server and gets the detail address from server.</p><p>3.11 Over speed alarm set up - OD</p><p>Format sent from server:</p><p>*ET,SN,OD,Speed#</p><p>Speed: value of over speed(hexadecimal)</p><p>Device replies:</p><p>*ET,SN,OD,Speed#</p><p>3.12 Terminal device send data to server to advice it is online – TX</p><p>*ET,SN,TX,V,YYMMDD,HHMMSS#</p><p>A/V: Data validity. Length</p><p>is 1, A means GPS data is available, V mean data is unavailable,</p><p>L means base station data</p><p>YYMMDD: Date of GPS data. 6 bytes, in hexadecimal, e.g.: Nov.8th, 2006 is displayed as 060B08.</p><p>HHMMSS: Time of GPS data. 6 bytes, in hexadecimal, e.g.: 13:25:08 is displayed as: 0D1908</p><p>E.g.:</p><p>Device sends:</p><p>*ET,860016023123456,TX,V,0c0101,011002#</p><p>Server replies:</p><p>*ET,860016023123456,TX,V,0c0101,011002#</p><p>11 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>3.13 Send SMS content from server - DX</p><p>Format sent from server:</p><p>*ET,SN,DX,msg#</p><p>Msg:msg is Unicode character string. Here is the content of</p><p>SMS. Device replies:</p><p>*ET,SN,DX#</p><p>3.14 Modify IP and port – IP</p><p>Format sent from server:</p><p>*ET,SN,IP, INDEX,IP,PORT#</p><p>INDEX:1 stands for primary IP, 2 stands for secondary IP; 3 stands for</p><p>Google IP IP:IP address(32 bits)</p><p>PORT:port number</p><p>E.g.: To set IP2 to 218.17.25.195#5150# *ET,001234561234567,IP,2,C31911DA,141E#</p><p>Reply format from terminal device:</p><p>*ET,SN,IP #</p><p>3.15 Mileage correction – LC</p><p>Format sent from server:</p><p>*ET,SN,LC,mileage#</p><p>mileage: the mileage which need to initialize, and it is a hexadecimal, and need to correct to 0.1 km.</p><p>E.g.: if need to correct to 6173.1 km, need to multiply by 10, that is 61731, and then convert to hexadecimal</p><p>00F123</p><p>Reply format from terminal device:</p><p>*ET,SN,LC,mileage#</p><p>3.16 Sleep mode period - SP</p><p>Format sent from server:</p><p>*ET,SN,SP,TIME#</p><p>12 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>TIME: the period till wake up:0 --- FFFF minutes</p><p>example:</p><p>*ET,860016023123456,SP,00FF#</p><p>device replies:</p><p>*ET,860016023123456,SP,00FF#</p><p>After set, device will wake up from sleep after 255 minutes</p><p>3.17 Period till device goes to sleep mode after engine power off - AC</p><p>Format sent from server:</p><p>*ET,SN,AC,TIME,1#</p><p>TIME: the period till go to sleep:0 --- FFFF minutes</p><p>example:</p><p>*ET,860016023123456,AC,0005,1#</p><p>device replies:</p><p>*ET,860016023123456,AC,0005,1 #</p><p>After set this, when device in power saving mode, if ignition is off for 5 minutes, device will go to sleep.</p><p>3.18 Motion sensor sensitivity – ZD</p><p>Format sent from server:</p><p>*ET,SN,ZD,NUM#</p><p>NUM: sensitivity level:00----0A (00 means vibration detection off. 01 means highest sensitivity, and</p><p>0A means lowest sensitivity)</p><p>example:*ET,860016023123456,ZD,05 #</p><p>device replies:</p><p>*ET,860016023123456,ZD,05 #</p><p>3.19 Heart beat time set up - HT</p><p>Format sent from server:</p><p>*ET,SN,HT,TIME0,TIME1#</p><p>TIME0: data transmission interval while car is driving:0005——FFFF seconds TIME1</p><p>: data transmission interval while car is parking:0005——FFFF seconds</p><p>example:*ET,860016023123456,HT,05,0A #</p><p>device replies:</p><p>*ET,860016023123456,HT,05,0A#</p><p>13 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>3.20 Power saving mode - PM</p><p>Format sent from server:</p><p>*ET,SN,PM,MODE#</p><p>MODE: 00= power saving mode off;01=power saving mode on</p><p>Example:*ET,860016023123456,PM,01#</p><p>device replies:</p><p>*ET,860016023123456,PM,01#</p><p>3.21 Set main monitoring number - ZH</p><p>Format sent from server:</p><p>*ET,SN,ZH,NUMBER#</p><p>NUMBER: main monitoring number Example:</p><p>*ET,860016023123456,ZH,008615859881788#</p><p>device replies:</p><p>*ET,860016023123456,ZH, 008615859881788#</p><p>3.22 secondary monitoring number set up - FH</p><p>Format sent from server:</p><p>*ET,SN,FH,MODE,NUMBER#</p><p>MODE: mode:MODE=00,means add a number; MODE=01, means delete a number;</p><p>MODE=0A,means delete all numbers</p><p>NUMBER: a SIM number</p><p>Example:add a secondary monitoring number</p><p>*ET,860016023123456,FH,00,008615859881788#</p><p>Example:add more than 1 secondary monitoring number:(you can add maximum 10 numbers,each</p><p>numbers should be separated by “*”)</p><p>*ET,860016023123456,FH,00,008615859881788*008615859881788*008615859881788*008615859881788#</p><p>Example:delete a secondary monitoring number</p><p>*ET,860016023123456,FH,01,008615859881788#</p><p>Example:delete all secondary monitoring numbers</p><p>*ET,860016023123456,FH,0A#</p><p>Note:secondary monitoring numbers should be deleted one by one or delete all in once</p><p>device replies:</p><p>*ET,860016023123456,FH,res#</p><p>RES=00 means delete</p><p>14 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>failed; RES=01 means</p><p>delete successfully;</p><p>3.23 Time zone set up</p><p>Format sent from server:</p><p>*ET,SN,SQ,TIME #</p><p>TIME: value range from -13.0 to</p><p>13.0(float) Example:</p><p>*ET,860016023123456,SQ,8.0#</p><p>device replies:</p><p>*ET,860016023123456,SQ,8.0#</p><p>3.24 Language set up - LG</p><p>Format sent from server:</p><p>*ET,SN,LG,MODE #</p><p>MODE: 00=Chinese;01=English;02=Thai;</p><p>03=Indonesian Example:</p><p>*ET,860016023123456,LG,01#</p><p>device replies:</p><p>*ET,860016023123456,LG,01#</p><p>3.25 Round Geo-fence set up - WL</p><p>Format sent from server:</p><p>*ET,SN,WL,time,all,mode,num,rad,Latitude,Longitude;mode,num,rad,Latitude,Longitude;</p><p>mode,num,rad,Latitude,Longitude#</p><p>Time: alarm sending interval: value from 0000 ---- FFFF by minutes,0000 means only send</p><p>alarm</p><p>once</p><p>all: total amount of downloaded fence, if it is 0, mode will also be 0, means removing</p><p>all fences. mode: fence mode. 1 alarm against exit fence,2 alarm against entering fence,3 alarm</p><p>by</p><p>both。num: number of fences:maximum can set 3,each is marked:</p><p>15 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>1, 2, 3 rad: radius:01F4 --- FFFF(500 to 65535)</p><p>Latitude:</p><p>Cente</p><p>r latitude Longitude:</p><p>Cente</p><p>r longitude Note:</p><p>Every GPRS protocol data should send more fence records. Between Every positioning record</p><p>should be separated by semicolon “;”</p><p>Example:</p><p>*ET,860016023123456,WL,000A,03,01,01,01F4,015f5ff3,03c9658c;03,02,01F4,018e6fb4,045bc136 ;02,03,01</p><p>F4,018e6fb4,045bc136 #</p><p>Device replies:</p><p>*ET,SN,FE,Result,RealCount#</p><p>Result: Fence receive result, “0” failure,</p><p>“1” success. RealCount: Actual received fence</p><p>amount.</p><p>3.27 SMS on and off - MG</p><p>Format sent from server:</p><p>*ET,SN,MG,MODE#</p><p>MODE: 00 means not reply SMS, 01means reply SMS。</p><p>Example:*ET,860016023123456,MG,01#</p><p>Device reply:</p><p>*ET,860016023123456,MG,01#</p><p>3.28 device restart - CQ</p><p>Format sent from server:</p><p>*ET,SN,CQ#</p><p>Example :*ET,860016023123456,CQ#</p><p>Device reply:</p><p>*ET,860016023123456,CQ#</p><p>16 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>3.29 SMS command sent from server - KS</p><p>Format sent from server:</p><p>*ET,SN,KS,SMS_CMD,NUMBER#</p><p>SMS_CMD: is the SMS content string. Note: if there is “,” or “#” in any of the SMS string,</p><p>should convert to “*” and then send to device, otherwise the command is invalid.</p><p>NUMBER: the phone number SMS should reply to. If this is blank, then just execute the</p><p>function, but no SMS confirmation</p><p>Example: send the SMS command from server, and need get SMS reply</p><p>*ET,860016023123456,KS,DW,15814021151#</p><p>If no need get SMS reply:</p><p>*ET,860016023123456,KS,DW,#</p><p>Device reply:</p><p>If successful:</p><p>*ET,860016023123456,KS,01#</p><p>If fail:</p><p>*ET,860016023123456,KS,00#</p><p>Common KS Commands</p><p>3.29.1 Immediate Blocking</p><p>To active relay from blocking with</p><p>equipment. Server Sent:</p><p>*ET,860016023042034,KS,relay*123456*2#</p><p>Device Reply:</p><p>*ET,860016023042034,KS,2#</p><p>3.29.2 Blocking</p><p>In this mode, the blocking is</p><p>progressing. Server Sent:</p><p>*ET,860016023042034,KS,relay*123456*1#</p><p>Device Reply:</p><p>*ET,860016023042034,KS,1#</p><p>17 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>3.29.3 Unblock</p><p>Server Sent:</p><p>*ET,860016023042034,KS,relay*123456*0#</p><p>Device Reply:</p><p>*ET,860016023042034,KS,0#</p><p>3.29.4 Param</p><p>Server Sent:</p><p>*ET, 862874040614120,KS,param*123456*#</p><p>Device Reply:</p><p>*ET,862874040614120,KS,1,ID:862874040614120 APN:conexao.getrak.com.br</p><p>IP:200.98.119.83:6000(iot-</p><p>gateway-1.mottu.com.br:8087,0) Interval:30(AccOn),30(AccOff) MODE:1 Time zone:-3.0 Admin[1]:</p><p>Admin[2]: Admin[3]:#</p><p>3.29.5 Ver</p><p>Server Sent:</p><p>*ET, 862874040614120,KS,ver*123456*#</p><p>Device Reply:</p><p>*ET,862874040614120,KS,1,Etrack App Ver:V6.0.9 HW</p><p>Ver:ULURU_2503D_RDA6625E_XGENSOR_HW_V21 OS Ver:U7.ULURU.IOT.V6.02.21</p><p>Build:2022/03/26 15:17#</p><p>3.29.6 Status</p><p>Server Sent:</p><p>*ET, 862874040614120,KS,status*123456*#</p><p>Device Reply:</p><p>*ET,862874040614120,KS,1,ID:862874040614120 DOOR:0 MILEAGE:0.000km V-BAT:4.17V EX-</p><p>BAT:11V GSM:40 GPS SAT:10 GPRS:Normal V-IGN:On#</p><p>3.29.7 Sudden break/acceleration Enable</p><p>Server Sent:</p><p>*ET, 862874040614120,KS, alarmmode*123456*16*5#</p><p>Device Reply:</p><p>*ET,862874040614120,KS,1 #</p><p>18 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>Disable</p><p>Server Sent:</p><p>*ET, 862874040614120,KS, alarmmode*123456*16*0#</p><p>Device Reply:</p><p>*ET,862874040614120,KS,1 #</p><p>3.30 check device status - CX</p><p>Format sent from server:</p><p>*ET,SN,CX#</p><p>Example:*ET,860016023123456,CX#</p><p>Device reply:</p><p>*ET,860016023123456,CX,message#</p><p>3.31 locate by cell tower - JZ</p><p>Format sent from device:</p><p>*ET,SN,JZ,RESULT,CELL_ID,LAC,MCC,MNC#</p><p>RESULT=0, means no need to reply from server.</p><p>RESULT=1, means server reply the detail information of the cell tower.</p><p>CELL_ID:cell</p><p>tower ID LAC:</p><p>code of the position</p><p>MCC=mobile</p><p>country code MNC</p><p>=mobile network</p><p>code</p><p>Example: ET,860016023123456,JZ,1,CELL_ID,LAC_N,460,00#</p><p>Server reply:</p><p>*ET,860016023123456,JZ, Msg#</p><p>Msg:msg is Unicode string</p><p>19 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>3.32 ACC record - CC</p><p>*ET,SN,CCn,A/V,YYMMDD,HHMMSS,Latitude,Longitude,Speed,Course,Status,Signal,Power,oil,LC,altitu</p><p>de # Device sends this data to server to report the time of engine on/off. The status code will state whether it</p><p>is engine power on or engine power off.</p><p>CCn: time zone number</p><p>3.33 upload data stored while no GSM – MQ</p><p>When device uploads stored data to server, it will send this command first. If server not replies,</p><p>means data cannot be uploaded. If server replied, device will upload data</p><p>Format sent from device:</p><p>*ET,SN,MQ#</p><p>Example:</p><p>*ET,860016023123456,MQ#</p><p>Server reply:</p><p>*ET,SN,MQ#</p><p>Example:</p><p>*ET,860016023123456,MQ</p><p>3.34 Device sends data with sensor values - SE</p><p>The Sensor Packet follows the device’s own communication interval (sensor packet (SE) is sent together with</p><p>position packet (DW) but in a separate string)</p><p>Packet Syntax</p><p>*ET,SN,SE,TYPE,SENSORDATA,DOOR1,DOOR2#</p><p>Syntax Description</p><p>Depending on the mode set in TYPE, SENSORDATA will display the following data:</p><p>TYPE:</p><p>IB – iButton Sensor ID</p><p>RF – RFID Sensor ID</p><p>TP – Temperature Sensor</p><p>DR – Target Door (DOOR1 by default)</p><p>DOOR1 and DOOR2 are values referring to the J4’s auxiliary hardware connection and can have values of</p><p>ON (1) OFF (0), similar to the operation of a door sensor.</p><p>While in Door Sensor mode (Type DR), it will disregard the auxiliary hardware connection and will validate</p><p>door sensor only through the 1-Wire connection.</p><p>20 / 20</p><p>Ver 1.1 Updated on 31-05-2024</p><p>Real Tracker Software and Hardware</p><p>Example:</p><p>Position Packet</p><p>*ET,862874041123456,DW,A,0A090D,101C0D,00CF27C6,0413FA4E,0000,00 00,00000000,20,121,0000,00F123,100,12,42#</p><p>+Sensor Packet (iButton Type)</p><p>*ET,862874041123456,SE,IB,12345678,0,0#</p><p>RFID TYPE</p><p>*ET,862874041123456,DW,A,0A090D,101C0D,00CF27C6,0413FA4E,0000,00 00,00000000,20,121,0000,00F123,100,12,42#</p><p>*ET,862874041123456,SE,RF,87654321,0,1#</p><p>TEMPERATURE SENSOR TYPE</p><p>*ET,862874041123456,DW,A,0A090D,101C0D,00CF27C6,0413FA4E,0000,00 00,00000000,20,121,0000,00F123,100,12,42#</p><p>*ET,862874041123456,SE,TP,1234,1,1#</p><p>DOOR TYPE</p><p>While in door type mode SENSORDATA will target DOOR1 by default and only DOOR1 value will change.</p><p>Closed door Example:</p><p>*ET,862874041123456,DW,A,0A090D,101C0D,00CF27C6,0413FA4E,0000,00 00,00000000,20,121,0000,00F123,100,12,42#</p><p>*ET,862874041606695,SE,DR,DOOR1,0,0#</p><p>Opened door Example:</p><p>*ET,862874041123456,DW,A,0A090D,101C0D,00CF27C6,0413FA4E,0000,00 00,00000000,20,121,0000,00F123,100,12,42#</p><p>*ET,862874041606695,SE,DR,DOOR1,1,0#</p>