Last modified by Xiaoling on 2023/12/27 09:15

From version 196.1
edited by Bei Jinggeng
on 2023/03/07 13:59
Change comment: Uploaded new attachment "image-20230307135932-2.png", version {1}
To version 212.2
edited by Xiaoling
on 2023/08/22 14:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Xiaoling
Content
... ... @@ -93,8 +93,10 @@
93 93  * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm
94 94  * Tracking: max: 38mA
95 95  
96 +(% style="display:none" %)
96 96  
97 97  
99 +
98 98  == 1.3  Features ==
99 99  
100 100  
... ... @@ -113,8 +113,10 @@
113 113  * Tri-color LED, Alarm button
114 114  * Datalog
115 115  
118 +(% style="display:none" %)
116 116  
117 117  
121 +
118 118  == 1.4  Applications ==
119 119  
120 120  
... ... @@ -121,8 +121,10 @@
121 121  * Logistics and Supply Chain Management
122 122  * Human tracking
123 123  
128 +(% style="display:none" %)
124 124  
125 125  
131 +
126 126  = 2.  Use TrackerD =
127 127  
128 128  == 2.1 How it works? ==
... ... @@ -149,7 +149,7 @@
149 149  Each TrackerD is shipped with a sticker with the default device EUI as below:
150 150  
151 151  
152 -[[image:1664501677253-891.png||_mstalt="296569"]]
158 +[[image:image-20230426085815-1.png||height="259" width="558"]]
153 153  
154 154  
155 155  Input these keys to their LoRaWAN Server portal. Below is TTN V3 screen shot:
... ... @@ -203,15 +203,14 @@
203 203  === 2.4.1 Uplink FPORT~=5, Device Status ===
204 204  
205 205  
206 -Uplink the device configures with FPORT=5. Once TrackerD Joined the network, it will uplink this message to the server. After the first uplink, TrackerD will uplink Device Status every 12 hours.
212 +Uplink the device configures with (% style="color:blue" %)**FPORT=5**(%%). Once TrackerD Joined the network, it will uplink this message to the server. After the first uplink, TrackerD will uplink Device Status every 12 hours.
207 207  
208 -Use can also get the Device Status uplink through the downlink command: **Downlink:  0x2301**
214 +Use can also get the Device Status uplink through the downlink command: (% style="color:#037691" %)**Downlink:  0x2301**
209 209  
216 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:440px" %)
217 +|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**Size(bytes)**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)1|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)1|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)1
218 +|(% style="width:108px" %)**Value**|(% style="width:82px" %)Sensor Model|(% style="width:83px" %)Firmware Version|(% style="width:94px" %)Frequency Band|(% style="width:84px" %)Sub-band|(% style="width:44px" %)BAT|(% style="width:63px" %)SMOD|(% style="width:60px" %)Status
210 210  
211 -(% border="1.5" style="background-color:#ffffcc; color:green; width:440px" %)
212 -|=(% style="width: 60px;" %)**Size(bytes)**|=(% style="width: 70px;" %)**1**|=(% style="width: 70px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 50px;" %)**1**|=(% style="width: 30px;" %)2|=(% style="width: 40px;" %)1|=(% style="width: 40px;" %)1
213 -|=(% style="width: 108px;" %)**Value**|(% style="width:82px" %)Sensor Model|(% style="width:83px" %)Firmware Version|(% style="width:94px" %)Frequency Band|(% style="width:84px" %)Sub-band|(% style="width:44px" %)BAT|(% style="width:63px" %)SMOD|(% style="width:60px" %)Status
214 -
215 215  [[image:1665301570342-765.png||_mstalt="294580"]]
216 216  
217 217  
... ... @@ -223,31 +223,30 @@
223 223  
224 224  (% style="color:#037691" %)**Frequency Band**:
225 225  
226 -*0x01: EU868
231 +0x01: EU868
227 227  
228 -*0x02: US915
233 +0x02: US915
229 229  
230 -*0x03: IN865
235 +0x03: IN865
231 231  
232 -*0x04: AU915
237 +0x04: AU915
233 233  
234 -*0x05: KZ865
239 +0x05: KZ865
235 235  
236 -*0x06: RU864
241 +0x06: RU864
237 237  
238 -*0x07: AS923
243 +0x07: AS923
239 239  
240 -*0x08: AS923-1
245 +0x08: AS923-1
241 241  
242 -*0x09: AS923-2
247 +0x09: AS923-2
243 243  
244 -*0x0a: AS923-3
249 +0x0a: AS923-3
245 245  
246 -Sub- Band:value 0x00~~0x08(only forAU915,US915,Others are 0xFF)
251 +(% style="color:#037691" %)**Sub-Band:**(%%) value 0x00~~0x08(only forAU915,US915,Others are 0xFF)
247 247  
248 248  (% style="color:#037691" %)**BAT:**(%%) shows the battery voltage for TrackerD.
249 249  
250 -
251 251  (% style="color:#037691" %)**Ex1:**(%%) 0x0FA2 = 4002mV
252 252  
253 253  Use can also get the Device Status uplink through the downlink command:
... ... @@ -255,56 +255,52 @@
255 255  
256 256  (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40
257 257  
258 -(% border="1.5" style="background-color:#ffffcc; color:green; width:270px" %)
259 -|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)1bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
260 -|=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings
262 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:270px" %)
263 +|(% style="width:60px" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)2 bits|(% style="width:80px" %)4 bits
264 +|(% style="width:75px" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings
261 261  
262 -(% style="color:blue" %)** SMOD:**
266 +(% style="color:blue" %)**SMOD:**
263 263  
264 -(% style="color:red" %)** 1 :** (%%) GPS ONLY
268 +(% style="color:red" %)**1 :** (%%) GPS ONLY
265 265  
266 -(% style="color:red" %)** 2 :** (%%) BLE ONLY
270 +(% style="color:red" %)**2 :** (%%) BLE ONLY
267 267  
268 -(% style="color:red" %)** 3 :**  (%%) GPS/BLE Hybrid
272 +(% style="color:red" %)**3 :**  (%%) GPS/BLE Hybrid
269 269  
270 270  
271 -(% style="color:blue" %)** GPS_MOD: Define how to send GPS payload**
275 +(% style="color:blue" %)**GPS_MOD: Define how to send GPS payload**
272 272  
273 -(% style="color:red" %)** 0 : ** (%%) Enable uploading on-board Temperature and humidity values
277 +(% style="color:red" %)**0 : ** (%%) Enable uploading on-board Temperature and humidity values
274 274  
275 -(% style="color:red" %)** 1 :** (%%) Disable uploading on-board Temperature and humidity values
279 +(% style="color:red" %)**1 :** (%%) Disable uploading on-board Temperature and humidity values
276 276  
277 277  
278 -(% style="color:blue" %)** BLE_Settings:**
282 +(% style="color:blue" %)**BLE_Settings:**
279 279  
280 -(% style="color:red" %)** 1: ** (%%) BLE Positioning with Strongest iBeacon
284 +(% style="color:red" %)**1: ** (%%) BLE Positioning with Strongest iBeacon
281 281  
282 -(% _mstmutation="1" style="color:red" %)** 2:**  (%%)WiFi Positioning with Strongest WiFi SSID(% _mstmutation="1" style="color:blue" %)(V1.4.1 Version support this function later)(%%)  
286 +(% _mstmutation="1" style="color:red" %)**2:**  (%%)WiFi Positioning with Strongest WiFi SSID(% _mstmutation="1" style="color:blue" %)(V1.4.1 Version support this function later)(%%)  
283 283  
284 284  
285 285  (% style="color:#037691" %)**Status Field (total 1 byte)**(%%):  0x02
286 286  
287 -(% border="1.5" style="background-color:#ffffcc; color:green; width:412.222px" %)
288 -|=(% scope="row" style="width: 75px;" %)**Size(bit)**|(% style="width:68px" %)5 Bits|(% style="width:87px" %)1 Bit|(% style="width:49px" %)1 Bit|(% style="width:126px" %)1 Bit
289 -|=(% style="width: 75px;" %)**Value**|(% style="width:68px" %)Reserve|(% style="width:87px" %)[[PNACKMD>>||anchor="H2.4.4A0UplinkFPORT3D42CHistoryGNSSPositioning"]]|(% style="width:49px" %)[[LON>>||anchor="H3.2.5Disable2FEnableLEDflash"]]|(% style="width:126px" %)[[Transport Mode>>||anchor="H2.9TransportMode"]]
291 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:413px" %)
292 +|(% style="width:77px" %)**Size(bit)**|(% style="width:70px" %)5 Bits|(% style="width:88px" %)1 Bit|(% style="width:50px" %)1 Bit|(% style="width:128px" %)1 Bit
293 +|(% style="width:75px" %)**Value**|(% style="width:68px" %)Reserve|(% style="width:87px" %)[[PNACKMD>>||anchor="H2.4.4A0UplinkFPORT3D42CHistoryGNSSPositioning"]]|(% style="width:49px" %)[[LON>>||anchor="H3.2.5Disable2FEnableLEDflash"]]|(% style="width:126px" %)[[Transport Mode>>||anchor="H2.9TransportMode"]]
290 290  
295 +(% style="display:none" %)
291 291  
292 292  
298 +
293 293  === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity ===
294 294  
295 295  
296 -Users can use **AT+SMOD=1,0,0** to enable uploading on-board Temperature and humidity values, and the total payload will be 15 bytes,
302 +Users can use (% style="color:blue" %)**AT+SMOD=1,0,0**(%%) to enable uploading on-board Temperature and humidity values, and the total payload will be 15 bytes,
297 297  
298 298  
299 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:320px" %)
300 -|=(% scope="row" style="width: 60px;" %)(((
301 -**Size(bytes)**
302 -)))|(% style="width:50px" %)4|(% style="width:50px" %)4|(% style="width:70px" %)2|(% style="width:30px" %)1|(% style="width:30px" %)(((
303 -2
304 -)))|(% style="width:30px" %)(((
305 -2
306 -)))
307 -|=(% style="width: 69px;" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)(((
305 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:320px" %)
306 +|(% style="width:60px" %)**Size(bytes)**|(% style="width:50px" %)4|(% style="width:50px" %)4|(% style="width:70px" %)2|(% style="width:30px" %)1|(% style="width:30px" %)2|(% style="width:30px" %)2
307 +|(% style="width:69px" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)(((
308 308  [[Alarm & BAT>>||anchor="HAlarm26BAT:"]]
309 309  )))|(% style="width:73px" %)[[FLAG>>||anchor="HFLAG:"]]|(% style="width:40px" %)[[Hum>>||anchor="HHum:"]]|(% style="width:87px" %)[[Tem>>||anchor="HTem:"]]
310 310  
... ... @@ -313,15 +313,18 @@
313 313  
314 314  ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ====
315 315  
316 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:279.222px" %)
317 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:69px" %)1 bit|(% style="width:63px" %)14 bits
318 -|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:69px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
316 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:321px" %)
317 +|(% style="width:60px" %)**Size(bit)**|(% style="width:60px" %)1 bit|(% style="width:134px" %)1 bit|(% style="width:67px" %)14 bits
318 +|(% style="width:72px" %)**Value**|(% style="width:67px" %)reserve|(% style="width:114px" %)Alarm Indicate|(% style="width:62px" %)[[BAT>>||anchor="HBAT:"]] 
319 319  
320 +(% style="display:none" %)
321 +
322 +
320 320  ==== (% style="color:blue" %)**FLAG:**(%%) ====
321 321  
322 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:183.222px" %)
323 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2 bits|(% style="width:52px" %)1 bit
324 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:52px" %)[[LON>>||anchor="HLON:"]]
325 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:184px" %)
326 +|(% style="width:68px" %)**Size(bit)**|(% style="width:61px" %)2 bits|(% style="width:55px" %)1 bit
327 +|(% style="width:79px" %)**Value**|(% style="width:56px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:50px" %)[[LON>>||anchor="HLON:"]]
325 325  
326 326  **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 
327 327  
... ... @@ -412,14 +412,12 @@
412 412  === 2.4.3  Uplink FPORT~=3, Realtime GNSS Positioning (Default Mode) ===
413 413  
414 414  
415 -The default uplink payload includes total 11 bytes (**AT+SMOD=1,1,0**). The payload is the first 11 bytes of Uplink FPORT=2, real-time GNSS positioning, (remove the temp and humidity)
418 +The default uplink payload includes total 11 bytes ((% style="color:blue" %)**AT+SMOD=1,1,0**(%%)). The payload is the first 11 bytes of Uplink FPORT=2, real-time GNSS positioning, (remove the temp and humidity)
416 416  
417 417  
418 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:300px" %)
419 -|=(% scope="row" style="width: 60px;" %)(((
420 -**Size(bytes)**
421 -)))|(% style="width:60px" %)4|(% style="width:60px" %)4|(% style="width:60px" %)2|(% style="width:50px" %)1
422 -|=(% style="width: 69px;" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)(((
421 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:300px" %)
422 +|(% style="width:60px" %)**Size(bytes)**|(% style="width:60px" %)4|(% style="width:60px" %)4|(% style="width:70px" %)2|(% style="width:50px" %)1
423 +|(% style="width:69px" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)(((
423 423  [[Alarm & BAT>>||anchor="HAlarm26BAT:"]]
424 424  )))|(% style="width:73px" %)[[FLAG>>||anchor="HFLAG:"]]
425 425  
... ... @@ -441,11 +441,9 @@
441 441  
442 442  The payload is 15 bytes, as below.
443 443  
444 -(% border="1.5" style="background-color:#ffffcc; color:green; width:500px" %)
445 -|=(% scope="row" %)(((
446 -**Size(bytes)**
447 -)))|4|4|2|1|1|1|1|1
448 -|=**Value**|Latitude|Longitude|Year|Month|Day|Hous|Min|Sen
445 +(% border="1" style="background-color:#f2f2f2; width:500px" %)
446 +|**Size(bytes)**|4|4|2|1|1|1|1|1
447 +|**Value**|Latitude|Longitude|Year|Month|Day|Hous|Min|Sen
449 449  
450 450  [[image:image-20221009160309-2.png||_mstalt="429312"]]
451 451  
... ... @@ -458,11 +458,9 @@
458 458  User can set **[[BLEMASK>>||anchor="H3.2.11A0SetBLEMASKtofilterBLEiBeacon"]]** so TrackerD will only search the iBeacons which have UUID that match the BLEMASK settings.
459 459  
460 460  
461 -(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %)
462 -|=(% scope="row" style="width: 60px;" %)(((
463 -**Size(bytes)**
464 -)))|(% style="width:30px" %)16|(% style="width:50px" %)4|(% style="width:50px" %)4|(% style="width:120px" %)2|(% style="width:50px" %)4|(% style="width:50px" %)2|(% style="width:30px" %)1
465 -|=(% style="width: 50px;" %)**Value**|(% style="width:44px" %)[[UUID>>||anchor="HLocationinfo:"]]|(% style="width:61px" %)(((
460 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:450px" %)
461 +|(% style="width:60px" %)**Size(bytes)**|(% style="width:30px" %)16|(% style="width:50px" %)4|(% style="width:50px" %)4|(% style="width:120px" %)2|(% style="width:50px" %)4|(% style="width:50px" %)2|(% style="width:30px" %)1
462 +|(% style="width:50px" %)**Value**|(% style="width:44px" %)[[UUID>>||anchor="HLocationinfo:"]]|(% style="width:61px" %)(((
466 466  iBeacon MAJOR
467 467  )))|(% style="width:63px" %)(((
468 468  iBeacon MINOR
... ... @@ -493,19 +493,19 @@
493 493  
494 494  The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server.
495 495  
496 -(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %)
497 -|**Size(bytes)**|2|1
498 -|**Value**|[[Alarm & BAT>>path:#HAlarm26BAT:]]|Mod+lon
493 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:284.818px" %)
494 +|(% style="width:97px" %)**Size(bytes)**|(% style="width:103px" %)2|(% style="width:81px" %)1
495 +|(% style="width:97px" %)**Value**|(% style="width:103px" %)[[Alarm & BAT>>path:#HAlarm26BAT:]]|(% style="width:81px" %)Mod+lon
499 499  
500 500   [[image:image-20230302145315-1.png]]
501 501  
502 -alarm=(bytes[0] & 0x40)  ~/~/ Alarm status
499 +**alarm**=(bytes[0] & 0x40)  ~/~/ Alarm status
503 503  
504 -batV=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000;  ~/~/ Battery,units:V
501 +**batV**=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000;  ~/~/ Battery,units:V
505 505  
506 -mod = bytes[2] & 0xC0;
503 +**mod** = bytes[2] & 0xC0;
507 507  
508 -Lon=(bytes[2] & 0x20)
505 +**Lon**=(bytes[2] & 0x20)
509 509  
510 510  
511 511  === 2.4.7  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
... ... @@ -513,19 +513,17 @@
513 513  
514 514  TrackerD supports WiFi scans for indoor positioning. User can set [[**SMOD**>>||anchor="H3.2.7SetPositioningMode"]] to **WiFi** so TrackerD will scan WiFi and find the strongest WiFi info and uplink.
515 515  
516 -
517 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:371.222px" %)
518 -|=(% scope="row" style="width: 60px;" %)(((
513 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:348px" %)
514 +|(% style="width:65px" %)(((
519 519  **Size(bytes)**
520 -)))|(% style="width:60px" %)6|(% style="width:60px" %)4|(% style="width:79px" %)2|(% style="width:66px" %)1
521 -|=(% style="width: 69px;" %)**Value**|(% style="width:76px" %)SSID|(% style="width:87px" %)RSSI|(% style="width:79px" %)(((
516 +)))|(% style="width:50px" %)6|(% style="width:50px" %)4|(% style="width:133px" %)2|(% style="width:50px" %)1
517 +|(% style="width:69px" %)**Value**|(% style="width:48px" %)SSID|(% style="width:48px" %)RSSI|(% style="width:103px" %)(((
522 522  [[Alarm & BAT>>||anchor="HAlarm26BAT:"]]
523 -)))|(% style="width:66px" %)[[FLAG>>||anchor="HFLAG:"]]
519 +)))|(% style="width:52px" %)[[FLAG>>||anchor="HFLAG:"]]
524 524  
525 525  (% class="wikigeneratedid" %)
526 526  [[image:1667288597595-714.png||_mstalt="299598" height="212" width="1151"]]
527 527  
528 -
529 529  * (% style="color:#037691" %)**BAT: ** (%%) Ex1:0x4B45 & 0x3FFF ⇒ 3901 (mV).
530 530  * (% style="color:#037691" %)**SSID:      **(%%)WiFi name.
531 531  * (% style="color:#037691" %)**RSSI:      **(%%)The RSSI from the strongest WiFi.
... ... @@ -540,15 +540,11 @@
540 540  
541 541  In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**
542 542  
543 -
544 544  [[image:1664502649601-895.png||_mstalt="296985"]]
545 545  
546 546  
541 +Add the decoder from this link:  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD>>https://github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD]]
547 547  
548 -Add the decoder from this link: 
549 -
550 -[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD>>https://github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD]]
551 -
552 552  Save the change the uplink message will be parsed. As below:
553 553  
554 554  [[image:1664502676891-606.png||_mstalt="296673"]]
... ... @@ -561,7 +561,6 @@
561 561  
562 562  Instruction is here:  [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20Data%20Cake/#H7.Example~~-~~-AddTrackerDGPSTrackingInDataCake>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20Data%20Cake/#H7.Example--AddTrackerDGPSTrackingInDataCake]]
563 563  
564 -
565 565  [[image:1664502695771-538.png||_mstalt="297349"]]
566 566  
567 567  
... ... @@ -572,13 +572,53 @@
572 572  
573 573  Instruction is here: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Tago.IO/#H3.A0Example-CreateTrackerD2FLGT92positioningwidget>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Tago.IO/#H3.A0Example-CreateTrackerD2FLGT92positioningwidget]]
574 574  
575 -
576 576  [[image:1664502715371-321.png||_mstalt="292162"]]
577 577  
578 578  
579 -== 2.7  Datalog Feature ==
568 +== 2.7  Integrate with Node-red ==
580 580  
581 581  
571 +~1. Install node-red, please refer to the installation method in the link:
572 +
573 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation]]
574 +
575 +
576 +2. Import the created flow template, please refer to the import method in the link:
577 +
578 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow]]
579 +
580 +
581 +The address of the flow template: [[dragino-end-node-decoder/TrackerD.json at main · dragino/dragino-end-node-decoder · GitHub>>url:https://github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/TrackerD.json]]
582 +
583 +(% style="color:red" %)**Note: If you are using NODE-RED for the first time, please search and install the two plug-ins in the figure below in node-red to fully use the flow template.**
584 +
585 +[[image:image-20230307135914-1.png||height="527" width="1045"]]
586 +
587 +
588 +[[image:image-20230307135932-2.png||height="527" width="1044"]]
589 +
590 +
591 +3. Display the map
592 + Enter the link to the map:
593 +
594 + Change its suffix to ditu:http:~/~/119.91.62.30:1880/**ditu/**
595 +
596 +**~ **[[image:image-20230308115430-1.png||height="548" width="1041"]]
597 +
598 +
599 + Hit all input in input stream
600 +
601 + [[image:image-20230308115616-2.png||height="563" width="1070"]]
602 +
603 +
604 + View map again
605 +
606 +[[image:image-20230308115701-3.png||height="571" width="1085"]]
607 +
608 +
609 +== 2.8  Datalog Feature ==
610 +
611 +
582 582  total 273 entries,by default,
583 583  
584 584  User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
... ... @@ -591,11 +591,11 @@
591 591  [[image:image-20221009234629-1.png||_mstalt="431145" height="390" width="577"]]
592 592  
593 593  
594 -== 2.8 Alarm Mode ==
624 +== 2. Alarm Mode ==
595 595  
596 596  
597 597  (((
598 -User can push the (% style="color:red" %)**RED button**(%%) by more than 5 seconds to enter Alarm Mode.
628 +User can push the (% style="color:red" %)**RED button**(%%) by more than 5 seconds to enter Alarm Mode. Alarm Mode is used to send SOS info to IoT platform.
599 599  )))
600 600  
601 601  
... ... @@ -616,11 +616,13 @@
616 616  )))
617 617  
618 618  
619 -== 2.9 Transport Mode ==
649 +== 2.10  Transport Mode ==
620 620  
621 621  
622 -In Transport Mode, TrackerD will check if there is motion. If there is no motion, device will send uplinks every 20 minutes. If there is motion, device will send uplink every 5 minutes.
652 +In Transport Mode, TrackerD will check if there is motion (threldhold defined by **[[PT)>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** . If there is no motion, device will send uplinks every 20 minutes (Defined by **[[TDC)>>||anchor="H3.2.1SetTransmitInterval"]]** . If there is motion, device will send uplink every 5 minutes(defined by **[[MTDC)>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]]**.
623 623  
654 +When device is set in Transport Mode, it will uplink more frequenctly during moving.
655 +
624 624  * **[[MTDC>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]]** defines the Uplink Interval during transportation.
625 625  * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic.
626 626  * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion.
... ... @@ -628,11 +628,11 @@
628 628  (% style="display:none" %) (%%)
629 629  
630 630  
631 -== 2.10 LED Status ==
663 +== 2.1 LED Status ==
632 632  
633 633  
634 -(% border="1.5" style="background-color:#ffffcc; width:500px" %)
635 -|=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off**
666 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
667 +|=(% style="width: 150px;background-color:#D9E2F3;color:#0070C0" %)**Event**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**Action**|=(% style="width: 150px;background-color:#D9E2F3;color:#0070C0" %)**AT+LON to control on/off**
636 636  |(% style="width:157px" %)**Power On**|(% style="width:271px" %)(% style="color:blue" %)**BLUE, **(% style="color:red" %)**RED , **(% style="color:green" %)**Green** flash once|(% style="width:202px" %)N/A
637 637  |(% style="width:157px" %)**Join request**|(% style="width:271px" %)(% style="color:green" %)**Green** (%%)led fast blink once (200ms)|(% style="width:202px" %)Yes
638 638  |(% style="width:157px" %)**Join Success**|(% style="width:271px" %)(% style="color:green" %)**Green**(%%) led on 5 second|(% style="width:202px" %)N/A
... ... @@ -648,7 +648,7 @@
648 648  (% style="display:none" %) (%%)
649 649  
650 650  
651 -== 2.11 Button Function ==
683 +== 2.1 Button Function ==
652 652  
653 653  
654 654  (% style="color:blue" %)**RESET button:**
... ... @@ -664,8 +664,8 @@
664 664  
665 665  (% style="display:none" %) (%%)
666 666  
667 -(% border="1" style="background-color:#ffffcc; width:510px" %)
668 -|=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description**
699 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
700 +|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 205px;background-color:#D9E2F3;color:#0070C0" %)**Action**|=(% style="width: 205px;background-color:#D9E2F3;color:#0070C0" %)**Description**
669 669  |(% style="width:135px" %)Send Alarm|(% style="width:220px" %)Keep Pressing (% style="color:red" %)**RED**(%%) button for more than 5 seconds|(% style="width:265px" %)Enter Alarm Mode.  See [[Alarm Mode>>||anchor="H2.8AlarmMode"]]
670 670  |(% style="width:135px" %)Exit Alarm Mode|(% style="width:220px" %)Fast press the (% style="color:red" %)**RED** (%%)button 10 times|(% style="width:265px" %)Exit Alarm Mode
671 671  |(% style="width:135px" %)Enter Deep Sleep Mode|(% style="width:220px" %)Press and hold the button for 10 seconds, then quickly press the device 3 times to enter deep sleep|(% style="width:265px" %)This is the mode ship out from factory. CPU will be complete in sleep mode and no LoRa activity, only use before deploy.
... ... @@ -673,7 +673,7 @@
673 673  (% style="display:none" %) (%%)
674 674  
675 675  
676 -== 2.12 USB Port Function ==
708 +== 2.1 USB Port Function ==
677 677  
678 678  
679 679  The USB interface of TrackerD has below functions:
... ... @@ -686,6 +686,16 @@
686 686  (% style="display:none" %) (%%)
687 687  
688 688  
721 +== 2.14  Sleep Mode ==
722 +
723 +
724 +(% style="color:blue" %)**Sleep Mode:**(%%) To prevent accidental touch of the red button during transportation or assembly, so the peripherals of the device are turned off and enter deep sleep.
725 +
726 +In SLEEP mode, you need to reset by (% style="color:#037691" %)**reset button**.
727 +
728 +Use the** (% style="color:#4472c4" %)AT+SLEEP(%%)** command to put the device into sleep.
729 +
730 +
689 689  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
690 690  
691 691  
... ... @@ -699,7 +699,6 @@
699 699  
700 700  TrackerD supports the AT command set in stock firmware. User can connect to TrackerD with TYPE-C cable to use AT commands as shown below.
701 701  
702 -
703 703  [[image:1664502999401-486.png||_mstalt="296985"]]
704 704  
705 705  
... ... @@ -820,7 +820,6 @@
820 820  
821 821  SMOD define how TrackerD scan and uplink data:
822 822  
823 -
824 824  * (% style="color:blue" %)**AT Command:**
825 825  
826 826  (% style="color:#037691" %)**AT+SMOD=aa,bb,cc**
... ... @@ -866,10 +866,8 @@
866 866  
867 867  Set max positioning time, default is 150 seconds. TrackerD will try to get location info within this period. If fail to get position data within this time, TrackerD will use 000000 for latitude and longitude.
868 868  
869 -
870 870  If **AT+FTIME=0**. The GPS module will be always powered and positioning. This will highly increase the power consumption (up to 50mA). When AT+FTIME=0, it will improve fix accuracy and shorten the acquire time for next uplink.
871 871  
872 -
873 873  * (% style="color:blue" %)**AT Command:**
874 874  
875 875  (% style="color:#037691" %)**AT+FTIME=xx**  (%%) **~-~-> ** Set to use xx as max fix time.
... ... @@ -887,10 +887,8 @@
887 887  
888 888  PDOP(Position Dilution of Precision) filter, TrackerD will only accept GPS data with a lower PDOP value than pre-configure PDOP value. If device can't get a valid GPS packet within FTIME timeout, it will use the GPS data with lowest PDOP value to server.
889 889  
890 -
891 891  A GPS packet with lower PDOP has higher accuracy. PDOP default value is 2.0
892 892  
893 -
894 894  * (% style="color:blue" %)**AT Command:**
895 895  
896 896  (% style="color:#037691" %)**AT+PDOP=2.5 ** (%%) **~-~->  ** Set PDOP to 2.5
... ... @@ -913,11 +913,11 @@
913 913  (% style="color:#037691" %)**AT+CFM=xx**
914 914  
915 915  
916 -**~ Example:**
952 +**Example:**
917 917  
918 - AT+CFM=0    **~-~->   ** Disable confirmation
954 +AT+CFM=0    **~-~->   ** Disable confirmation
919 919  
920 - AT+CFM=1    **~-~->  ** Enable confirmation
956 +AT+CFM=1    **~-~->  ** Enable confirmation
921 921  
922 922  
923 923  * (% style="color:blue" %)**Downlink Payload (prefix 0x05):**
... ... @@ -955,9 +955,9 @@
955 955  
956 956  (% style="color:blue" %)**AT Command:**
957 957  
958 - (% _mstmutation="1" style="color:#037691" %)**AT+BLEMASK=123456**   (%%) ~/~/ Set BLEMASK = 123456
994 +(% _mstmutation="1" style="color:#037691" %)**AT+BLEMASK=123456**   (%%) ~/~/ Set BLEMASK = 123456
959 959  
960 - (% _mstmutation="1" style="color:#037691" %)**AT+BLEMASK=0**  (%%) ~/~/ disable BLEMASK
996 +(% _mstmutation="1" style="color:#037691" %)**AT+BLEMASK=0**  (%%) ~/~/ disable BLEMASK
961 961  
962 962  (% style="color:blue" %)**Downlink Payload: (Prefix : 0xB2)(Since firmware 1.4.1)**
963 963  
... ... @@ -973,9 +973,9 @@
973 973  
974 974  (% style="color:blue" %)**AT Command:**
975 975  
976 - (% _mstmutation="1" style="color:#037691" %)**AT+WiFiMASK=123456**    (%%) ~/~/ Set WiFiMASK = 123456
1012 +(% _mstmutation="1" style="color:#037691" %)**AT+WiFiMASK=123456**    (%%) ~/~/ Set WiFiMASK = 123456
977 977  
978 - (% _mstmutation="1" style="color:#037691" %)**AT+WiFiMASK=0**       (%%) ~/~/ disable WiFiMASK
1014 +(% _mstmutation="1" style="color:#037691" %)**AT+WiFiMASK=0**       (%%) ~/~/ disable WiFiMASK
979 979  
980 980  (% style="color:blue" %)**Downlink Payload: (Prefix : 0xB3)(Since firmware 1.4.1)**
981 981  
... ... @@ -1017,17 +1017,114 @@
1017 1017  
1018 1018  (% style="color:#037691" %)**AT+PT=xx**
1019 1019  
1020 - Example:
1056 +Example:
1021 1021  
1022 - AT+PT=14    ~-~->    Set to detect car motion.
1058 +AT+PT=14    ~-~->    Set to detect car motion.
1023 1023  
1024 - AT+PT=41  ~-~->    set to detect walk motion.
1060 +AT+PT=41  ~-~->    set to detect walk motion.
1025 1025  
1026 1026  
1027 -(% style="color:blue" %)**Downlink Payload:0xB4**(%%)
1063 +(% style="color:blue" %)**Downlink Payload:0xB4**
1064 +
1028 1028  0xB4 14          ~/~/  Same as AT+PT=14
1029 1029  
1030 1030  
1068 +=== 3.2.17  Set AT command window time(Since firmware 1.4.5) ===
1069 +
1070 +
1071 +AT command window time setting, customers can set the required time according to their own operation mode.The unit is second.
1072 +
1073 +(% style="color:blue" %)**AT Command:**
1074 +
1075 +(% style="color:#037691" %)**AT+ATST=XX**
1076 +
1077 +Example:
1078 +
1079 +AT+ATST=15    ~-~-> Set the time to 15 seconds
1080 +
1081 +(% style="color:blue" %)**Downlink Payload:0XB5**
1082 +
1083 +0xB5 0F          ~/~/  Same as AT+ATST=15
1084 +
1085 +
1086 +=== 3.2.18  Set the stepmeter mode(Since firmware 1.4.5) ===
1087 +
1088 +
1089 +After setting the step counting mode, it cannot be interrupted by motion. This mode is very power consuming. Used on some special occasions.
1090 +
1091 +(% style="color:blue" %)**AT Command:**
1092 +
1093 +(% style="color:#037691" %)**AT+PM=xx**
1094 +
1095 +Example:
1096 +
1097 +AT+PM=1    ~-~->  Turn on step counting mode
1098 +
1099 +AT+PM=0    ~-~->  Turn OFF step counting mode
1100 +
1101 +(% style="color:blue" %)**Downlink Payload:0XB6**
1102 +
1103 +0xB6 01          ~/~/  Same as AT+PM=1
1104 +
1105 +
1106 +=== 3.2.19  Set down the decline detection mode(Since firmware 1.4.5) ===
1107 +
1108 +
1109 +This mode is used in conjunction with AT+PT(The recommended threshold is between 50 and 70, you need to set it according to the environment yourself). This function is used in hospitals, nursing homes, nursing homes and other places to prevent the elderly and patients from falling. No one knows.
1110 +
1111 +(% style="color:blue" %)**AT Command:**
1112 +
1113 +(% style="color:#037691" %)**AT+FD=xx**
1114 +
1115 +**Example:**
1116 +
1117 +AT+FD=1    ~-~->  Turn on the Fall detection
1118 +
1119 +AT+FD=0    ~-~->  Turn OFF the Fall detection
1120 +
1121 +(% style="color:blue" %)**Downlink Payload:0XB7**
1122 +
1123 +0xB7 01          ~/~/  Same as AT+FD=1
1124 +
1125 +
1126 +=== 3.2.20 Disable/Enable buzzer(Since firmware 1.4.6) ===
1127 +
1128 +
1129 +Disable/Enable buzzer for Alarm, downlink and uplink
1130 +
1131 +(% style="color:blue" %)**AT Command:**
1132 +
1133 +(% style="color:#037691" %)**AT+BEEP=XX**
1134 +
1135 +Example:
1136 +
1137 +AT+BEEP=1 ~-~-> Turn on the buzzer
1138 +
1139 +AT+BEEP=0 ~-~-> Turn OFF the buzzer
1140 +
1141 +(% style="color:blue" %)**Downlink Payload:0XB9**
1142 +
1143 +0xB9 01 ~/~/ Same as AT+BEEP=1
1144 +
1145 +
1146 +=== 3.2.21 Set long press time(Since firmware 1.4.6) ===
1147 +
1148 +
1149 +When using the red button Changan to alarm, press and hold the time to set 0~~10 seconds, which is convenient for use scenarios.
1150 +
1151 +(% style="color:blue" %)**AT Command:**
1152 +
1153 +(% style="color:#037691" %)**AT+EAT=XX**
1154 +
1155 +Example:
1156 +
1157 +AT+EAT=2 ~-~-> Set the long press time to 2s
1158 +
1159 +(% style="color:blue" %)**Downlink Payload:0XBA**
1160 +
1161 +0xBA 02 ~/~/ Same as AT+EAT=2
1162 +
1163 +
1031 1031  = 4. Setting for Different Scenarios =
1032 1032  
1033 1033  
... ... @@ -1220,9 +1220,8 @@
1220 1220  [[image:1664499635206-262.png||_mstalt="295360"]]
1221 1221  
1222 1222  
1223 -
1224 -(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:314px" %)
1225 -|=(% style="width: 118px;" %)**Pin**|=(% style="width: 67px;" %)**Color**|=(% style="width: 123px;" %)**USB Pin**
1356 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:314px" %)
1357 +|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**Pin**|=(% style="width: 69px;background-color:#D9E2F3;color:#0070C0" %)**Color**|=(% style="width: 125px;background-color:#D9E2F3;color:#0070C0" %)**USB Pin**
1226 1226  |(% style="width:118px" %)A4,B4,A9,B9|(% style="width:67px" %)Red|(% style="width:123px" %)VCC
1227 1227  |(% style="width:118px" %)A7,B7|(% style="width:67px" %)White|(% style="width:123px" %)D- (N/A)
1228 1228  |(% style="width:118px" %)A6,B6|(% style="width:67px" %)Green|(% style="width:123px" %)D+(N/A)
... ... @@ -1248,7 +1248,6 @@
1248 1248  [[image:image-20221102140621-1.png||_mstalt="425672"]]
1249 1249  
1250 1250  
1251 -
1252 1252  When using AT commands, the data flow needs to be adjusted to XON/XOFF
1253 1253  
1254 1254  [[image:image-20221102140638-2.png||_mstalt="428727"]]
... ... @@ -1323,6 +1323,12 @@
1323 1323  [[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]]
1324 1324  
1325 1325  
1457 +== 7.6 Can alert mode and transport mode be used together? ==
1458 +
1459 +
1460 +Yes, you can also press the panic button to sound the alarm if set to transport mode
1461 +
1462 +
1326 1326  = 8  Trouble Shooting =
1327 1327  
1328 1328  == 8.1  TDC is changed to 4294947296 and cause no uplink. ==
... ... @@ -1370,7 +1370,6 @@
1370 1370  
1371 1371  Error shows below, user might erase the entire flash include u-boot partition which cause this issue.
1372 1372  
1373 -
1374 1374  [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]]
1375 1375  
1376 1376  
... ... @@ -1386,7 +1386,7 @@
1386 1386  
1387 1387  User might erase the entire flash include keys and default settings which cause this issue.
1388 1388  
1389 -After the upgrade is completed, enter **AT+CFG** as shown in the figure below.
1525 +After the upgrade is completed, enter (% style="color:blue" %)**AT+CFG**(%%) as shown in the figure below.
1390 1390  
1391 1391  
1392 1392  [[image:image-20221122100004-3.png||_mstalt="424242"]]
... ... @@ -1464,7 +1464,7 @@
1464 1464  [[image:image-20221128111443-4.png||height="432" width="546"]]
1465 1465  
1466 1466  
1467 -Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal
1603 +Use (% style="color:blue" %)**AT+FDR**(%%) command to reset and then use (% style="color:blue" %)**AT+CFG**(%%) to check whether the configuration is back to normal
1468 1468  
1469 1469  [[image:image-20221128111850-5.png]]
1470 1470  
... ... @@ -1487,6 +1487,13 @@
1487 1487  2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1)
1488 1488  
1489 1489  
1626 +== 8.8  Why when using some serial consoles, only inputting the first string port console will return "error"? ==
1627 +
1628 +
1629 +Need to enter the entire command at once, not a single character.
1630 +User can open a command window or copy the entire command to the serial console.
1631 +
1632 +
1490 1490  = 9.  Order Info =
1491 1491  
1492 1492  
... ... @@ -1536,9 +1536,10 @@
1536 1536  
1537 1537  * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]].
1538 1538  
1539 -(% style="display:none" %) (%%)
1682 +(% style="display:none" %)
1540 1540  
1541 1541  
1685 +
1542 1542  = 12.  Reference =
1543 1543  
1544 1544  
image-20230308115430-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +2.4 MB
Content
image-20230308115616-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +152.7 KB
Content
image-20230308115701-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +2.4 MB
Content
image-20230426085815-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +190.0 KB
Content