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

From version 164.1
edited by Bei Jinggeng
on 2022/11/28 14:10
Change comment: There is no comment for this version
To version 186.1
edited by Bei Jinggeng
on 2022/12/15 10:27
Change comment: There is no comment for this version

Summary

Details

Page properties
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 ==
... ... @@ -418,7 +418,7 @@
418 418  === 2.4.4  Uplink FPORT~=4, History GNSS Positioning ===
419 419  
420 420  
421 -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.
422 +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.
422 422  
423 423  
424 424  (% style="color:red" %)**Note for this mode:**
... ... @@ -543,7 +543,7 @@
543 543  
544 544  total 273 entries,by default,
545 545  
546 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
547 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
547 547  
548 548  Example use case.
549 549  
... ... @@ -853,7 +853,6 @@
853 853  (% style="color:#037691" %)**0xAD 00 46**    (%%) ~/~/  Set AT+PDOP=7  (0x46 / 10 =7)
854 854  
855 855  
856 -
857 857  === 3.2.10 Disable/Enable the confirmation mode ===
858 858  
859 859  
... ... @@ -938,11 +938,11 @@
938 938  
939 939  (% style="color:blue" %)**AT Command:**
940 940  
941 -(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/(Disable (0), Enable (1), default:0)
941 +(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/  (Disable (0), Enable (1), default:0)
942 942  \\Example: AT+SHOWID=1 ~-~-> Enable Information printing.
943 943  
944 944  
945 -=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
945 +=== 3.2.15  Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
946 946  
947 947  
948 948  The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network.
... ... @@ -949,16 +949,17 @@
949 949  
950 950  (% style="color:blue" %)**AT Command:**
951 951  
952 -(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode
952 +(% style="color:#037691" %)**AT+CHE=1      **(%%) ~/~/ set one channels mode
953 953  
954 954  
955 955  (% style="color:blue" %)**Downlink Payload:0X24**
956 956  
957 -Example: 0x24 01 ~/~/ Same as AT+CHE=1
957 +Example: 0x24 01  ~/~/ Same as AT+CHE=1
958 958  
959 959  
960 -=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
960 +=== 3.2.16  Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
961 961  
962 +
962 962  User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event.
963 963  
964 964  (% style="color:blue" %)**AT Command:**
... ... @@ -969,7 +969,7 @@
969 969  
970 970   AT+PT=14    ~-~->    Set to detect car motion.
971 971  
972 - AT+PT=41   ~-~->    set to detect walk motion.
973 + AT+PT=41  ~-~->    set to detect walk motion.
973 973  
974 974  
975 975  (% style="color:blue" %)**Downlink Payload:0xB4**(%%)
... ... @@ -976,7 +976,6 @@
976 976  0xB4 14          ~/~/  Same as AT+PT=14
977 977  
978 978  
979 -
980 980  = 4. Setting for Different Scenarios =
981 981  
982 982  
... ... @@ -1028,16 +1028,15 @@
1028 1028  US915.bin @ 0x10000(Select the bin file of the frequency band you need)
1029 1029  
1030 1030  
1031 -[[image:image-20221118105220-2.png||_mstalt="426608"]]
1031 +[[image:image-20221207120501-1.png]]
1032 1032  
1033 1033  
1034 1034  
1035 1035  After upgrade finish, it will show finish as below:
1036 1036  
1037 -[[image:image-20221118105402-4.png||_mstalt="427986"]]
1037 +[[image:image-20221207133911-7.png]]
1038 1038  
1039 1039  
1040 -
1041 1041  = 6. Developer Guide =
1042 1042  
1043 1043  == 6.1 Compile Source Code ==
... ... @@ -1059,13 +1059,60 @@
1059 1059  [[image:1664503715811-892.png||_mstalt="295698"]]
1060 1060  
1061 1061  
1061 +=== 6.1.2 Build the development environment ===
1062 +
1063 +~1. Download and install arduino IDE
1064 +
1065 +[[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]]
1066 +
1067 +
1068 +2. Download the ESP32 development package in the arduino IDE
1069 +
1070 +[[image:image-20221213100007-1.png]]
1071 +
1072 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]]
1073 +
1074 +[[image:image-20221213100626-2.png]]
1075 +
1076 +Restart the IDE after the addition is complete, then:
1077 +
1078 +[[image:image-20221213100808-3.png||height="679" width="649"]]
1079 +
1080 +[[image:image-20221213101040-4.png]]
1081 +
1082 +**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1083 +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)**
1084 +
1085 +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:
1086 +
1087 +Methods as below:
1088 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]]
1089 +
1090 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here.
1091 +
1062 1062  (% 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.
1063 1063  
1094 +[[image:image-20221213102311-5.png||height="582" width="711"]]
1095 +
1096 +3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)
1097 +
1098 +[[image:image-20221213102334-6.png]]
1099 +
1100 +**Note: This step requires a python environment**
1101 +
1102 +Either way, in the end:
1103 +The final effect is to open the arduino and you can see the esp32
1104 +
1105 +[[image:image-20221213110952-8.png||height="866" width="711"]]
1106 +
1107 +
1108 +
1064 1064  [[image:image-20221024105643-1.png||_mstalt="428129"]]
1065 1065  
1066 1066  **~ Figure1**
1067 1067  
1068 1068  
1114 +
1069 1069  [[image:image-20221024105643-2.png||_mstalt="428493"]]
1070 1070  
1071 1071   **Figure2**
... ... @@ -1239,7 +1239,7 @@
1239 1239  (((
1240 1240  Some partition is missed during upgrade, please upgrade below four files as example:
1241 1241  
1242 -[[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1288 +[[image:image-20221207120524-2.png]]
1243 1243  )))
1244 1244  
1245 1245  
... ... @@ -1260,7 +1260,7 @@
1260 1260  
1261 1261  User need to upgrade again with below four files to solve this issue.
1262 1262  
1263 - [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1309 + [[image:image-20221207120530-3.png]]
1264 1264  
1265 1265   **Figure 2**
1266 1266  
... ... @@ -1327,9 +1327,10 @@
1327 1327  
1328 1328  == 8.6  When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets ==
1329 1329  
1376 +
1330 1330  When upgrading, use the erase button to upgrade
1331 1331  
1332 -[[image:image-20221128102938-1.png||height="537" width="335"]]
1379 +[[image:image-20221207120536-4.png]]
1333 1333  
1334 1334  
1335 1335  The parameters are displayed abnormally and cannot be fixed using AT+FDR
... ... @@ -1336,27 +1336,39 @@
1336 1336  
1337 1337  [[image:image-20221128103040-2.png||height="431" width="525"]]
1338 1338  
1386 +
1339 1339  Please upgrade these four files,link(The boot_app0 file is in the version folder you need)
1340 1340  
1341 -[[image:image-20221128110503-3.png||height="647" width="410"]]
1389 +[[image:image-20221207134028-8.png]]
1342 1342  
1391 +
1343 1343  Reboot information after upgrade
1344 1344  
1345 1345  [[image:image-20221128111443-4.png||height="432" width="546"]]
1346 1346  
1396 +
1347 1347  Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal
1348 1348  
1349 1349  [[image:image-20221128111850-5.png]]
1350 1350  
1401 +
1351 1351  After the parameters return to normal, upgrade to the version you need again
1352 1352  
1353 -[[image:image-20221128111951-6.png||height="620" width="389"]]
1404 +[[image:image-20221207120601-5.png]]
1354 1354  
1406 +
1355 1355  At this point, the parameters return to normal after running AT+FDR again
1356 1356  
1357 1357  [[image:image-20221128112035-7.png]]
1358 1358  
1359 1359  
1412 +== 8.7 If you encounter the following problems, please upgrade to the latest version ==
1413 +
1414 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond.
1415 +
1416 +2.Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1)
1417 +
1418 +
1360 1360  = 9.  Order Info =
1361 1361  
1362 1362  
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