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

From version 150.1
edited by Edwin Chen
on 2022/11/24 09:07
Change comment: There is no comment for this version
To version 194.1
edited by Bei Jinggeng
on 2023/03/02 14:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Bei
Content
... ... @@ -12,6 +12,7 @@
12 12  
13 13  
14 14  
15 +
15 15  = 1.  Introduction =
16 16  
17 17  == 1.1  What is TrackerD ==
... ... @@ -31,15 +31,12 @@
31 31  (((
32 32  The LoRa wireless technology used in TrackerD allows the user to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional tracking services.
33 33  )))
34 -)))
35 35  
36 36  (((
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 -
39 -
40 40  )))
41 41  
42 -[[image:1664499921684-770.png||_mstalt="298194"]]
40 +[[image:image-20230213110119-1.png||height="382" width="834"]]
43 43  
44 44  
45 45  (% style="color:red" %)**Note: LoRaWAN server can be a general LoRaWAN server other than TTN.**
... ... @@ -95,6 +95,7 @@
95 95  * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm
96 96  * Tracking: max: 38mA
97 97  
96 +
98 98  == 1.3  Features ==
99 99  
100 100  
... ... @@ -113,6 +113,7 @@
113 113  * Tri-color LED, Alarm button
114 114  * Datalog
115 115  
115 +
116 116  == 1.4  Applications ==
117 117  
118 118  
... ... @@ -119,6 +119,7 @@
119 119  * Logistics and Supply Chain Management
120 120  * Human tracking
121 121  
122 +
122 122  = 2.  Use TrackerD =
123 123  
124 124  == 2.1 How it works? ==
... ... @@ -133,7 +133,7 @@
133 133  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. 
134 134  
135 135  
136 -[[image:1664501652064-326.png||_mstalt="293306"]]
137 +[[image:image-20230213110214-2.png||height="388" width="847"]]
137 137  
138 138  
139 139  
... ... @@ -205,7 +205,7 @@
205 205  
206 206  
207 207  (% border="1.5" style="background-color:#ffffcc; color:green; width:440px" %)
208 -|=(% 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
209 +|=(% 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
209 209  |=(% 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 211  [[image:1665301570342-765.png||_mstalt="294580"]]
... ... @@ -252,7 +252,7 @@
252 252  (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40
253 253  
254 254  (% border="1.5" style="background-color:#ffffcc; color:green; width:270px" %)
255 -|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
256 +|=(% scope="row" style="width: 60px;" %)**Size(bit)**|(% style="width:50px" %)1bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit
256 256  |=(% style="width: 75px;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings
257 257  
258 258  (% style="color:blue" %)** SMOD:**
... ... @@ -280,10 +280,11 @@
280 280  
281 281  (% style="color:#037691" %)**Status Field (total 1 byte)**(%%):  0x02
282 282  
283 -(% border="1.5" style="background-color:#ffffcc; color:green; width:260px" %)
284 -|=(% 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
285 -|=(% 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"]]
284 +(% border="1.5" style="background-color:#ffffcc; color:green; width:412.222px" %)
285 +|=(% 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
286 +|=(% 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"]]
286 286  
288 +
287 287  === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity ===
288 288  
289 289  
... ... @@ -307,15 +307,15 @@
307 307  
308 308  ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ====
309 309  
310 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:250px" %)
311 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)1bit|(% style="width:50px" %)14bits
312 -|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
312 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:279.222px" %)
313 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:69px" %)1 bit|(% style="width:63px" %)14 bits
314 +|=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:69px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
313 313  
314 314  ==== (% style="color:blue" %)**FLAG:**(%%) ====
315 315  
316 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:120px" %)
317 -|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width:30px" %)1bit
318 -|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:47px" %)[[LON>>||anchor="HLON:"]]
318 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:183.222px" %)
319 +|=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:30px" %)2 bits|(% style="width:52px" %)1 bit
320 +|=(% style="width: 79px;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:52px" %)[[LON>>||anchor="HLON:"]]
319 319  
320 320  **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 
321 321  
... ... @@ -360,6 +360,9 @@
360 360  * 3.40v ~~ 3.69v:  20% ~~ 40%
361 361  * < 3.39v:  0~~20%
362 362  
365 +(% style="display:none" %) (%%)
366 +
367 +
363 363  ==== (% style="color:blue" %)**MOD:**(%%) ====
364 364  
365 365  **Example: ** (0x60>>6) & 0x3f =1
... ... @@ -421,7 +421,7 @@
421 421  === 2.4.4  Uplink FPORT~=4, History GNSS Positioning ===
422 422  
423 423  
424 -Set [[PNACKMD=1>>||anchor="H3.2.10A0A0AutoSendNone-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.
429 +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.
425 425  
426 426  
427 427  (% style="color:red" %)**Note for this mode:**
... ... @@ -476,9 +476,30 @@
476 476  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
477 477  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
478 478  
479 -=== 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
484 +(% style="display:none" %) (%%)
480 480  
486 +=== 2.4.6  Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) ===
481 481  
488 +The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server.
489 +
490 +(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %)
491 +|**Size(bytes)**|2|1
492 +|**Value**|[[Alarm & BAT>>path:#HAlarm26BAT:]]|Mod+lon
493 +
494 + [[image:image-20230302145315-1.png]]
495 +
496 +alarm=(bytes[0] & 0x40) ~/~/Alarm status
497 +
498 +batV=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000;~/~/Battery,units:V
499 +
500 +mod = bytes[2] & 0xC0;
501 +
502 +Lon=(bytes[2] & 0x20)
503 +
504 +
505 +=== 2.4.7  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
506 +
507 +
482 482  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.
483 483  
484 484  
... ... @@ -498,9 +498,12 @@
498 498  * (% style="color:#037691" %)**SSID:      **(%%)WiFi name.
499 499  * (% style="color:#037691" %)**RSSI:      **(%%)The RSSI from the strongest WiFi.
500 500  
501 -=== 2.4.7  Add Payload format in TTN V3 ===
527 +(% style="display:none" %) (%%)
502 502  
503 503  
530 +=== 2.4.8  Add Payload format in TTN V3 ===
531 +
532 +
504 504  In TTN V3, user can add a custom payload so it shows friendly.
505 505  
506 506  In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**
... ... @@ -546,7 +546,7 @@
546 546  
547 547  total 273 entries,by default,
548 548  
549 -User can set [[PNACKMD=1>>||anchor="H3.2.10A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
578 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
550 550  
551 551  Example use case.
552 552  
... ... @@ -586,13 +586,13 @@
586 586  
587 587  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.
588 588  
589 -[[MTDC>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]] defines the Uplink Interval during transportation.
618 +* **[[MTDC>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]]** defines the Uplink Interval during transportation.
619 +* **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic.
620 +* **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion.
590 590  
591 -[[TDC>>||anchor="H3.2.1SetTransmitInterval"]] defines the uplink interval when TrackerD is stactic.
622 +(% style="display:none" %) (%%)
592 592  
593 -[[PT>>||anchor="H3.2.1SetTransmitInterval"]] defines the threldhold to detect a motion.
594 594  
595 -
596 596  == 2.10 LED Status ==
597 597  
598 598  
... ... @@ -610,6 +610,9 @@
610 610  |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes
611 611  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
612 612  
642 +(% style="display:none" %) (%%)
643 +
644 +
613 613  == 2.11 Button Function ==
614 614  
615 615  
... ... @@ -622,8 +622,9 @@
622 622  
623 623  (% style="color:red" %)**RED button:**
624 624  
625 -[[image:1664502854406-763.png||_mstalt="295568"]]
657 +[[image:image-20230213110506-3.png]](% style="display:none" %)
626 626  
659 +(% style="display:none" %) (%%)
627 627  
628 628  (% border="1" style="background-color:#ffffcc; width:510px" %)
629 629  |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description**
... ... @@ -631,6 +631,9 @@
631 631  |(% 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
632 632  |(% 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.
633 633  
667 +(% style="display:none" %) (%%)
668 +
669 +
634 634  == 2.12 USB Port Function ==
635 635  
636 636  
... ... @@ -641,6 +641,9 @@
641 641  * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]]
642 642  * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]]
643 643  
680 +(% style="display:none" %) (%%)
681 +
682 +
644 644  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
645 645  
646 646  
... ... @@ -669,8 +669,8 @@
669 669  
670 670  [[image:1664503047675-651.png||_mstalt="295386"]]
671 671  
711 +(% style="display:none" %) (%%)
672 672  
673 -
674 674  == 3.2 Command Set ==
675 675  
676 676  === 3.2.1 Set Transmit Interval ===
... ... @@ -736,7 +736,7 @@
736 736  (% style="color:#037691" %)**0x02 01**    (%%) ~/~/  Exit Alarm Mode
737 737  
738 738  
739 -=== 3.2.5 Disable/Enable LED flash ===
778 +=== 3.2.5 Disable/Enable LED flash and buzzer ===
740 740  
741 741  
742 742  Disable/Enable LED for position, downlink and uplink
... ... @@ -860,8 +860,8 @@
860 860  (% style="color:#037691" %)**0xAD 00 46**    (%%) ~/~/  Set AT+PDOP=7  (0x46 / 10 =7)
861 861  
862 862  
902 +=== 3.2.10 Disable/Enable the confirmation mode ===
863 863  
864 -=== 3.2.10 Disable/Enable the confirmation mode ===
865 865  
866 866  * (% style="color:blue" %)**AT Command:**
867 867  
... ... @@ -944,11 +944,11 @@
944 944  
945 945  (% style="color:blue" %)**AT Command:**
946 946  
947 -(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/(Disable (0), Enable (1), default:0)
986 +(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/  (Disable (0), Enable (1), default:0)
948 948  \\Example: AT+SHOWID=1 ~-~-> Enable Information printing.
949 949  
950 950  
951 -=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
990 +=== 3.2.15  Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
952 952  
953 953  
954 954  The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network.
... ... @@ -955,14 +955,34 @@
955 955  
956 956  (% style="color:blue" %)**AT Command:**
957 957  
958 -(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode
997 +(% style="color:#037691" %)**AT+CHE=1      **(%%) ~/~/ set one channels mode
959 959  
960 960  
961 961  (% style="color:blue" %)**Downlink Payload:0X24**
962 962  
963 -Example: 0x24 01 ~/~/ Same as AT+CHE=1
1002 +Example: 0x24 01  ~/~/ Same as AT+CHE=1
964 964  
965 965  
1005 +=== 3.2.16  Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
1006 +
1007 +
1008 +User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event.
1009 +
1010 +(% style="color:blue" %)**AT Command:**
1011 +
1012 +(% style="color:#037691" %)**AT+PT=xx**
1013 +
1014 + Example:
1015 +
1016 + AT+PT=14    ~-~->    Set to detect car motion.
1017 +
1018 + AT+PT=41  ~-~->    set to detect walk motion.
1019 +
1020 +
1021 +(% style="color:blue" %)**Downlink Payload:0xB4**(%%)
1022 +0xB4 14          ~/~/  Same as AT+PT=14
1023 +
1024 +
966 966  = 4. Setting for Different Scenarios =
967 967  
968 968  
... ... @@ -1014,16 +1014,15 @@
1014 1014  US915.bin @ 0x10000(Select the bin file of the frequency band you need)
1015 1015  
1016 1016  
1017 -[[image:image-20221118105220-2.png||_mstalt="426608"]]
1076 +[[image:image-20221207120501-1.png]]
1018 1018  
1019 1019  
1020 1020  
1021 1021  After upgrade finish, it will show finish as below:
1022 1022  
1023 -[[image:image-20221118105402-4.png||_mstalt="427986"]]
1082 +[[image:image-20221207133911-7.png]]
1024 1024  
1025 1025  
1026 -
1027 1027  = 6. Developer Guide =
1028 1028  
1029 1029  == 6.1 Compile Source Code ==
... ... @@ -1045,13 +1045,70 @@
1045 1045  [[image:1664503715811-892.png||_mstalt="295698"]]
1046 1046  
1047 1047  
1106 +=== 6.1.2  Build the development environment ===
1107 +
1108 +
1109 +**~1. Download and install arduino IDE**
1110 +
1111 +[[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]]
1112 +
1113 +
1114 +**2. Download the ESP32 development package in the arduino IDE**
1115 +
1116 +[[image:image-20221213100007-1.png]]
1117 +
1118 +
1119 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]]
1120 +
1121 +[[image:image-20221213100626-2.png]]
1122 +
1123 +
1124 +Restart the IDE after the addition is complete, then:
1125 +
1126 +[[image:image-20221213100808-3.png||height="679" width="649"]]
1127 +
1128 +
1129 +[[image:image-20221213101040-4.png]]
1130 +
1131 +
1132 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1133 +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)**
1134 +
1135 +
1136 +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:
1137 +
1138 +(% style="color:blue" %)**Methods as below:**
1139 +
1140 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]]
1141 +
1142 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here.
1143 +
1048 1048  (% 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.
1049 1049  
1146 +[[image:image-20221213102311-5.png||height="582" width="711"]]
1147 +
1148 +
1149 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)**
1150 +
1151 +[[image:image-20221213102334-6.png]]
1152 +
1153 +(% style="color:red" %)**Note: This step requires a python environment**
1154 +
1155 +
1156 +Either way, in the end:
1157 +
1158 +The final effect is to open the arduino and you can see the esp32
1159 +
1160 +[[image:image-20221213110952-8.png||height="866" width="711"]]
1161 +
1162 +
1163 +
1050 1050  [[image:image-20221024105643-1.png||_mstalt="428129"]]
1051 1051  
1052 1052  **~ Figure1**
1053 1053  
1054 1054  
1169 +
1055 1055  [[image:image-20221024105643-2.png||_mstalt="428493"]]
1056 1056  
1057 1057   **Figure2**
... ... @@ -1111,6 +1111,9 @@
1111 1111  |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14
1112 1112  |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15
1113 1113  
1229 +(% style="display:none" %) (%%)
1230 +
1231 +
1114 1114  == 7.3 Notes on using different serial port tools for TrackerD ==
1115 1115  
1116 1116  === 7.3.1  Serial port utility ===
... ... @@ -1193,6 +1193,12 @@
1193 1193  [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]]
1194 1194  
1195 1195  
1314 +== 7.5 Are there example python example for BLE Indoor Positioning? ==
1315 +
1316 +
1317 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]]
1318 +
1319 +
1196 1196  = 8  Trouble Shooting =
1197 1197  
1198 1198  == 8.1  TDC is changed to 4294947296 and cause no uplink. ==
... ... @@ -1199,7 +1199,7 @@
1199 1199  
1200 1200  
1201 1201  (((
1202 -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
1326 +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
1203 1203  )))
1204 1204  
1205 1205  
... ... @@ -1213,54 +1213,65 @@
1213 1213  
1214 1214  == 8.3  Problem after Upgrading Firmware ==
1215 1215  
1216 -=== 8.3.1 Continue Restart after upgrading ===
1340 +=== 8.3.1 "rst: (0x3 SW_RESET)" and Continue Restart after upgrading ===
1217 1217  
1218 1218  
1219 -(((
1220 -If it is V1.4.0 and the previous version, new partitions need to be loaded when upgrading. The new version of the software is stored in the partition package. The upgrade method is shown in the figure
1221 -)))
1343 +**Error Output**
1222 1222  
1223 1223  
1224 -[[image:image-20221118105249-3.png||_mstalt="430664"]]
1346 +[[image:image-20221122100004-4.png||_mstalt="424606"]]
1225 1225  
1226 1226  
1227 -=== 8.3.2 TrackerD's led light is always GREEN on after upgrading ===
1349 +(((
1350 +Some partition is missed during upgrade, please upgrade below four files as example:
1228 1228  
1352 +[[image:image-20221207120524-2.png]]
1353 +)))
1229 1229  
1355 +
1356 +=== 8.3.2 TrackerD's led light is always GREEN on after upgrading ===
1357 +
1358 +
1230 1230  It is because the partitions are different when upgrading versions above 1.4.1, and a new partition file needs to be added. Please refer to the operation steps in chapter 8.3.1
1231 1231  
1232 1232  
1233 -=== 8.3.3 "flash read err" after upgrade firmware ===
1362 +=== 8.3.3 "flash read err" after upgrade firmware ===
1234 1234  
1364 +
1235 1235  Error shows below, user might erase the entire flash include u-boot partition which cause this issue.
1236 1236  
1367 +
1237 1237  [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]]
1238 1238  
1239 1239  
1240 1240  User need to upgrade again with below four files to solve this issue.
1241 1241  
1242 - [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1373 + [[image:image-20221207120530-3.png]]
1243 1243  
1244 1244   **Figure 2**
1245 1245  
1246 1246  
1247 -=== 8.3.3 "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===
1378 +=== 8.3. "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===
1248 1248  
1380 +
1249 1249  User might erase the entire flash include keys and default settings which cause this issue.
1250 1250  
1251 -After the upgrade is completed, enter AT+CFG as shown in the figure below.
1383 +After the upgrade is completed, enter **AT+CFG** as shown in the figure below.
1252 1252  
1385 +
1253 1253  [[image:image-20221122100004-3.png||_mstalt="424242"]]
1254 1254  
1255 -Please **AT+FDR** which will reset all settings to factory settings. , and then input the following keys by the information on the label.
1256 1256  
1389 +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.
1390 +
1257 1257  After AT+FDR. please set
1258 1258  
1259 -* AT+PDOP=7
1260 -* AT+FTIME=180000
1393 +* (% _mstmutation="1" style="color:blue" %)**AT+PDOP=7**
1261 1261  
1262 -Example:
1395 +* (% _mstmutation="1" style="color:blue" %)**AT+FTIME=180000**
1263 1263  
1397 +**Example:**
1398 +
1264 1264  AT+PDOP=7.00
1265 1265  
1266 1266  AT+FTIME=180
... ... @@ -1278,13 +1278,6 @@
1278 1278  AT+APPSKEY=dacce2299ecd97a73ee3f80b5a46a559   ( no need for OTAA)
1279 1279  
1280 1280  
1281 -
1282 -=== 8.3.4  If there is a situation in Figure 1, and a new partition file needs to be added. Please refer to the operation steps in chapter 8.3.1 ===
1283 -
1284 -
1285 -[[image:image-20221122100004-4.png||_mstalt="424606"]]
1286 -
1287 -
1288 1288  == 8.4  When positioning, it will restart or the PDOP setting is unsuccessful ==
1289 1289  
1290 1290  
... ... @@ -1307,6 +1307,52 @@
1307 1307  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
1308 1308  
1309 1309  
1438 +== 8.6  When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets ==
1439 +
1440 +
1441 +When upgrading, use the erase button to upgrade
1442 +
1443 +[[image:image-20221207120536-4.png]]
1444 +
1445 +
1446 +The parameters are displayed abnormally and cannot be fixed using AT+FDR
1447 +
1448 +[[image:image-20221128103040-2.png||height="431" width="525"]]
1449 +
1450 +
1451 +Please upgrade these four files,link(The boot_app0 file is in the version folder you need)
1452 +
1453 +[[image:image-20221207134028-8.png]]
1454 +
1455 +
1456 +Reboot information after upgrade
1457 +
1458 +[[image:image-20221128111443-4.png||height="432" width="546"]]
1459 +
1460 +
1461 +Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal
1462 +
1463 +[[image:image-20221128111850-5.png]]
1464 +
1465 +
1466 +After the parameters return to normal, upgrade to the version you need again
1467 +
1468 +[[image:image-20221207120601-5.png]]
1469 +
1470 +
1471 +At this point, the parameters return to normal after running AT+FDR again
1472 +
1473 +[[image:image-20221128112035-7.png]]
1474 +
1475 +
1476 +== 8.7  If you encounter the following problems, please upgrade to the latest version ==
1477 +
1478 +
1479 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond.
1480 +
1481 +2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1)
1482 +
1483 +
1310 1310  = 9.  Order Info =
1311 1311  
1312 1312  
... ... @@ -1328,6 +1328,9 @@
1328 1328  
1329 1329  * (% style="color:red" %)**US915**(%%): Default frequency band US915
1330 1330  
1505 +(% style="display:none" %) (%%)
1506 +
1507 +
1331 1331  = 10.  Packing Info =
1332 1332  
1333 1333  
... ... @@ -1343,6 +1343,9 @@
1343 1343  
1344 1344  * Weight: 50g
1345 1345  
1523 +(% style="display:none" %) (%%)
1524 +
1525 +
1346 1346  = 11. Support =
1347 1347  
1348 1348  
... ... @@ -1350,6 +1350,9 @@
1350 1350  
1351 1351  * 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]].
1352 1352  
1533 +(% style="display:none" %) (%%)
1534 +
1535 +
1353 1353  = 12.  Reference =
1354 1354  
1355 1355  
... ... @@ -1358,3 +1358,6 @@
1358 1358  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1359 1359  
1360 1360  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1544 +
1545 +
1546 +)))
image-20221128102938-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +41.3 KB
Content
image-20221128103040-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +19.2 KB
Content
image-20221128110503-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +45.6 KB
Content
image-20221128111443-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +15.6 KB
Content
image-20221128111850-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +14.5 KB
Content
image-20221128111951-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +45.4 KB
Content
image-20221128112035-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +14.7 KB
Content
image-20221207120501-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207120524-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207120530-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207120536-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207120601-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +44.5 KB
Content
image-20221207133836-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +52.1 KB
Content
image-20221207133911-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +46.3 KB
Content
image-20221207134028-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +49.3 KB
Content
image-20221213100007-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +32.7 KB
Content
image-20221213100626-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +35.7 KB
Content
image-20221213100808-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +91.3 KB
Content
image-20221213101040-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +26.3 KB
Content
image-20221213102311-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +49.7 KB
Content
image-20221213102334-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +52.5 KB
Content
image-20221213102718-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +116.5 KB
Content
image-20221213110952-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +152.8 KB
Content
image-20230213110119-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +182.3 KB
Content
image-20230213110214-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +182.3 KB
Content
image-20230213110506-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +19.8 KB
Content
image-20230302145315-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +35.1 KB
Content