Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -146,7 +146,6 @@ 146 146 [[image:image-20230213110214-2.png||height="388" width="847"]] 147 147 148 148 149 - 150 150 The LPS8N is already set to connect to [[TTN V3 network >>url:https://eu1.cloud.thethings.network/]]. What the rest need to is register this device in TTN V3: 151 151 152 152 ... ... @@ -163,11 +163,9 @@ 163 163 164 164 **__Add APP EUI in the application:__** 165 165 166 - 167 167 [[image:1664501711466-918.png||_mstalt="295828"]] 168 168 169 169 170 - 171 171 [[image:1664501721248-725.png||_mstalt="294450"]] 172 172 173 173 ... ... @@ -174,7 +174,6 @@ 174 174 [[image:1664501734705-405.png||_mstalt="293306"]] 175 175 176 176 177 - 178 178 **__Add APP KEY and DEV EUI:__** 179 179 180 180 ... ... @@ -181,7 +181,6 @@ 181 181 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS02%20-%20LoRaWAN%20Door%20Sensor%20User%20Manual/WebHome/1654671889112-678.png?rev=1.1||_mstalt="298233" alt="1654671889112-678.png"]] 182 182 183 183 184 - 185 185 (% style="color:blue" %)**Step 2**:(%%) Push this button will activate this device. 186 186 187 187 (% id="cke_bm_7709S" style="display:none" %) [[image:1664502835802-546.png||_mstalt="295061"]] ... ... @@ -213,7 +213,6 @@ 213 213 214 214 Use can also get the Device Status uplink through the downlink command: (% style="color:#037691" %)**Downlink: 0x2301** 215 215 216 - 217 217 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:440px" %) 218 218 |(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**Size(bytes)**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)1|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)1|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)1 219 219 |(% 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 ... ... @@ -264,27 +264,27 @@ 264 264 |(% style="width:60px" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)2 bits|(% style="width:80px" %)4 bits 265 265 |(% style="width:75px" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings 266 266 267 -(% style="color:blue" %)** 261 +(% style="color:blue" %)**SMOD:** 268 268 269 -(% style="color:red" %)** 263 +(% style="color:red" %)**1 :** (%%) GPS ONLY 270 270 271 -(% style="color:red" %)** 265 +(% style="color:red" %)**2 :** (%%) BLE ONLY 272 272 273 -(% style="color:red" %)** 267 +(% style="color:red" %)**3 :** (%%) GPS/BLE Hybrid 274 274 275 275 276 -(% style="color:blue" %)** 270 +(% style="color:blue" %)**GPS_MOD: Define how to send GPS payload** 277 277 278 -(% style="color:red" %)** 272 +(% style="color:red" %)**0 : ** (%%) Enable uploading on-board Temperature and humidity values 279 279 280 -(% style="color:red" %)** 274 +(% style="color:red" %)**1 :** (%%) Disable uploading on-board Temperature and humidity values 281 281 282 282 283 -(% style="color:blue" %)** 277 +(% style="color:blue" %)**BLE_Settings:** 284 284 285 -(% style="color:red" %)** 279 +(% style="color:red" %)**1: ** (%%) BLE Positioning with Strongest iBeacon 286 286 287 -(% _mstmutation="1" style="color:red" %)** 281 +(% _mstmutation="1" style="color:red" %)**2:** (%%)WiFi Positioning with Strongest WiFi SSID(% _mstmutation="1" style="color:blue" %)(V1.4.1 Version support this function later)(%%) 288 288 289 289 290 290 (% style="color:#037691" %)**Status Field (total 1 byte)**(%%): 0x02 ... ... @@ -296,13 +296,11 @@ 296 296 (% style="display:none" %) 297 297 298 298 299 - 300 300 === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity === 301 301 302 302 303 303 Users can use (% style="color:blue" %)**AT+SMOD=1,0,0**(%%) to enable uploading on-board Temperature and humidity values, and the total payload will be 15 bytes, 304 304 305 - 306 306 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:320px" %) 307 307 |(% style="width:60px" %)**Size(bytes)**|(% style="width:50px" %)4|(% style="width:50px" %)4|(% style="width:70px" %)2|(% style="width:30px" %)1|(% style="width:30px" %)2|(% style="width:30px" %)2 308 308 |(% style="width:69px" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)((( ... ... @@ -350,7 +350,6 @@ 350 350 [[image:1664502166010-515.png||_mstalt="291395"]] 351 351 352 352 353 - 354 354 ==== (% style="color:blue" %)**Alarm:**(%%) ==== 355 355 356 356 **Example: ** 0x4B & 0x40 >> 6 = 0x01 ... ... @@ -372,7 +372,6 @@ 372 372 373 373 (% style="display:none" %) (%%) 374 374 375 - 376 376 ==== (% style="color:blue" %)**MOD:**(%%) ==== 377 377 378 378 **Example: ** (0x60>>6) & 0x3f =1 ... ... @@ -510,7 +510,6 @@ 510 510 511 511 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. 512 512 513 - 514 514 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:348px" %) 515 515 |(% style="width:65px" %)((( 516 516 **Size(bytes)** ... ... @@ -522,7 +522,6 @@ 522 522 (% class="wikigeneratedid" %) 523 523 [[image:1667288597595-714.png||_mstalt="299598" height="212" width="1151"]] 524 524 525 - 526 526 * (% style="color:#037691" %)**BAT: ** (%%) Ex1:0x4B45 & 0x3FFF ⇒ 3901 (mV). 527 527 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 528 528 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. ... ... @@ -529,18 +529,39 @@ 529 529 530 530 (% style="display:none" %) (%%) 531 531 532 -=== 2.4.8 AddPayloadformatinTTN V3===520 +=== 2.4.8 Uplink FPORT~=9, BLE Positioning with Multiple iBeacon(Since firmware 1.4.7) === 533 533 522 +TrackerD supports BLE scanning for indoor positioning. Users can set SMOD to BLE pure or GPS/BLE Hybrid, so TrackerD will scan up to 40 BLE iBeacons and send uplinks. 534 534 524 +User can set [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**BLEMASK**>>path:#H3.2.11A0SetBLEMASKtofilterBLEiBeacon]](%%) so TrackerD will only search the iBeacons which have UUID that match the BLEMASK settings. 525 + 526 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:348px" %) 527 +|**Size(bytes)**|2|2|1|…..|2|2|1|2|1 528 +|**Value**|iBeacon MAJOR|iBeacon MINOR|iBeacon RSSI|…..|iBeacon MAJOR|iBeacon MINOR|iBeacon RSSI|[[Alarm & BAT>>path:#HAlarm26BAT:]]|[[FLAG>>path:#HFLAG:]] 529 + 530 +(% class="wikigeneratedid" id="H" %) 531 +[[image:image-20231023103116-1.png||height="448" width="901"]] 532 + 533 +* (% style="color:#037691" %)**BAT: ** (%%) Ex1:0x4B45 & 0x3FFF ⇒ 3901 (mV). 534 +* (% style="color:#037691" %)**MAJOR:** (%%) The MAJOR from the strongest iBeacon. 535 +* (% style="color:#037691" %)**MINOR:** (%%)The MINOR from the strongest iBeacon. 536 +* (% style="color:#037691" %)**RSSI: ** (%%) The RSSI from the strongest iBeacon. 537 + 538 +(% class="wikigeneratedid" %) 539 +**Note: This mode does not have a fixed decoder. Its decoder depends on the number of beacons and can be parsed according to the order of the payload.** 540 +payload format: (Major + Minor+Rssi)+(Major + Minor+Rssi)+...(Maximum forty group)...+BAT+State 541 + 542 + 543 +=== 2.4.9 Add Payload format in TTN V3 === 544 + 545 + 535 535 In TTN V3, user can add a custom payload so it shows friendly. 536 536 537 537 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** 538 538 539 - 540 540 [[image:1664502649601-895.png||_mstalt="296985"]] 541 541 542 542 543 - 544 544 Add the decoder from this link: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD>>https://github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD]] 545 545 546 546 Save the change the uplink message will be parsed. As below: ... ... @@ -555,7 +555,6 @@ 555 555 556 556 Instruction is here: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20Data%20Cake/#H7.Example~~-~~-AddTrackerDGPSTrackingInDataCake>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20Data%20Cake/#H7.Example--AddTrackerDGPSTrackingInDataCake]] 557 557 558 - 559 559 [[image:1664502695771-538.png||_mstalt="297349"]] 560 560 561 561 ... ... @@ -566,7 +566,6 @@ 566 566 567 567 Instruction is here: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Tago.IO/#H3.A0Example-CreateTrackerD2FLGT92positioningwidget>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Tago.IO/#H3.A0Example-CreateTrackerD2FLGT92positioningwidget]] 568 568 569 - 570 570 [[image:1664502715371-321.png||_mstalt="292162"]] 571 571 572 572 ... ... @@ -633,7 +633,6 @@ 633 633 User can push the (% style="color:red" %)**RED button**(%%) by more than 5 seconds to enter Alarm Mode. Alarm Mode is used to send SOS info to IoT platform. 634 634 ))) 635 635 636 - 637 637 ((( 638 638 Once enter Alarm mode, the (% style="color:green" %)**GREEN LED**(%%) will flash 3 times, the buzzer will alarm for 5 seconds, then TrackerD will immediately send a packet without location info and then send a data packet with GPS positioning information. After that, the device will send 60 packets at 1-minute intervals. The Alarm flag in the payload will be set for the next 60 packets unless exits alert mode. 639 639 ))) ... ... @@ -742,7 +742,6 @@ 742 742 743 743 TrackerD supports the AT command set in stock firmware. User can connect to TrackerD with TYPE-C cable to use AT commands as shown below. 744 744 745 - 746 746 [[image:1664502999401-486.png||_mstalt="296985"]] 747 747 748 748 ... ... @@ -863,7 +863,6 @@ 863 863 864 864 SMOD define how TrackerD scan and uplink data: 865 865 866 - 867 867 * (% style="color:blue" %)**AT Command:** 868 868 869 869 (% style="color:#037691" %)**AT+SMOD=aa,bb,cc** ... ... @@ -898,6 +898,7 @@ 898 898 899 899 AT+SMOD=2,0,2 ~-~-> (WiFi)SSID+Rssi+BAT+State 900 900 905 + AT+SMOD=2,0,3 ~-~-> (iBeacon) (Major + Minor+Rssi)+(Major + Minor+Rssi)+...(Maximum forty group)...+BAT+State 901 901 902 902 * (% style="color:blue" %)**Downlink Payload (prefix 0xA5):** 903 903 ... ... @@ -909,10 +909,8 @@ 909 909 910 910 Set max positioning time, default is 150 seconds. TrackerD will try to get location info within this period. If fail to get position data within this time, TrackerD will use 000000 for latitude and longitude. 911 911 912 - 913 913 If **AT+FTIME=0**. The GPS module will be always powered and positioning. This will highly increase the power consumption (up to 50mA). When AT+FTIME=0, it will improve fix accuracy and shorten the acquire time for next uplink. 914 914 915 - 916 916 * (% style="color:blue" %)**AT Command:** 917 917 918 918 (% style="color:#037691" %)**AT+FTIME=xx** (%%) **~-~-> ** Set to use xx as max fix time. ... ... @@ -930,10 +930,8 @@ 930 930 931 931 PDOP(Position Dilution of Precision) filter, TrackerD will only accept GPS data with a lower PDOP value than pre-configure PDOP value. If device can't get a valid GPS packet within FTIME timeout, it will use the GPS data with lowest PDOP value to server. 932 932 933 - 934 934 A GPS packet with lower PDOP has higher accuracy. PDOP default value is 2.0 935 935 936 - 937 937 * (% style="color:blue" %)**AT Command:** 938 938 939 939 (% style="color:#037691" %)**AT+PDOP=2.5 ** (%%) **~-~-> ** Set PDOP to 2.5 ... ... @@ -956,11 +956,11 @@ 956 956 (% style="color:#037691" %)**AT+CFM=xx** 957 957 958 958 959 -** ~Example:**960 +**Example:** 960 960 961 - 962 +AT+CFM=0 **~-~-> ** Disable confirmation 962 962 963 - 964 +AT+CFM=1 **~-~-> ** Enable confirmation 964 964 965 965 966 966 * (% style="color:blue" %)**Downlink Payload (prefix 0x05):** ... ... @@ -998,9 +998,9 @@ 998 998 999 999 (% style="color:blue" %)**AT Command:** 1000 1000 1001 - 1002 +(% _mstmutation="1" style="color:#037691" %)**AT+BLEMASK=123456** (%%) ~/~/ Set BLEMASK = 123456 1002 1002 1003 - 1004 +(% _mstmutation="1" style="color:#037691" %)**AT+BLEMASK=0** (%%) ~/~/ disable BLEMASK 1004 1004 1005 1005 (% style="color:blue" %)**Downlink Payload: (Prefix : 0xB2)(Since firmware 1.4.1)** 1006 1006 ... ... @@ -1016,9 +1016,9 @@ 1016 1016 1017 1017 (% style="color:blue" %)**AT Command:** 1018 1018 1019 - 1020 +(% _mstmutation="1" style="color:#037691" %)**AT+WiFiMASK=123456** (%%) ~/~/ Set WiFiMASK = 123456 1020 1020 1021 - 1022 +(% _mstmutation="1" style="color:#037691" %)**AT+WiFiMASK=0** (%%) ~/~/ disable WiFiMASK 1022 1022 1023 1023 (% style="color:blue" %)**Downlink Payload: (Prefix : 0xB3)(Since firmware 1.4.1)** 1024 1024 ... ... @@ -1060,11 +1060,11 @@ 1060 1060 1061 1061 (% style="color:#037691" %)**AT+PT=xx** 1062 1062 1063 - 1064 +Example: 1064 1064 1065 - 1066 +AT+PT=14 ~-~-> Set to detect car motion. 1066 1066 1067 - 1068 +AT+PT=41 ~-~-> set to detect walk motion. 1068 1068 1069 1069 1070 1070 (% style="color:blue" %)**Downlink Payload:0xB4** ... ... @@ -1081,9 +1081,9 @@ 1081 1081 1082 1082 (% style="color:#037691" %)**AT+ATST=XX** 1083 1083 1084 - 1085 +Example: 1085 1085 1086 - 1087 +AT+ATST=15 ~-~-> Set the time to 15 seconds 1087 1087 1088 1088 (% style="color:blue" %)**Downlink Payload:0XB5** 1089 1089 ... ... @@ -1099,9 +1099,9 @@ 1099 1099 1100 1100 (% style="color:#037691" %)**AT+PM=xx** 1101 1101 1102 - 1103 +Example: 1103 1103 1104 - 1105 +AT+PM=1 ~-~-> Turn on step counting mode 1105 1105 1106 1106 AT+PM=0 ~-~-> Turn OFF step counting mode 1107 1107 ... ... @@ -1119,9 +1119,9 @@ 1119 1119 1120 1120 (% style="color:#037691" %)**AT+FD=xx** 1121 1121 1122 - 1123 +**Example:** 1123 1123 1124 - 1125 +AT+FD=1 ~-~-> Turn on the Fall detection 1125 1125 1126 1126 AT+FD=0 ~-~-> Turn OFF the Fall detection 1127 1127 ... ... @@ -1139,7 +1139,7 @@ 1139 1139 1140 1140 (% style="color:#037691" %)**AT+BEEP=XX** 1141 1141 1142 - 1143 +Example: 1143 1143 1144 1144 AT+BEEP=1 ~-~-> Turn on the buzzer 1145 1145 ... ... @@ -1159,7 +1159,7 @@ 1159 1159 1160 1160 (% style="color:#037691" %)**AT+EAT=XX** 1161 1161 1162 - 1163 +Example: 1163 1163 1164 1164 AT+EAT=2 ~-~-> Set the long press time to 2s 1165 1165 ... ... @@ -1360,7 +1360,6 @@ 1360 1360 [[image:1664499635206-262.png||_mstalt="295360"]] 1361 1361 1362 1362 1363 - 1364 1364 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:314px" %) 1365 1365 |=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**Pin**|=(% style="width: 69px;background-color:#D9E2F3;color:#0070C0" %)**Color**|=(% style="width: 125px;background-color:#D9E2F3;color:#0070C0" %)**USB Pin** 1366 1366 |(% style="width:118px" %)A4,B4,A9,B9|(% style="width:67px" %)Red|(% style="width:123px" %)VCC ... ... @@ -1388,7 +1388,6 @@ 1388 1388 [[image:image-20221102140621-1.png||_mstalt="425672"]] 1389 1389 1390 1390 1391 - 1392 1392 When using AT commands, the data flow needs to be adjusted to XON/XOFF 1393 1393 1394 1394 [[image:image-20221102140638-2.png||_mstalt="428727"]] ... ... @@ -1516,7 +1516,6 @@ 1516 1516 1517 1517 Error shows below, user might erase the entire flash include u-boot partition which cause this issue. 1518 1518 1519 - 1520 1520 [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]] 1521 1521 1522 1522 ... ... @@ -1633,6 +1633,13 @@ 1633 1633 2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1) 1634 1634 1635 1635 1634 +== 8.8 Why when using some serial consoles, only inputting the first string port console will return "error"? == 1635 + 1636 + 1637 +Need to enter the entire command at once, not a single character. 1638 +User can open a command window or copy the entire command to the serial console. 1639 + 1640 + 1636 1636 = 9. Order Info = 1637 1637 1638 1638 ... ... @@ -1656,6 +1656,7 @@ 1656 1656 1657 1657 (% style="display:none" %) (%%) 1658 1658 1664 + 1659 1659 = 10. Packing Info = 1660 1660 1661 1661 ... ... @@ -1673,6 +1673,7 @@ 1673 1673 1674 1674 (% style="display:none" %) (%%) 1675 1675 1682 + 1676 1676 = 11. Support = 1677 1677 1678 1678 ... ... @@ -1683,6 +1683,7 @@ 1683 1683 (% style="display:none" %) 1684 1684 1685 1685 1693 + 1686 1686 = 12. Reference = 1687 1687 1688 1688
- image-20231023103116-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +48.2 KB - Content