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

From version 162.1
edited by Bei Jinggeng
on 2022/11/28 11:20
Change comment: Uploaded new attachment "image-20221128112035-7.png", version {1}
To version 187.4
edited by Xiaoling
on 2022/12/21 16:09
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
... ... @@ -12,6 +12,7 @@
12 12  
13 13  
14 14  
15 +
15 15  = 1.  Introduction =
16 16  
17 17  == 1.1  What is TrackerD ==
... ... @@ -366,7 +366,6 @@
366 366  * < 3.39v:  0~~20%
367 367  
368 368  
369 -
370 370  ==== (% style="color:blue" %)**MOD:**(%%) ====
371 371  
372 372  **Example: ** (0x60>>6) & 0x3f =1
... ... @@ -428,7 +428,7 @@
428 428  === 2.4.4  Uplink FPORT~=4, History GNSS Positioning ===
429 429  
430 430  
431 -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.
431 +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.
432 432  
433 433  
434 434  (% style="color:red" %)**Note for this mode:**
... ... @@ -557,7 +557,7 @@
557 557  
558 558  total 273 entries,by default,
559 559  
560 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
560 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
561 561  
562 562  Example use case.
563 563  
... ... @@ -875,7 +875,6 @@
875 875  (% style="color:#037691" %)**0xAD 00 46**    (%%) ~/~/  Set AT+PDOP=7  (0x46 / 10 =7)
876 876  
877 877  
878 -
879 879  === 3.2.10 Disable/Enable the confirmation mode ===
880 880  
881 881  
... ... @@ -960,11 +960,11 @@
960 960  
961 961  (% style="color:blue" %)**AT Command:**
962 962  
963 -(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/(Disable (0), Enable (1), default:0)
962 +(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/  (Disable (0), Enable (1), default:0)
964 964  \\Example: AT+SHOWID=1 ~-~-> Enable Information printing.
965 965  
966 966  
967 -=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
966 +=== 3.2.15  Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
968 968  
969 969  
970 970  The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network.
... ... @@ -971,16 +971,17 @@
971 971  
972 972  (% style="color:blue" %)**AT Command:**
973 973  
974 -(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode
973 +(% style="color:#037691" %)**AT+CHE=1      **(%%) ~/~/ set one channels mode
975 975  
976 976  
977 977  (% style="color:blue" %)**Downlink Payload:0X24**
978 978  
979 -Example: 0x24 01 ~/~/ Same as AT+CHE=1
978 +Example: 0x24 01  ~/~/ Same as AT+CHE=1
980 980  
981 981  
982 -=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
981 +=== 3.2.16  Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
983 983  
983 +
984 984  User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event.
985 985  
986 986  (% style="color:blue" %)**AT Command:**
... ... @@ -991,7 +991,7 @@
991 991  
992 992   AT+PT=14    ~-~->    Set to detect car motion.
993 993  
994 - AT+PT=41   ~-~->    set to detect walk motion.
994 + AT+PT=41  ~-~->    set to detect walk motion.
995 995  
996 996  
997 997  (% style="color:blue" %)**Downlink Payload:0xB4**(%%)
... ... @@ -998,7 +998,6 @@
998 998  0xB4 14          ~/~/  Same as AT+PT=14
999 999  
1000 1000  
1001 -
1002 1002  = 4. Setting for Different Scenarios =
1003 1003  
1004 1004  
... ... @@ -1050,16 +1050,15 @@
1050 1050  US915.bin @ 0x10000(Select the bin file of the frequency band you need)
1051 1051  
1052 1052  
1053 -[[image:image-20221118105220-2.png||_mstalt="426608"]]
1052 +[[image:image-20221207120501-1.png]]
1054 1054  
1055 1055  
1056 1056  
1057 1057  After upgrade finish, it will show finish as below:
1058 1058  
1059 -[[image:image-20221118105402-4.png||_mstalt="427986"]]
1058 +[[image:image-20221207133911-7.png]]
1060 1060  
1061 1061  
1062 -
1063 1063  = 6. Developer Guide =
1064 1064  
1065 1065  == 6.1 Compile Source Code ==
... ... @@ -1081,13 +1081,69 @@
1081 1081  [[image:1664503715811-892.png||_mstalt="295698"]]
1082 1082  
1083 1083  
1082 +=== 6.1.2  Build the development environment ===
1083 +
1084 +
1085 +**~1. Download and install arduino IDE**
1086 +
1087 +[[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]]
1088 +
1089 +
1090 +**2. Download the ESP32 development package in the arduino IDE**
1091 +
1092 +[[image:image-20221213100007-1.png]]
1093 +
1094 +
1095 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]]
1096 +
1097 +[[image:image-20221213100626-2.png]]
1098 +
1099 +
1100 +Restart the IDE after the addition is complete, then:
1101 +
1102 +[[image:image-20221213100808-3.png||height="679" width="649"]]
1103 +
1104 +
1105 +[[image:image-20221213101040-4.png]]
1106 +
1107 +
1108 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1109 +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)**
1110 +
1111 +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:
1112 +
1113 +(% style="color:blue" %)**Methods as below:**
1114 +
1115 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]]
1116 +
1117 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here.
1118 +
1084 1084  (% 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.
1085 1085  
1121 +[[image:image-20221213102311-5.png||height="582" width="711"]]
1122 +
1123 +
1124 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)**
1125 +
1126 +[[image:image-20221213102334-6.png]]
1127 +
1128 +(% style="color:red" %)**Note: This step requires a python environment**
1129 +
1130 +
1131 +Either way, in the end:
1132 +
1133 +The final effect is to open the arduino and you can see the esp32
1134 +
1135 +[[image:image-20221213110952-8.png||height="866" width="711"]]
1136 +
1137 +
1138 +
1086 1086  [[image:image-20221024105643-1.png||_mstalt="428129"]]
1087 1087  
1088 1088  **~ Figure1**
1089 1089  
1090 1090  
1144 +
1091 1091  [[image:image-20221024105643-2.png||_mstalt="428493"]]
1092 1092  
1093 1093   **Figure2**
... ... @@ -1231,6 +1231,12 @@
1231 1231  [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]]
1232 1232  
1233 1233  
1288 +== 7.5 Are there example python example for BLE Indoor Positioning? ==
1289 +
1290 +
1291 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]]
1292 +
1293 +
1234 1234  = 8  Trouble Shooting =
1235 1235  
1236 1236  == 8.1  TDC is changed to 4294947296 and cause no uplink. ==
... ... @@ -1263,7 +1263,7 @@
1263 1263  (((
1264 1264  Some partition is missed during upgrade, please upgrade below four files as example:
1265 1265  
1266 -[[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1326 +[[image:image-20221207120524-2.png]]
1267 1267  )))
1268 1268  
1269 1269  
... ... @@ -1284,7 +1284,7 @@
1284 1284  
1285 1285  User need to upgrade again with below four files to solve this issue.
1286 1286  
1287 - [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1347 + [[image:image-20221207120530-3.png]]
1288 1288  
1289 1289   **Figure 2**
1290 1290  
... ... @@ -1349,6 +1349,52 @@
1349 1349  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
1350 1350  
1351 1351  
1412 +== 8.6  When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets ==
1413 +
1414 +
1415 +When upgrading, use the erase button to upgrade
1416 +
1417 +[[image:image-20221207120536-4.png]]
1418 +
1419 +
1420 +The parameters are displayed abnormally and cannot be fixed using AT+FDR
1421 +
1422 +[[image:image-20221128103040-2.png||height="431" width="525"]]
1423 +
1424 +
1425 +Please upgrade these four files,link(The boot_app0 file is in the version folder you need)
1426 +
1427 +[[image:image-20221207134028-8.png]]
1428 +
1429 +
1430 +Reboot information after upgrade
1431 +
1432 +[[image:image-20221128111443-4.png||height="432" width="546"]]
1433 +
1434 +
1435 +Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal
1436 +
1437 +[[image:image-20221128111850-5.png]]
1438 +
1439 +
1440 +After the parameters return to normal, upgrade to the version you need again
1441 +
1442 +[[image:image-20221207120601-5.png]]
1443 +
1444 +
1445 +At this point, the parameters return to normal after running AT+FDR again
1446 +
1447 +[[image:image-20221128112035-7.png]]
1448 +
1449 +
1450 +== 8.7  If you encounter the following problems, please upgrade to the latest version ==
1451 +
1452 +
1453 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond.
1454 +
1455 +2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1)
1456 +
1457 +
1352 1352  = 9.  Order Info =
1353 1353  
1354 1354  
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