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

From version 188.2
edited by Xiaoling
on 2023/01/06 15:30
Change comment: There is no comment for this version
To version 161.1
edited by Bei Jinggeng
on 2022/11/28 11:19
Change comment: Uploaded new attachment "image-20221128111951-6.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
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 ==
... ... @@ -331,7 +331,6 @@
331 331  * Latitude: 02863D68  ⇒  //if (0x//02863D68//& 0x80000000 = 0 )~://  //value = 02863D68 /1000000 = 42.351976//
332 332  * Longitude: FAC29BAF  ⇒ //if (0x//FAC29BAF// & 0x80000000 = 1 )~://  //value = (0x//FAC29BAF// – 0x 100000000)/1000000 =//-87.9094//57//
333 333  
334 -
335 335  (% style="color:red" %)**Important note:**
336 336  
337 337  1.  When power is low (<2.84v), GPS won't be able to get location info and GPS feature will be disabled and the location field will be filled with 0x0FFFFFFF, 0x0FFFFFFF.
... ... @@ -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.
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.
434 434  
435 435  
436 436  (% style="color:red" %)**Note for this mode:**
... ... @@ -559,7 +559,7 @@
559 559  
560 560  total 273 entries,by default,
561 561  
562 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
560 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0A0AutoSendNone-ACKmessages"]], to enable Datalog feature.
563 563  
564 564  Example use case.
565 565  
... ... @@ -753,7 +753,7 @@
753 753  (% style="color:#037691" %)**0x02 01**    (%%) ~/~/  Exit Alarm Mode
754 754  
755 755  
756 -=== 3.2.5 Disable/Enable LED flash and buzzer ===
754 +=== 3.2.5 Disable/Enable LED flash ===
757 757  
758 758  
759 759  Disable/Enable LED for position, downlink and uplink
... ... @@ -877,6 +877,7 @@
877 877  (% style="color:#037691" %)**0xAD 00 46**    (%%) ~/~/  Set AT+PDOP=7  (0x46 / 10 =7)
878 878  
879 879  
878 +
880 880  === 3.2.10 Disable/Enable the confirmation mode ===
881 881  
882 882  
... ... @@ -961,11 +961,11 @@
961 961  
962 962  (% style="color:blue" %)**AT Command:**
963 963  
964 -(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/  (Disable (0), Enable (1), default:0)
963 +(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/(Disable (0), Enable (1), default:0)
965 965  \\Example: AT+SHOWID=1 ~-~-> Enable Information printing.
966 966  
967 967  
968 -=== 3.2.15  Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
967 +=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
969 969  
970 970  
971 971  The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network.
... ... @@ -972,17 +972,16 @@
972 972  
973 973  (% style="color:blue" %)**AT Command:**
974 974  
975 -(% style="color:#037691" %)**AT+CHE=1      **(%%) ~/~/ set one channels mode
974 +(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode
976 976  
977 977  
978 978  (% style="color:blue" %)**Downlink Payload:0X24**
979 979  
980 -Example: 0x24 01  ~/~/ Same as AT+CHE=1
979 +Example: 0x24 01 ~/~/ Same as AT+CHE=1
981 981  
982 982  
983 -=== 3.2.16  Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
982 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) ===
984 984  
985 -
986 986  User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event.
987 987  
988 988  (% style="color:blue" %)**AT Command:**
... ... @@ -993,7 +993,7 @@
993 993  
994 994   AT+PT=14    ~-~->    Set to detect car motion.
995 995  
996 - AT+PT=41  ~-~->    set to detect walk motion.
994 + AT+PT=41   ~-~->    set to detect walk motion.
997 997  
998 998  
999 999  (% style="color:blue" %)**Downlink Payload:0xB4**(%%)
... ... @@ -1000,6 +1000,7 @@
1000 1000  0xB4 14          ~/~/  Same as AT+PT=14
1001 1001  
1002 1002  
1001 +
1003 1003  = 4. Setting for Different Scenarios =
1004 1004  
1005 1005  
... ... @@ -1051,15 +1051,16 @@
1051 1051  US915.bin @ 0x10000(Select the bin file of the frequency band you need)
1052 1052  
1053 1053  
1054 -[[image:image-20221207120501-1.png]]
1053 +[[image:image-20221118105220-2.png||_mstalt="426608"]]
1055 1055  
1056 1056  
1057 1057  
1058 1058  After upgrade finish, it will show finish as below:
1059 1059  
1060 -[[image:image-20221207133911-7.png]]
1059 +[[image:image-20221118105402-4.png||_mstalt="427986"]]
1061 1061  
1062 1062  
1062 +
1063 1063  = 6. Developer Guide =
1064 1064  
1065 1065  == 6.1 Compile Source Code ==
... ... @@ -1081,69 +1081,13 @@
1081 1081  [[image:1664503715811-892.png||_mstalt="295698"]]
1082 1082  
1083 1083  
1084 -=== 6.1.2  Build the development environment ===
1085 -
1086 -
1087 -**~1. Download and install arduino IDE**
1088 -
1089 -[[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]]
1090 -
1091 -
1092 -**2. Download the ESP32 development package in the arduino IDE**
1093 -
1094 -[[image:image-20221213100007-1.png]]
1095 -
1096 -
1097 -Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]]
1098 -
1099 -[[image:image-20221213100626-2.png]]
1100 -
1101 -
1102 -Restart the IDE after the addition is complete, then:
1103 -
1104 -[[image:image-20221213100808-3.png||height="679" width="649"]]
1105 -
1106 -
1107 -[[image:image-20221213101040-4.png]]
1108 -
1109 -
1110 -(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03.
1111 -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)**
1112 -
1113 -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:
1114 -
1115 -(% style="color:blue" %)**Methods as below:**
1116 -
1117 -~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]]
1118 -
1119 -2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here.
1120 -
1121 1121  (% 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.
1122 1122  
1123 -[[image:image-20221213102311-5.png||height="582" width="711"]]
1124 -
1125 -
1126 -**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)**
1127 -
1128 -[[image:image-20221213102334-6.png]]
1129 -
1130 -(% style="color:red" %)**Note: This step requires a python environment**
1131 -
1132 -
1133 -Either way, in the end:
1134 -
1135 -The final effect is to open the arduino and you can see the esp32
1136 -
1137 -[[image:image-20221213110952-8.png||height="866" width="711"]]
1138 -
1139 -
1140 -
1141 1141  [[image:image-20221024105643-1.png||_mstalt="428129"]]
1142 1142  
1143 1143  **~ Figure1**
1144 1144  
1145 1145  
1146 -
1147 1147  [[image:image-20221024105643-2.png||_mstalt="428493"]]
1148 1148  
1149 1149   **Figure2**
... ... @@ -1287,12 +1287,6 @@
1287 1287  [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]]
1288 1288  
1289 1289  
1290 -== 7.5 Are there example python example for BLE Indoor Positioning? ==
1291 -
1292 -
1293 -[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]]
1294 -
1295 -
1296 1296  = 8  Trouble Shooting =
1297 1297  
1298 1298  == 8.1  TDC is changed to 4294947296 and cause no uplink. ==
... ... @@ -1325,7 +1325,7 @@
1325 1325  (((
1326 1326  Some partition is missed during upgrade, please upgrade below four files as example:
1327 1327  
1328 -[[image:image-20221207120524-2.png]]
1266 +[[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1329 1329  )))
1330 1330  
1331 1331  
... ... @@ -1346,7 +1346,7 @@
1346 1346  
1347 1347  User need to upgrade again with below four files to solve this issue.
1348 1348  
1349 - [[image:image-20221207120530-3.png]]
1287 + [[image:image-20221122100004-2.png||_mstalt="423878" height="619" width="389"]]
1350 1350  
1351 1351   **Figure 2**
1352 1352  
... ... @@ -1411,52 +1411,6 @@
1411 1411  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
1412 1412  
1413 1413  
1414 -== 8.6  When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets ==
1415 -
1416 -
1417 -When upgrading, use the erase button to upgrade
1418 -
1419 -[[image:image-20221207120536-4.png]]
1420 -
1421 -
1422 -The parameters are displayed abnormally and cannot be fixed using AT+FDR
1423 -
1424 -[[image:image-20221128103040-2.png||height="431" width="525"]]
1425 -
1426 -
1427 -Please upgrade these four files,link(The boot_app0 file is in the version folder you need)
1428 -
1429 -[[image:image-20221207134028-8.png]]
1430 -
1431 -
1432 -Reboot information after upgrade
1433 -
1434 -[[image:image-20221128111443-4.png||height="432" width="546"]]
1435 -
1436 -
1437 -Use **AT+FDR** command to reset and then use **AT+CFG** to check whether the configuration is back to normal
1438 -
1439 -[[image:image-20221128111850-5.png]]
1440 -
1441 -
1442 -After the parameters return to normal, upgrade to the version you need again
1443 -
1444 -[[image:image-20221207120601-5.png]]
1445 -
1446 -
1447 -At this point, the parameters return to normal after running AT+FDR again
1448 -
1449 -[[image:image-20221128112035-7.png]]
1450 -
1451 -
1452 -== 8.7  If you encounter the following problems, please upgrade to the latest version ==
1453 -
1454 -
1455 -~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond.
1456 -
1457 -2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1)
1458 -
1459 -
1460 1460  = 9.  Order Info =
1461 1461  
1462 1462  
... ... @@ -1514,9 +1514,4 @@
1514 1514  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1515 1515  
1516 1516  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1517 -
1518 -
1519 -
1520 -
1521 -
1522 1522  )))
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