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

From version 203.2
edited by Xiaoling
on 2023/03/24 15:41
Change comment: There is no comment for this version
To version 155.3
edited by Xiaoling
on 2022/11/24 17:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,7 +12,6 @@
12 12  
13 13  
14 14  
15 -
16 16  = 1.  Introduction =
17 17  
18 18  == 1.1  What is TrackerD ==
... ... @@ -37,7 +37,7 @@
37 37  TrackerD is equipped with a (% style="color:blue" %)**1000mAh Li-on rechargeable battery**(%%). Each TrackerD has a worldwide unique OTAA keys to join the LoRaWAN network.
38 38  )))
39 39  
40 -[[image:image-20230213110119-1.png||height="382" width="834"]]
39 +[[image:1664499921684-770.png||_mstalt="298194"]]
41 41  
42 42  
43 43  (% style="color:red" %)**Note: LoRaWAN server can be a general LoRaWAN server other than TTN.**
... ... @@ -57,11 +57,13 @@
57 57  * EEPROM: 520 KB
58 58  * Clock Speed: 32Mhz
59 59  
59 +
60 60  (% style="color:blue" %)**Common DC Characteristics:**
61 61  
62 62  * Supply Voltage: 5V via USB port or Internal li-on battery
63 63  * Operating Temperature: -40 ~~ 60°C
64 64  
65 +
65 65  (% style="color:blue" %)**LoRa Spec:**
66 66  
67 67  * Frequency Range,
... ... @@ -83,10 +83,12 @@
83 83  * Packet engine up to 256 bytes with CRC.
84 84  * LoRaWAN 1.0.3 Specification
85 85  
87 +
86 86  (% style="color:blue" %)**Battery:**
87 87  
88 88  * 1000mA Li-on Battery power (for model TrackerD)
89 89  
92 +
90 90  (% style="color:blue" %)**Power Consumption**
91 91  
92 92  * Sleeping Mode: 200uA
... ... @@ -95,6 +95,7 @@
95 95  
96 96  
97 97  
101 +
98 98  == 1.3  Features ==
99 99  
100 100  
... ... @@ -115,6 +115,8 @@
115 115  
116 116  
117 117  
122 +
123 +
118 118  == 1.4  Applications ==
119 119  
120 120  
... ... @@ -123,6 +123,7 @@
123 123  
124 124  
125 125  
132 +
126 126  = 2.  Use TrackerD =
127 127  
128 128  == 2.1 How it works? ==
... ... @@ -137,7 +137,7 @@
137 137  Here is an example for how to join the [[TTNv3 LoRaWAN Network>>url:https://eu1.cloud.thethings.network]]. Below is the network structure, we use LPS8N as LoRaWAN gateway in this example. 
138 138  
139 139  
140 -[[image:image-20230213110214-2.png||height="388" width="847"]]
147 +[[image:1664501652064-326.png||_mstalt="293306"]]
141 141  
142 142  
143 143  
... ... @@ -209,7 +209,7 @@
209 209  
210 210  
211 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
219 +|=(% 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;" %)**2**|=(% style="width: 40px;" %)1
213 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 214  
215 215  [[image:1665301570342-765.png||_mstalt="294580"]]
... ... @@ -256,7 +256,7 @@
256 256  (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40
257 257  
258 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
266 +|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
260 260  |=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings
261 261  
262 262  (% style="color:blue" %)** SMOD:**
... ... @@ -284,12 +284,11 @@
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"]]
294 +(% border="1.5" style="background-color:#ffffcc; color:green; width:260px" %)
295 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)5 Bits|(% style="width:60px" %)1 Bit|(% style="width:20px" %)1 Bit|(% style="width:80px" %)1 Bit
296 +|=(% style="width: 77px;" %)**Value**|(% style="width:70px" %)Reserve|(% style="width:92px" %)[[PNACKMD>>||anchor="H2.4.4A0UplinkFPORT3D42CHistoryGNSSPositioning"]]|(% style="width:48px" %)[[LON>>||anchor="H3.2.5Disable2FEnableLEDflash"]]|(% style="width:126px" %)[[Transport Mode>>||anchor="H2.9TransportMode"]]
290 290  
291 291  
292 -
293 293  === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity ===
294 294  
295 295  
... ... @@ -313,15 +313,15 @@
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:"]] 
322 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:250px" %)
323 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)1bit|(% style="width:50px" %)14bits
324 +|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
319 319  
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:"]]
328 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:120px" %)
329 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width:30px" %)1bit
330 +|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:47px" %)[[LON>>||anchor="HLON:"]]
325 325  
326 326  **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 
327 327  
... ... @@ -366,9 +366,9 @@
366 366  * 3.40v ~~ 3.69v:  20% ~~ 40%
367 367  * < 3.39v:  0~~20%
368 368  
369 -(% style="display:none" %) (%%)
370 370  
371 371  
377 +
372 372  ==== (% style="color:blue" %)**MOD:**(%%) ====
373 373  
374 374  **Example: ** (0x60>>6) & 0x3f =1
... ... @@ -430,7 +430,7 @@
430 430  === 2.4.4  Uplink FPORT~=4, History GNSS Positioning ===
431 431  
432 432  
433 -Set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], and TrackerD will wait for ACK for every uplink, when there is no LoRaWAN network, TrackerD will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
439 +Set [[PNACKMD=1>>||anchor="H3.2.11A0A0AutoSendNone-ACKmessages"]], and TrackerD will wait for ACK for every uplink, when there is no LoRaWAN network, TrackerD will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
434 434  
435 435  
436 436  (% style="color:red" %)**Note for this mode:**
... ... @@ -485,32 +485,12 @@
485 485  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
486 486  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
487 487  
488 -(% style="display:none" %) (%%)
489 489  
490 490  
491 -=== 2.4.6  Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) ===
492 492  
497 +=== 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
493 493  
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
499 -
500 - [[image:image-20230302145315-1.png]]
501 -
502 -alarm=(bytes[0] & 0x40)  ~/~/ Alarm status
503 -
504 -batV=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000;  ~/~/ Battery,units:V
505 -
506 -mod = bytes[2] & 0xC0;
507 -
508 -Lon=(bytes[2] & 0x20)
509 -
510 -
511 -=== 2.4.7  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
512 -
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 516  
... ... @@ -530,12 +530,12 @@
530 530  * (% style="color:#037691" %)**SSID:      **(%%)WiFi name.
531 531  * (% style="color:#037691" %)**RSSI:      **(%%)The RSSI from the strongest WiFi.
532 532  
533 -(% style="display:none" %) (%%)
534 534  
535 535  
536 -=== 2.4.8  Add Payload format in TTN V3 ===
537 537  
522 +=== 2.4.7  Add Payload format in TTN V3 ===
538 538  
524 +
539 539  In TTN V3, user can add a custom payload so it shows friendly.
540 540  
541 541  In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**
... ... @@ -576,53 +576,12 @@
576 576  [[image:1664502715371-321.png||_mstalt="292162"]]
577 577  
578 578  
579 -== 2.7  Integrate with Node-red ==
565 +== 2.7  Datalog Feature ==
580 580  
581 581  
582 -~1. Install node-red, please refer to the installation method in the link:
583 -
584 - [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation]]
585 -
586 -
587 -2. Import the created flow template, please refer to the import method in the link:
588 -
589 - [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow]]
590 - The address of the flow template:
591 -
592 - [[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]]
593 -
594 -(% 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.**
595 -
596 -[[image:image-20230307135914-1.png||height="527" width="1045"]]
597 -
598 -
599 -[[image:image-20230307135932-2.png||height="527" width="1044"]]
600 -
601 -
602 -3. Display the map
603 - Enter the link to the map:
604 -
605 - Change its suffix to ditu:http:~/~/119.91.62.30:1880/**ditu/**
606 -
607 -**~ **[[image:image-20230308115430-1.png||height="548" width="1041"]]
608 -
609 -
610 - Hit all input in input stream
611 -
612 - [[image:image-20230308115616-2.png||height="563" width="1070"]]
613 -
614 -
615 - View map again
616 -
617 -[[image:image-20230308115701-3.png||height="571" width="1085"]]
618 -
619 -
620 -== 2.8  Datalog Feature ==
621 -
622 -
623 623  total 273 entries,by default,
624 624  
625 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
570 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
626 626  
627 627  Example use case.
628 628  
... ... @@ -632,7 +632,7 @@
632 632  [[image:image-20221009234629-1.png||_mstalt="431145" height="390" width="577"]]
633 633  
634 634  
635 -== 2. Alarm Mode ==
580 +== 2.8 Alarm Mode ==
636 636  
637 637  
638 638  (((
... ... @@ -657,7 +657,7 @@
657 657  )))
658 658  
659 659  
660 -== 2.10  Transport Mode ==
605 +== 2.9 Transport Mode ==
661 661  
662 662  
663 663  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.
... ... @@ -666,12 +666,12 @@
666 666  * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic.
667 667  * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion.
668 668  
669 -(% style="display:none" %) (%%)
670 670  
671 671  
672 -== 2.11  LED Status ==
673 673  
617 +== 2.10 LED Status ==
674 674  
619 +
675 675  (% border="1.5" style="background-color:#ffffcc; width:500px" %)
676 676  |=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off**
677 677  |(% 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
... ... @@ -686,12 +686,10 @@
686 686  |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes
687 687  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
688 688  
689 -(% style="display:none" %) (%%)
690 690  
635 +== 2.11 Button Function ==
691 691  
692 -== 2.12  Button Function ==
693 693  
694 -
695 695  (% style="color:blue" %)**RESET button:**
696 696  
697 697  [[image:1664502835802-546.png||_mstalt="295061"]]
... ... @@ -701,9 +701,8 @@
701 701  
702 702  (% style="color:red" %)**RED button:**
703 703  
704 -[[image:image-20230213110506-3.png]](% style="display:none" %)
647 +[[image:1664502854406-763.png||_mstalt="295568"]]
705 705  
706 -(% style="display:none" %) (%%)
707 707  
708 708  (% border="1" style="background-color:#ffffcc; width:510px" %)
709 709  |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description**
... ... @@ -711,12 +711,10 @@
711 711  |(% 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
712 712  |(% 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.
713 713  
714 -(% style="display:none" %) (%%)
715 715  
657 +== 2.12 USB Port Function ==
716 716  
717 -== 2.13  USB Port Function ==
718 718  
719 -
720 720  The USB interface of TrackerD has below functions:
721 721  
722 722  * Power on the device
... ... @@ -724,19 +724,9 @@
724 724  * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]]
725 725  * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]]
726 726  
727 -(% style="display:none" %) (%%)
728 728  
729 729  
730 -== 2.14  Sleep Mode ==
731 731  
732 -
733 -(% 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.
734 -
735 -In SLEEP mode, you need to reset by (% style="color:#037691" %)**reset button**.
736 -
737 -Use the** (% style="color:#4472c4" %)AT+SLEEP(%%)** command to put the device into sleep.
738 -
739 -
740 740  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
741 741  
742 742  
... ... @@ -765,8 +765,8 @@
765 765  
766 766  [[image:1664503047675-651.png||_mstalt="295386"]]
767 767  
768 -(% style="display:none" %) (%%)
769 769  
699 +
770 770  == 3.2 Command Set ==
771 771  
772 772  === 3.2.1 Set Transmit Interval ===
... ... @@ -832,7 +832,7 @@
832 832  (% style="color:#037691" %)**0x02 01**    (%%) ~/~/  Exit Alarm Mode
833 833  
834 834  
835 -=== 3.2.5 Disable/Enable LED flash and buzzer ===
765 +=== 3.2.5 Disable/Enable LED flash ===
836 836  
837 837  
838 838  Disable/Enable LED for position, downlink and uplink
... ... @@ -956,9 +956,9 @@
956 956  (% style="color:#037691" %)**0xAD 00 46**    (%%) ~/~/  Set AT+PDOP=7  (0x46 / 10 =7)
957 957  
958 958  
889 +
959 959  === 3.2.10 Disable/Enable the confirmation mode ===
960 960  
961 -
962 962  * (% style="color:blue" %)**AT Command:**
963 963  
964 964  (% style="color:#037691" %)**AT+CFM=xx**
... ... @@ -1040,11 +1040,11 @@
1040 1040  
1041 1041  (% style="color:blue" %)**AT Command:**
1042 1042  
1043 -(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/  (Disable (0), Enable (1), default:0)
973 +(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/(Disable (0), Enable (1), default:0)
1044 1044  \\Example: AT+SHOWID=1 ~-~-> Enable Information printing.
1045 1045  
1046 1046  
1047 -=== 3.2.15  Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
977 +=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
1048 1048  
1049 1049  
1050 1050  The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network.
... ... @@ -1051,17 +1051,16 @@
1051 1051  
1052 1052  (% style="color:blue" %)**AT Command:**
1053 1053  
1054 -(% style="color:#037691" %)**AT+CHE=1      **(%%) ~/~/ set one channels mode
984 +(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode
1055 1055  
1056 1056  
1057 1057  (% style="color:blue" %)**Downlink Payload:0X24**
1058 1058  
1059 -Example: 0x24 01  ~/~/ Same as AT+CHE=1
989 +Example: 0x24 01 ~/~/ Same as AT+CHE=1
1060 1060  
1061 1061  
1062 -=== 3.2.16  Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
992 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
1063 1063  
1064 -
1065 1065  User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event.
1066 1066  
1067 1067  (% style="color:blue" %)**AT Command:**
... ... @@ -1072,7 +1072,7 @@
1072 1072  
1073 1073   AT+PT=14    ~-~->    Set to detect car motion.
1074 1074  
1075 - AT+PT=41  ~-~->    set to detect walk motion.
1004 + AT+PT=41   ~-~->    set to detect walk motion.
1076 1076  
1077 1077  
1078 1078  (% style="color:blue" %)**Downlink Payload:0xB4**(%%)
... ... @@ -1079,6 +1079,7 @@
1079 1079  0xB4 14          ~/~/  Same as AT+PT=14
1080 1080  
1081 1081  
1011 +
1082 1082  = 4. Setting for Different Scenarios =
1083 1083  
1084 1084  
... ... @@ -1130,15 +1130,16 @@
1130 1130  US915.bin @ 0x10000(Select the bin file of the frequency band you need)
1131 1131  
1132 1132  
1133 -[[image:image-20221207120501-1.png]]
1063 +[[image:image-20221118105220-2.png||_mstalt="426608"]]
1134 1134  
1135 1135  
1136 1136  
1137 1137  After upgrade finish, it will show finish as below:
1138 1138  
1139 -[[image:image-20221207133911-7.png]]
1069 +[[image:image-20221118105402-4.png||_mstalt="427986"]]
1140 1140  
1141 1141  
1072 +
1142 1142  = 6. Developer Guide =
1143 1143  
1144 1144  == 6.1 Compile Source Code ==
... ... @@ -1160,70 +1160,13 @@
1160 1160  [[image:1664503715811-892.png||_mstalt="295698"]]
1161 1161  
1162 1162  
1163 -=== 6.1.2  Build the development environment ===
1164 -
1165 -
1166 -**~1. Download and install arduino IDE**
1167 -
1168 -[[https:~~/~~/www.arduino.cn/thread-5838-1-1.html>>url:https://links.jianshu.com/go?to=https%3A%2F%2Fwww.arduino.cn%2Fthread-5838-1-1.html]]
1169 -
1170 -
1171 -**2. Download the ESP32 development package in the arduino IDE**
1172 -
1173 -[[image:image-20221213100007-1.png]]
1174 -
1175 -
1176 -Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]]
1177 -
1178 -[[image:image-20221213100626-2.png]]
1179 -
1180 -
1181 -Restart the IDE after the addition is complete, then:
1182 -
1183 -[[image:image-20221213100808-3.png||height="679" width="649"]]
1184 -
1185 -
1186 -[[image:image-20221213101040-4.png]]
1187 -
1188 -
1189 -(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1190 -Don't quit halfway.~~! If you quit halfway, there is a high probability that it will freeze, and you will need to download again next time. (If you click to continue downloading, an error will be reported after completion)**
1191 -
1192 -
1193 -Then enter a long waiting process. If you don't want to wait, you can go to the Internet to download directly, and then import:
1194 -
1195 -(% style="color:blue" %)**Methods as below:**
1196 -
1197 -~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]]
1198 -
1199 -2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here.
1200 -
1201 1201  (% id="cke_bm_4554S" style="display:none" %) (%%)Find the path of SP32 installation, find the file as shown in Figure 1, and change the SPI pin to the shown in Figure 2.
1202 1202  
1203 -[[image:image-20221213102311-5.png||height="582" width="711"]]
1204 -
1205 -
1206 -**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)**
1207 -
1208 -[[image:image-20221213102334-6.png]]
1209 -
1210 -(% style="color:red" %)**Note: This step requires a python environment**
1211 -
1212 -
1213 -Either way, in the end:
1214 -
1215 -The final effect is to open the arduino and you can see the esp32
1216 -
1217 -[[image:image-20221213110952-8.png||height="866" width="711"]]
1218 -
1219 -
1220 -
1221 1221  [[image:image-20221024105643-1.png||_mstalt="428129"]]
1222 1222  
1223 1223  **~ Figure1**
1224 1224  
1225 1225  
1226 -
1227 1227  [[image:image-20221024105643-2.png||_mstalt="428493"]]
1228 1228  
1229 1229   **Figure2**
... ... @@ -1283,9 +1283,7 @@
1283 1283  |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14
1284 1284  |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15
1285 1285  
1286 -(% style="display:none" %) (%%)
1287 1287  
1288 -
1289 1289  == 7.3 Notes on using different serial port tools for TrackerD ==
1290 1290  
1291 1291  === 7.3.1  Serial port utility ===
... ... @@ -1368,18 +1368,6 @@
1368 1368  [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]]
1369 1369  
1370 1370  
1371 -== 7.5 Are there example python example for BLE Indoor Positioning? ==
1372 -
1373 -
1374 -[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]]
1375 -
1376 -
1377 -== 7.6 Can alert mode and transport mode be used together? ==
1378 -
1379 -
1380 -Yes, you can also press the panic button to sound the alarm if set to transport mode
1381 -
1382 -
1383 1383  = 8  Trouble Shooting =
1384 1384  
1385 1385  == 8.1  TDC is changed to 4294947296 and cause no uplink. ==
... ... @@ -1386,7 +1386,7 @@
1386 1386  
1387 1387  
1388 1388  (((
1389 -Before firmware v1.4.0: When the Transport Mode is enabled ((% style="color:blue" %)**AT+INTWK=1**(%%)), the **TDC** needs to be greater than **MTDC**, otherwise, TDC setting will because 4294947296 after wakre up from motion. This bug is fixed in firmware v1.4.1
1249 +Before firmware v1.4.0: When the Transport Mode is enabled (**AT+INTWK=1**), the **TDC** needs to be greater than **MTDC**, otherwise, TDC setting will because 4294947296 after wakre up from motion. This bug is fixed in firmware v1.4.1
1390 1390  )))
1391 1391  
1392 1392  
... ... @@ -1402,17 +1402,14 @@
1402 1402  
1403 1403  === 8.3.1 "rst: (0x3 SW_RESET)" and Continue Restart after upgrading ===
1404 1404  
1265 +Error Output
1405 1405  
1406 -**Error Output**
1407 -
1408 -
1409 1409  [[image:image-20221122100004-4.png||_mstalt="424606"]]
1410 1410  
1411 -
1412 1412  (((
1413 1413  Some partition is missed during upgrade, please upgrade below four files as example:
1414 1414  
1415 -[[image:image-20221207120524-2.png]]
1272 +[[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1416 1416  )))
1417 1417  
1418 1418  
... ... @@ -1424,40 +1424,35 @@
1424 1424  
1425 1425  === 8.3.3 "flash read err" after upgrade firmware ===
1426 1426  
1427 -
1428 1428  Error shows below, user might erase the entire flash include u-boot partition which cause this issue.
1429 1429  
1430 -
1431 1431  [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]]
1432 1432  
1433 1433  
1434 1434  User need to upgrade again with below four files to solve this issue.
1435 1435  
1436 - [[image:image-20221207120530-3.png]]
1291 + [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1437 1437  
1438 1438   **Figure 2**
1439 1439  
1440 1440  
1441 -=== 8.3. "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===
1296 +=== 8.3.3 "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===
1442 1442  
1443 -
1444 1444  User might erase the entire flash include keys and default settings which cause this issue.
1445 1445  
1446 -After the upgrade is completed, enter **AT+CFG** as shown in the figure below.
1300 +After the upgrade is completed, enter AT+CFG as shown in the figure below.
1447 1447  
1448 -
1449 1449  [[image:image-20221122100004-3.png||_mstalt="424242"]]
1450 1450  
1304 +Please **(% style="color:blue" %)AT+FDR**(%%) which will reset all settings to factory settings. , and then input the following keys by the information on the label.
1451 1451  
1452 -Please (% style="color:blue" %)**AT+FDR**(%%) which will reset all settings to factory settings. , and then input the following keys by the information on the label.
1453 -
1454 1454  After AT+FDR. please set
1455 1455  
1456 -* (% _mstmutation="1" style="color:blue" %)**AT+PDOP=7**
1308 +* AT+PDOP=7
1457 1457  
1458 -* (% _mstmutation="1" style="color:blue" %)**AT+FTIME=180000**
1310 +* AT+FTIME=180000
1459 1459  
1460 -**Example:**
1312 +Example:
1461 1461  
1462 1462  AT+PDOP=7.00
1463 1463  
... ... @@ -1498,52 +1498,6 @@
1498 1498  Please refer to this [[link>>http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/TrackerD/#H3.2.9SetPDOPvalueforGPSfixaccuracy]] on how to set up PDOP
1499 1499  
1500 1500  
1501 -== 8.6  When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets ==
1502 -
1503 -
1504 -When upgrading, use the erase button to upgrade
1505 -
1506 -[[image:image-20221207120536-4.png]]
1507 -
1508 -
1509 -The parameters are displayed abnormally and cannot be fixed using AT+FDR
1510 -
1511 -[[image:image-20221128103040-2.png||height="431" width="525"]]
1512 -
1513 -
1514 -Please upgrade these four files,link(The boot_app0 file is in the version folder you need)
1515 -
1516 -[[image:image-20221207134028-8.png]]
1517 -
1518 -
1519 -Reboot information after upgrade
1520 -
1521 -[[image:image-20221128111443-4.png||height="432" width="546"]]
1522 -
1523 -
1524 -Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal
1525 -
1526 -[[image:image-20221128111850-5.png]]
1527 -
1528 -
1529 -After the parameters return to normal, upgrade to the version you need again
1530 -
1531 -[[image:image-20221207120601-5.png]]
1532 -
1533 -
1534 -At this point, the parameters return to normal after running AT+FDR again
1535 -
1536 -[[image:image-20221128112035-7.png]]
1537 -
1538 -
1539 -== 8.7  If you encounter the following problems, please upgrade to the latest version ==
1540 -
1541 -
1542 -~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond.
1543 -
1544 -2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1)
1545 -
1546 -
1547 1547  = 9.  Order Info =
1548 1548  
1549 1549  
... ... @@ -1565,9 +1565,9 @@
1565 1565  
1566 1566  * (% style="color:red" %)**US915**(%%): Default frequency band US915
1567 1567  
1568 -(% style="display:none" %) (%%)
1569 1569  
1570 1570  
1376 +
1571 1571  = 10.  Packing Info =
1572 1572  
1573 1573  
... ... @@ -1583,9 +1583,9 @@
1583 1583  
1584 1584  * Weight: 50g
1585 1585  
1586 -(% style="display:none" %) (%%)
1587 1587  
1588 1588  
1394 +
1589 1589  = 11. Support =
1590 1590  
1591 1591  
... ... @@ -1593,9 +1593,9 @@
1593 1593  
1594 1594  * 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]].
1595 1595  
1596 -(% style="display:none" %) (%%)
1597 1597  
1598 1598  
1404 +
1599 1599  = 12.  Reference =
1600 1600  
1601 1601  
... ... @@ -1604,6 +1604,3 @@
1604 1604  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1605 1605  
1606 1606  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1607 -
1608 -
1609 -)))
image-20221128102938-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -41.3 KB
Content
image-20221128103040-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -19.2 KB
Content
image-20221128110503-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -45.6 KB
Content
image-20221128111443-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -15.6 KB
Content
image-20221128111850-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -14.5 KB
Content
image-20221128111951-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -45.4 KB
Content
image-20221128112035-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -14.7 KB
Content
image-20221207120501-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207120524-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207120530-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207120536-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207120601-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -44.5 KB
Content
image-20221207133836-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -52.1 KB
Content
image-20221207133911-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -46.3 KB
Content
image-20221207134028-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -49.3 KB
Content
image-20221213100007-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -32.7 KB
Content
image-20221213100626-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -35.7 KB
Content
image-20221213100808-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -91.3 KB
Content
image-20221213101040-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -26.3 KB
Content
image-20221213102311-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -49.7 KB
Content
image-20221213102334-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -52.5 KB
Content
image-20221213102718-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -116.5 KB
Content
image-20221213110952-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -152.8 KB
Content
image-20230213110119-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -182.3 KB
Content
image-20230213110214-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -182.3 KB
Content
image-20230213110506-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -19.8 KB
Content
image-20230302145315-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -35.1 KB
Content
image-20230307135914-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -131.8 KB
Content
image-20230307135932-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -109.7 KB
Content
image-20230308115430-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -2.4 MB
Content
image-20230308115616-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -152.7 KB
Content
image-20230308115701-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -2.4 MB
Content