Changes for page TrackerD - LoRaWAN Tracker User Manual(Remove WiFi)
Last modified by Xiaoling on 2023/12/27 09:15
From version 163.1
edited by Bei Jinggeng
on 2022/11/28 11:20
on 2022/11/28 11:20
Change comment:
There is no comment for this version
To version 214.1
edited by Bei Jinggeng
on 2023/10/23 10:44
on 2023/10/23 10:44
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 27 added, 0 removed)
- image-20221207120501-1.png
- image-20221207120524-2.png
- image-20221207120530-3.png
- image-20221207120536-4.png
- image-20221207120601-5.png
- image-20221207133836-6.png
- image-20221207133911-7.png
- image-20221207134028-8.png
- image-20221213100007-1.png
- image-20221213100626-2.png
- image-20221213100808-3.png
- image-20221213101040-4.png
- image-20221213102311-5.png
- image-20221213102334-6.png
- image-20221213102718-7.png
- image-20221213110952-8.png
- image-20230213110119-1.png
- image-20230213110214-2.png
- image-20230213110506-3.png
- image-20230302145315-1.png
- image-20230307135914-1.png
- image-20230307135932-2.png
- image-20230308115430-1.png
- image-20230308115616-2.png
- image-20230308115701-3.png
- image-20230426085815-1.png
- image-20231023103116-1.png
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 == ... ... @@ -36,7 +36,7 @@ 36 36 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. 37 37 ))) 38 38 39 -[[image: 1664499921684-770.png||_mstalt="298194"]]40 +[[image:image-20230213110119-1.png||height="382" width="834"]] 40 40 41 41 42 42 (% style="color:red" %)**Note: LoRaWAN server can be a general LoRaWAN server other than TTN.** ... ... @@ -92,7 +92,10 @@ 92 92 * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm 93 93 * Tracking: max: 38mA 94 94 96 +(% style="display:none" %) 95 95 98 + 99 + 96 96 == 1.3 Features == 97 97 98 98 ... ... @@ -111,7 +111,10 @@ 111 111 * Tri-color LED, Alarm button 112 112 * Datalog 113 113 118 +(% style="display:none" %) 114 114 120 + 121 + 115 115 == 1.4 Applications == 116 116 117 117 ... ... @@ -118,7 +118,10 @@ 118 118 * Logistics and Supply Chain Management 119 119 * Human tracking 120 120 128 +(% style="display:none" %) 121 121 130 + 131 + 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"]]146 +[[image:image-20230213110214-2.png||height="388" width="847"]] 137 137 138 138 139 139 ... ... @@ -145,7 +145,7 @@ 145 145 Each TrackerD is shipped with a sticker with the default device EUI as below: 146 146 147 147 148 -[[image: 1664501677253-891.png||_mstalt="296569"]]158 +[[image:image-20230426085815-1.png||height="259" width="558"]] 149 149 150 150 151 151 Input these keys to their LoRaWAN Server portal. Below is TTN V3 screen shot: ... ... @@ -199,15 +199,14 @@ 199 199 === 2.4.1 Uplink FPORT~=5, Device Status === 200 200 201 201 202 -Uplink the device configures with FPORT=5. Once TrackerD Joined the network, it will uplink this message to the server. After the first uplink, TrackerD will uplink Device Status every 12 hours. 212 +Uplink the device configures with (% style="color:blue" %)**FPORT=5**(%%). Once TrackerD Joined the network, it will uplink this message to the server. After the first uplink, TrackerD will uplink Device Status every 12 hours. 203 203 204 -Use can also get the Device Status uplink through the downlink command: **Downlink: 0x2301** 214 +Use can also get the Device Status uplink through the downlink command: (% style="color:#037691" %)**Downlink: 0x2301** 205 205 216 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:440px" %) 217 +|(% 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 218 +|(% 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 206 206 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: 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 - 211 211 [[image:1665301570342-765.png||_mstalt="294580"]] 212 212 213 213 ... ... @@ -219,31 +219,30 @@ 219 219 220 220 (% style="color:#037691" %)**Frequency Band**: 221 221 222 - *0x01: EU868231 +0x01: EU868 223 223 224 - *0x02: US915233 +0x02: US915 225 225 226 - *0x03: IN865235 +0x03: IN865 227 227 228 - *0x04: AU915237 +0x04: AU915 229 229 230 - *0x05: KZ865239 +0x05: KZ865 231 231 232 - *0x06: RU864241 +0x06: RU864 233 233 234 - *0x07: AS923243 +0x07: AS923 235 235 236 - *0x08: AS923-1245 +0x08: AS923-1 237 237 238 - *0x09: AS923-2247 +0x09: AS923-2 239 239 240 - *0x0a: AS923-3249 +0x0a: AS923-3 241 241 242 -Sub- 251 +(% style="color:#037691" %)**Sub-Band:**(%%) value 0x00~~0x08(only forAU915,US915,Others are 0xFF) 243 243 244 244 (% style="color:#037691" %)**BAT:**(%%) shows the battery voltage for TrackerD. 245 245 246 - 247 247 (% style="color:#037691" %)**Ex1:**(%%) 0x0FA2 = 4002mV 248 248 249 249 Use can also get the Device Status uplink through the downlink command: ... ... @@ -251,55 +251,52 @@ 251 251 252 252 (% style="color:#037691" %)**SMOD Field (total 1 byte)**(%%):0x40 253 253 254 -(% border="1 .5" style="background-color:#ffffcc;color:green;width:270px" %)255 -| =(% scope="row" style="width:;" %)**Size(bit)**|(% style="width:50px" %)2bits|(% style="width:80px" %)2bit|(% style="width:80px" %)4bit256 -| =(% style="width:;" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings262 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:270px" %) 263 +|(% style="width:60px" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)2 bits|(% style="width:80px" %)4 bits 264 +|(% style="width:75px" %)**Value**|(% style="width:64px" %)SMOD|(% style="width:104px" %)GPS_Settings|(% style="width:103px" %)BLE_Settings 257 257 258 -(% style="color:blue" %)** 266 +(% style="color:blue" %)**SMOD:** 259 259 260 -(% style="color:red" %)** 268 +(% style="color:red" %)**1 :** (%%) GPS ONLY 261 261 262 -(% style="color:red" %)** 270 +(% style="color:red" %)**2 :** (%%) BLE ONLY 263 263 264 -(% style="color:red" %)** 272 +(% style="color:red" %)**3 :** (%%) GPS/BLE Hybrid 265 265 266 266 267 -(% style="color:blue" %)** 275 +(% style="color:blue" %)**GPS_MOD: Define how to send GPS payload** 268 268 269 -(% style="color:red" %)** 277 +(% style="color:red" %)**0 : ** (%%) Enable uploading on-board Temperature and humidity values 270 270 271 -(% style="color:red" %)** 279 +(% style="color:red" %)**1 :** (%%) Disable uploading on-board Temperature and humidity values 272 272 273 273 274 -(% style="color:blue" %)** 282 +(% style="color:blue" %)**BLE_Settings:** 275 275 276 -(% style="color:red" %)** 284 +(% style="color:red" %)**1: ** (%%) BLE Positioning with Strongest iBeacon 277 277 278 -(% _mstmutation="1" style="color:red" %)** 286 +(% _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)(%%) 279 279 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 Bit285 -| =(% style="width:7px;" %)**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"]]291 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:413px" %) 292 +|(% style="width:77px" %)**Size(bit)**|(% style="width:70px" %)5 Bits|(% style="width:88px" %)1 Bit|(% style="width:50px" %)1 Bit|(% style="width:128px" %)1 Bit 293 +|(% 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 295 +(% style="display:none" %) 287 287 297 + 298 + 288 288 === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity === 289 289 290 290 291 -Users can use **AT+SMOD=1,0,0** to enable uploading on-board Temperature and humidity values, and the total payload will be 15 bytes, 302 +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, 292 292 293 293 294 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:320px" %) 295 -|=(% scope="row" style="width: 60px;" %)((( 296 -**Size(bytes)** 297 -)))|(% style="width:50px" %)4|(% style="width:50px" %)4|(% style="width:70px" %)2|(% style="width:30px" %)1|(% style="width:30px" %)((( 298 -2 299 -)))|(% style="width:30px" %)((( 300 -2 301 -))) 302 -|=(% style="width: 69px;" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)((( 305 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:320px" %) 306 +|(% 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 307 +|(% style="width:69px" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)((( 303 303 [[Alarm & BAT>>||anchor="HAlarm26BAT:"]] 304 304 )))|(% style="width:73px" %)[[FLAG>>||anchor="HFLAG:"]]|(% style="width:40px" %)[[Hum>>||anchor="HHum:"]]|(% style="width:87px" %)[[Tem>>||anchor="HTem:"]] 305 305 ... ... @@ -308,15 +308,18 @@ 308 308 309 309 ==== (% style="color:blue" %)**Alarm & BAT:**(%%) ==== 310 310 311 -(% border="1 .2" cellspacing="3" style="background-color:#ffffcc;color:green;width:250px" %)312 -| =(% scope="row" style="width:50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)1bit|(% style="width:50px" %)14bits313 -| =(% style="width:;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]]316 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:321px" %) 317 +|(% style="width:60px" %)**Size(bit)**|(% style="width:60px" %)1 bit|(% style="width:134px" %)1 bit|(% style="width:67px" %)14 bits 318 +|(% style="width:72px" %)**Value**|(% style="width:67px" %)reserve|(% style="width:114px" %)Alarm Indicate|(% style="width:62px" %)[[BAT>>||anchor="HBAT:"]] 314 314 320 +(% style="display:none" %) 321 + 322 + 315 315 ==== (% style="color:blue" %)**FLAG:**(%%) ==== 316 316 317 -(% border="1 .2" cellspacing="3" style="background-color:#ffffcc;color:green;width:120px" %)318 -| =(% scope="row" style="width:50px;" %)**Size(bit)**|(% style="width:30px" %)2bits|(% style="width:30px" %)1bit319 -| =(% style="width:;" %)**Value**|(% style="width:55px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:47px" %)[[LON>>||anchor="HLON:"]]325 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:184px" %) 326 +|(% style="width:68px" %)**Size(bit)**|(% style="width:61px" %)2 bits|(% style="width:55px" %)1 bit 327 +|(% style="width:79px" %)**Value**|(% style="width:56px" %)[[MOD>>||anchor="H3.2.7SetPositioningMode"]]|(% style="width:50px" %)[[LON>>||anchor="HLON:"]] 320 320 321 321 **Example:** Payload: 0x02863D68 FAC29BAF 4B45 60 0202 011A 322 322 ... ... @@ -361,7 +361,9 @@ 361 361 * 3.40v ~~ 3.69v: 20% ~~ 40% 362 362 * < 3.39v: 0~~20% 363 363 372 +(% style="display:none" %) (%%) 364 364 374 + 365 365 ==== (% style="color:blue" %)**MOD:**(%%) ==== 366 366 367 367 **Example: ** (0x60>>6) & 0x3f =1 ... ... @@ -405,14 +405,12 @@ 405 405 === 2.4.3 Uplink FPORT~=3, Realtime GNSS Positioning (Default Mode) === 406 406 407 407 408 -The default uplink payload includes total 11 bytes (**AT+SMOD=1,1,0**). The payload is the first 11 bytes of Uplink FPORT=2, real-time GNSS positioning, (remove the temp and humidity) 418 +The default uplink payload includes total 11 bytes ((% style="color:blue" %)**AT+SMOD=1,1,0**(%%)). The payload is the first 11 bytes of Uplink FPORT=2, real-time GNSS positioning, (remove the temp and humidity) 409 409 410 410 411 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:300px" %) 412 -|=(% scope="row" style="width: 60px;" %)((( 413 -**Size(bytes)** 414 -)))|(% style="width:60px" %)4|(% style="width:60px" %)4|(% style="width:60px" %)2|(% style="width:50px" %)1 415 -|=(% style="width: 69px;" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)((( 421 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:300px" %) 422 +|(% style="width:60px" %)**Size(bytes)**|(% style="width:60px" %)4|(% style="width:60px" %)4|(% style="width:70px" %)2|(% style="width:50px" %)1 423 +|(% style="width:69px" %)**Value**|(% style="width:76px" %)[[Latitude>>||anchor="HLocationinfo:"]]|(% style="width:87px" %)[[Longitude>>||anchor="HLocationinfo:"]]|(% style="width:76px" %)((( 416 416 [[Alarm & BAT>>||anchor="HAlarm26BAT:"]] 417 417 )))|(% style="width:73px" %)[[FLAG>>||anchor="HFLAG:"]] 418 418 ... ... @@ -423,7 +423,7 @@ 423 423 === 2.4.4 Uplink FPORT~=4, History GNSS Positioning === 424 424 425 425 426 -Set [[PNACKMD=1>>||anchor="H3.2.11A0A 0AutoSendNone-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 +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. 427 427 428 428 429 429 (% style="color:red" %)**Note for this mode:** ... ... @@ -434,11 +434,9 @@ 434 434 435 435 The payload is 15 bytes, as below. 436 436 437 -(% border="1.5" style="background-color:#ffffcc; color:green; width:500px" %) 438 -|=(% scope="row" %)((( 439 -**Size(bytes)** 440 -)))|4|4|2|1|1|1|1|1 441 -|=**Value**|Latitude|Longitude|Year|Month|Day|Hous|Min|Sen 445 +(% border="1" style="background-color:#f2f2f2; width:500px" %) 446 +|**Size(bytes)**|4|4|2|1|1|1|1|1 447 +|**Value**|Latitude|Longitude|Year|Month|Day|Hous|Min|Sen 442 442 443 443 [[image:image-20221009160309-2.png||_mstalt="429312"]] 444 444 ... ... @@ -451,11 +451,9 @@ 451 451 User can set **[[BLEMASK>>||anchor="H3.2.11A0SetBLEMASKtofilterBLEiBeacon"]]** so TrackerD will only search the iBeacons which have UUID that match the BLEMASK settings. 452 452 453 453 454 -(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:450px" %) 455 -|=(% scope="row" style="width: 60px;" %)((( 456 -**Size(bytes)** 457 -)))|(% style="width:30px" %)16|(% style="width:50px" %)4|(% style="width:50px" %)4|(% style="width:120px" %)2|(% style="width:50px" %)4|(% style="width:50px" %)2|(% style="width:30px" %)1 458 -|=(% style="width: 50px;" %)**Value**|(% style="width:44px" %)[[UUID>>||anchor="HLocationinfo:"]]|(% style="width:61px" %)((( 460 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:450px" %) 461 +|(% style="width:60px" %)**Size(bytes)**|(% style="width:30px" %)16|(% style="width:50px" %)4|(% style="width:50px" %)4|(% style="width:120px" %)2|(% style="width:50px" %)4|(% style="width:50px" %)2|(% style="width:30px" %)1 462 +|(% style="width:50px" %)**Value**|(% style="width:44px" %)[[UUID>>||anchor="HLocationinfo:"]]|(% style="width:61px" %)((( 459 459 iBeacon MAJOR 460 460 )))|(% style="width:63px" %)((( 461 461 iBeacon MINOR ... ... @@ -478,46 +478,87 @@ 478 478 * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon. 479 479 * (% style="color:#037691" %)**RSSI: ** (%%) The RSSI from the strongest iBeacon. 480 480 485 +(% style="display:none" %) (%%) 481 481 482 -=== 2.4.6 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 483 483 488 +=== 2.4.6 Uplink FPORT~=7, Alarm information status(Since firmware 1.4.4) === 484 484 485 -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. 486 486 491 +The upward link device is configured to FPORT = 7. Once Trackerd alarm, it will upload the news to the server. 487 487 488 -(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:371.222px" %) 489 -|=(% scope="row" style="width: 60px;" %)((( 493 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:284.818px" %) 494 +|(% style="width:97px" %)**Size(bytes)**|(% style="width:103px" %)2|(% style="width:81px" %)1 495 +|(% style="width:97px" %)**Value**|(% style="width:103px" %)[[Alarm & BAT>>path:#HAlarm26BAT:]]|(% style="width:81px" %)Mod+lon 496 + 497 + [[image:image-20230302145315-1.png]] 498 + 499 +**alarm**=(bytes[0] & 0x40) ~/~/ Alarm status 500 + 501 +**batV**=~(~(~(bytes[0] & 0x3f) <<8) | bytes[1])/1000; ~/~/ Battery,units:V 502 + 503 +**mod** = bytes[2] & 0xC0; 504 + 505 +**Lon**=(bytes[2] & 0x20) 506 + 507 + 508 +=== 2.4.7 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 509 + 510 + 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 + 513 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:348px" %) 514 +|(% style="width:65px" %)((( 490 490 **Size(bytes)** 491 -)))|(% style="width: 60px" %)6|(% style="width:60px" %)4|(% style="width:79px" %)2|(% style="width:66px" %)1492 -| =(% style="width:;" %)**Value**|(% style="width:76px" %)SSID|(% style="width:87px" %)RSSI|(% style="width:79px" %)(((516 +)))|(% style="width:50px" %)6|(% style="width:50px" %)4|(% style="width:133px" %)2|(% style="width:50px" %)1 517 +|(% style="width:69px" %)**Value**|(% style="width:48px" %)SSID|(% style="width:48px" %)RSSI|(% style="width:103px" %)((( 493 493 [[Alarm & BAT>>||anchor="HAlarm26BAT:"]] 494 -)))|(% style="width: 66px" %)[[FLAG>>||anchor="HFLAG:"]]519 +)))|(% style="width:52px" %)[[FLAG>>||anchor="HFLAG:"]] 495 495 496 496 (% class="wikigeneratedid" %) 497 497 [[image:1667288597595-714.png||_mstalt="299598" height="212" width="1151"]] 498 498 499 - 500 500 * (% style="color:#037691" %)**BAT: ** (%%) Ex1:0x4B45 & 0x3FFF ⇒ 3901 (mV). 501 501 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 502 502 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. 503 503 528 +(% style="display:none" %) (%%) 504 504 505 -=== 2.4. 7AddPayload formatTTNV3===530 +=== 2.4.8 Uplink FPORT~=9, BLE Positioning with Multiple iBeacon === 506 506 532 +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. 507 507 508 - In TTN V3, user canaddacustompayloadso itshowsfriendly.534 +User can set [[(% class="wikiinternallink" %)**BLEMASK**>>path:#H3.2.11A0SetBLEMASKtofilterBLEiBeacon]](%%) so TrackerD will only search the iBeacons which have UUID that match the BLEMASK settings. 509 509 510 -In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** 536 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:348px" %) 537 +|**Size(bytes)**|2|2|2|…..|2|2|2|2|1 538 +|**Value**|iBeacon MAJOR|iBeacon MINOR|iBeacon RSSI|…..|iBeacon MAJOR|iBeacon MINOR|iBeacon RSSI|[[Alarm & BAT>>path:#HAlarm26BAT:]]|[[FLAG>>path:#HFLAG:]] 511 511 540 +=== [[image:image-20231023103116-1.png||height="448" width="901"]] === 512 512 513 -[[image:1664502649601-895.png||_mstalt="296985"]] 542 +* (% style="color:#037691" %)**BAT: ** (%%) Ex1:0x4B45 & 0x3FFF ⇒ 3901 (mV). 543 +* (% style="color:#037691" %)**MAJOR:** (%%) The MAJOR from the strongest iBeacon. 544 +* (% style="color:#037691" %)**MINOR:** (%%)The MINOR from the strongest iBeacon. 545 +* (% style="color:#037691" %)**RSSI: ** (%%) The RSSI from the strongest iBeacon. 514 514 547 +(% class="wikigeneratedid" %) 548 +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. 549 +payload format: (Major + Minor+Rssi)+(Major + Minor+Rssi)+...(Maximum forty group)...+BAT+State 515 515 551 +(% class="wikigeneratedid" %) 552 +=== === 516 516 517 -Add the decoderfromhislink:554 +=== 2.4.9 Add Payload format in TTN V3 === 518 518 519 -[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD>>https://github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD]] 520 520 557 +In TTN V3, user can add a custom payload so it shows friendly. 558 + 559 +In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** 560 + 561 +[[image:1664502649601-895.png||_mstalt="296985"]] 562 + 563 + 564 +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]] 565 + 521 521 Save the change the uplink message will be parsed. As below: 522 522 523 523 [[image:1664502676891-606.png||_mstalt="296673"]] ... ... @@ -530,7 +530,6 @@ 530 530 531 531 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]] 532 532 533 - 534 534 [[image:1664502695771-538.png||_mstalt="297349"]] 535 535 536 536 ... ... @@ -541,16 +541,56 @@ 541 541 542 542 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]] 543 543 544 - 545 545 [[image:1664502715371-321.png||_mstalt="292162"]] 546 546 547 547 548 -== 2.7 Datalog Feature ==591 +== 2.7 Integrate with Node-red == 549 549 550 550 594 +~1. Install node-red, please refer to the installation method in the link: 595 + 596 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H1.A0Installation]] 597 + 598 + 599 +2. Import the created flow template, please refer to the import method in the link: 600 + 601 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow>>http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0Importsampleflow]] 602 + 603 + 604 +The address of the flow template: [[dragino-end-node-decoder/TrackerD.json at main · dragino/dragino-end-node-decoder · GitHub>>url:https://github.com/dragino/dragino-end-node-decoder/blob/main/Node-RED/TrackerD.json]] 605 + 606 +(% style="color:red" %)**Note: If you are using NODE-RED for the first time, please search and install the two plug-ins in the figure below in node-red to fully use the flow template.** 607 + 608 +[[image:image-20230307135914-1.png||height="527" width="1045"]] 609 + 610 + 611 +[[image:image-20230307135932-2.png||height="527" width="1044"]] 612 + 613 + 614 +3. Display the map 615 + Enter the link to the map: 616 + 617 + Change its suffix to ditu:http:~/~/119.91.62.30:1880/**ditu/** 618 + 619 +**~ **[[image:image-20230308115430-1.png||height="548" width="1041"]] 620 + 621 + 622 + Hit all input in input stream 623 + 624 + [[image:image-20230308115616-2.png||height="563" width="1070"]] 625 + 626 + 627 + View map again 628 + 629 +[[image:image-20230308115701-3.png||height="571" width="1085"]] 630 + 631 + 632 +== 2.8 Datalog Feature == 633 + 634 + 551 551 total 273 entries,by default, 552 552 553 -User can set [[PNACKMD=1>>||anchor="H3.2.11A0A 0AutoSendNone-ACKmessages"]], to enable Datalog feature.637 +User can set [[PNACKMD=1>>||anchor="H3.2.11A0AutoSendNone-ACKmessages"]], to enable Datalog feature. 554 554 555 555 Example use case. 556 556 ... ... @@ -560,11 +560,11 @@ 560 560 [[image:image-20221009234629-1.png||_mstalt="431145" height="390" width="577"]] 561 561 562 562 563 -== 2. 8647 +== 2.9 Alarm Mode == 564 564 565 565 566 566 ((( 567 -User can push the (% style="color:red" %)**RED button**(%%) by more than 5 seconds to enter Alarm Mode. 651 +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. 568 568 ))) 569 569 570 570 ... ... @@ -585,21 +585,25 @@ 585 585 ))) 586 586 587 587 588 -== 2. 9672 +== 2.10 Transport Mode == 589 589 590 590 591 -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. 675 +In Transport Mode, TrackerD will check if there is motion (threldhold defined by **[[PT)>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** . If there is no motion, device will send uplinks every 20 minutes (Defined by **[[TDC)>>||anchor="H3.2.1SetTransmitInterval"]]** . If there is motion, device will send uplink every 5 minutes(defined by **[[MTDC)>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]]**. 592 592 677 +When device is set in Transport Mode, it will uplink more frequenctly during moving. 678 + 593 593 * **[[MTDC>>||anchor="H3.2.3SetTransportModePackettransmissioninterval"]]** defines the Uplink Interval during transportation. 594 594 * **[[TDC>>||anchor="H3.2.1SetTransmitInterval"]]** defines the uplink interval when TrackerD is stactic. 595 595 * **[[PT>>||anchor="H3.2.16GetorSetThresholdformotiondetectFF08Sincefirmware1.4.3FF09"]]** defines the threldhold to detect a motion. 596 596 683 +(% style="display:none" %) (%%) 597 597 598 -== 2.10 LED Status == 599 599 686 +== 2.11 LED Status == 600 600 601 -(% border="1.5" style="background-color:#ffffcc; width:500px" %) 602 -|=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off** 688 + 689 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 690 +|=(% style="width: 150px;background-color:#D9E2F3;color:#0070C0" %)**Event**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**Action**|=(% style="width: 150px;background-color:#D9E2F3;color:#0070C0" %)**AT+LON to control on/off** 603 603 |(% style="width:157px" %)**Power On**|(% style="width:271px" %)(% style="color:blue" %)**BLUE, **(% style="color:red" %)**RED , **(% style="color:green" %)**Green** flash once|(% style="width:202px" %)N/A 604 604 |(% style="width:157px" %)**Join request**|(% style="width:271px" %)(% style="color:green" %)**Green** (%%)led fast blink once (200ms)|(% style="width:202px" %)Yes 605 605 |(% style="width:157px" %)**Join Success**|(% style="width:271px" %)(% style="color:green" %)**Green**(%%) led on 5 second|(% style="width:202px" %)N/A ... ... @@ -612,10 +612,12 @@ 612 612 |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes 613 613 |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A 614 614 703 +(% style="display:none" %) (%%) 615 615 616 -== 2.11 Button Function == 617 617 706 +== 2.12 Button Function == 618 618 708 + 619 619 (% style="color:blue" %)**RESET button:** 620 620 621 621 [[image:1664502835802-546.png||_mstalt="295061"]] ... ... @@ -625,19 +625,22 @@ 625 625 626 626 (% style="color:red" %)**RED button:** 627 627 628 -[[image: 1664502854406-763.png||_mstalt="295568"]]718 +[[image:image-20230213110506-3.png]](% style="display:none" %) 629 629 720 +(% style="display:none" %) (%%) 630 630 631 -(% border="1" style="background-color:#fff fcc; width:510px" %)632 -|=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description** 722 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 723 +|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 205px;background-color:#D9E2F3;color:#0070C0" %)**Action**|=(% style="width: 205px;background-color:#D9E2F3;color:#0070C0" %)**Description** 633 633 |(% style="width:135px" %)Send Alarm|(% style="width:220px" %)Keep Pressing (% style="color:red" %)**RED**(%%) button for more than 5 seconds|(% style="width:265px" %)Enter Alarm Mode. See [[Alarm Mode>>||anchor="H2.8AlarmMode"]] 634 634 |(% 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 635 635 |(% 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. 636 636 728 +(% style="display:none" %) (%%) 637 637 638 -== 2.12 USB Port Function == 639 639 731 +== 2.13 USB Port Function == 640 640 733 + 641 641 The USB interface of TrackerD has below functions: 642 642 643 643 * Power on the device ... ... @@ -645,7 +645,19 @@ 645 645 * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]] 646 646 * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]] 647 647 741 +(% style="display:none" %) (%%) 648 648 743 + 744 +== 2.14 Sleep Mode == 745 + 746 + 747 +(% style="color:blue" %)**Sleep Mode:**(%%) To prevent accidental touch of the red button during transportation or assembly, so the peripherals of the device are turned off and enter deep sleep. 748 + 749 +In SLEEP mode, you need to reset by (% style="color:#037691" %)**reset button**. 750 + 751 +Use the** (% style="color:#4472c4" %)AT+SLEEP(%%)** command to put the device into sleep. 752 + 753 + 649 649 = 3. Configure TrackerD via AT command or LoRaWAN downlink = 650 650 651 651 ... ... @@ -659,7 +659,6 @@ 659 659 660 660 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. 661 661 662 - 663 663 [[image:1664502999401-486.png||_mstalt="296985"]] 664 664 665 665 ... ... @@ -674,6 +674,7 @@ 674 674 675 675 [[image:1664503047675-651.png||_mstalt="295386"]] 676 676 781 +(% style="display:none" %) (%%) 677 677 678 678 == 3.2 Command Set == 679 679 ... ... @@ -740,7 +740,7 @@ 740 740 (% style="color:#037691" %)**0x02 01** (%%) ~/~/ Exit Alarm Mode 741 741 742 742 743 -=== 3.2.5 Disable/Enable LED flash === 848 +=== 3.2.5 Disable/Enable LED flash and buzzer === 744 744 745 745 746 746 Disable/Enable LED for position, downlink and uplink ... ... @@ -779,7 +779,6 @@ 779 779 780 780 SMOD define how TrackerD scan and uplink data: 781 781 782 - 783 783 * (% style="color:blue" %)**AT Command:** 784 784 785 785 (% style="color:#037691" %)**AT+SMOD=aa,bb,cc** ... ... @@ -814,6 +814,7 @@ 814 814 815 815 AT+SMOD=2,0,2 ~-~-> (WiFi)SSID+Rssi+BAT+State 816 816 921 + AT+SMOD=2,0,3 ~-~-> (iBeacon) (Major + Minor+Rssi)+(Major + Minor+Rssi)+...(Maximum forty group)...+BAT+State 817 817 818 818 * (% style="color:blue" %)**Downlink Payload (prefix 0xA5):** 819 819 ... ... @@ -825,10 +825,8 @@ 825 825 826 826 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. 827 827 828 - 829 829 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. 830 830 831 - 832 832 * (% style="color:blue" %)**AT Command:** 833 833 834 834 (% style="color:#037691" %)**AT+FTIME=xx** (%%) **~-~-> ** Set to use xx as max fix time. ... ... @@ -846,10 +846,8 @@ 846 846 847 847 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. 848 848 849 - 850 850 A GPS packet with lower PDOP has higher accuracy. PDOP default value is 2.0 851 851 852 - 853 853 * (% style="color:blue" %)**AT Command:** 854 854 855 855 (% style="color:#037691" %)**AT+PDOP=2.5 ** (%%) **~-~-> ** Set PDOP to 2.5 ... ... @@ -864,7 +864,6 @@ 864 864 (% style="color:#037691" %)**0xAD 00 46** (%%) ~/~/ Set AT+PDOP=7 (0x46 / 10 =7) 865 865 866 866 867 - 868 868 === 3.2.10 Disable/Enable the confirmation mode === 869 869 870 870 ... ... @@ -873,11 +873,11 @@ 873 873 (% style="color:#037691" %)**AT+CFM=xx** 874 874 875 875 876 -** ~Example:**976 +**Example:** 877 877 878 - 978 +AT+CFM=0 **~-~-> ** Disable confirmation 879 879 880 - 980 +AT+CFM=1 **~-~-> ** Enable confirmation 881 881 882 882 883 883 * (% style="color:blue" %)**Downlink Payload (prefix 0x05):** ... ... @@ -915,9 +915,9 @@ 915 915 916 916 (% style="color:blue" %)**AT Command:** 917 917 918 - 1018 +(% _mstmutation="1" style="color:#037691" %)**AT+BLEMASK=123456** (%%) ~/~/ Set BLEMASK = 123456 919 919 920 - 1020 +(% _mstmutation="1" style="color:#037691" %)**AT+BLEMASK=0** (%%) ~/~/ disable BLEMASK 921 921 922 922 (% style="color:blue" %)**Downlink Payload: (Prefix : 0xB2)(Since firmware 1.4.1)** 923 923 ... ... @@ -933,9 +933,9 @@ 933 933 934 934 (% style="color:blue" %)**AT Command:** 935 935 936 - 1036 +(% _mstmutation="1" style="color:#037691" %)**AT+WiFiMASK=123456** (%%) ~/~/ Set WiFiMASK = 123456 937 937 938 - 1038 +(% _mstmutation="1" style="color:#037691" %)**AT+WiFiMASK=0** (%%) ~/~/ disable WiFiMASK 939 939 940 940 (% style="color:blue" %)**Downlink Payload: (Prefix : 0xB3)(Since firmware 1.4.1)** 941 941 ... ... @@ -949,11 +949,11 @@ 949 949 950 950 (% style="color:blue" %)**AT Command:** 951 951 952 -(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/(Disable (0), Enable (1), default:0) 1052 +(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/ (Disable (0), Enable (1), default:0) 953 953 \\Example: AT+SHOWID=1 ~-~-> Enable Information printing. 954 954 955 955 956 -=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 1056 +=== 3.2.15 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 957 957 958 958 959 959 The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network. ... ... @@ -960,16 +960,17 @@ 960 960 961 961 (% style="color:blue" %)**AT Command:** 962 962 963 -(% style="color:#037691" %)**AT+CHE=1**(%%) 1063 +(% style="color:#037691" %)**AT+CHE=1 **(%%) ~/~/ set one channels mode 964 964 965 965 966 966 (% style="color:blue" %)**Downlink Payload:0X24** 967 967 968 -Example: 0x24 01 ~/~/ Same as AT+CHE=1 1068 +Example: 0x24 01 ~/~/ Same as AT+CHE=1 969 969 970 970 971 -=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 1071 +=== 3.2.16 Get or Set Threshold for motion detect(Since firmware 1.4.3) === 972 972 1073 + 973 973 User can set the motion detect thredhold for transportation mode. The smaller the value, the more sensitivity to trigger a motion event. 974 974 975 975 (% style="color:blue" %)**AT Command:** ... ... @@ -976,18 +976,114 @@ 976 976 977 977 (% style="color:#037691" %)**AT+PT=xx** 978 978 979 - 1080 +Example: 980 980 981 - 1082 +AT+PT=14 ~-~-> Set to detect car motion. 982 982 983 - 1084 +AT+PT=41 ~-~-> set to detect walk motion. 984 984 985 985 986 -(% style="color:blue" %)**Downlink Payload:0xB4**(%%) 1087 +(% style="color:blue" %)**Downlink Payload:0xB4** 1088 + 987 987 0xB4 14 ~/~/ Same as AT+PT=14 988 988 989 989 1092 +=== 3.2.17 Set AT command window time(Since firmware 1.4.5) === 990 990 1094 + 1095 +AT command window time setting, customers can set the required time according to their own operation mode.The unit is second. 1096 + 1097 +(% style="color:blue" %)**AT Command:** 1098 + 1099 +(% style="color:#037691" %)**AT+ATST=XX** 1100 + 1101 +Example: 1102 + 1103 +AT+ATST=15 ~-~-> Set the time to 15 seconds 1104 + 1105 +(% style="color:blue" %)**Downlink Payload:0XB5** 1106 + 1107 +0xB5 0F ~/~/ Same as AT+ATST=15 1108 + 1109 + 1110 +=== 3.2.18 Set the stepmeter mode(Since firmware 1.4.5) === 1111 + 1112 + 1113 +After setting the step counting mode, it cannot be interrupted by motion. This mode is very power consuming. Used on some special occasions. 1114 + 1115 +(% style="color:blue" %)**AT Command:** 1116 + 1117 +(% style="color:#037691" %)**AT+PM=xx** 1118 + 1119 +Example: 1120 + 1121 +AT+PM=1 ~-~-> Turn on step counting mode 1122 + 1123 +AT+PM=0 ~-~-> Turn OFF step counting mode 1124 + 1125 +(% style="color:blue" %)**Downlink Payload:0XB6** 1126 + 1127 +0xB6 01 ~/~/ Same as AT+PM=1 1128 + 1129 + 1130 +=== 3.2.19 Set down the decline detection mode(Since firmware 1.4.5) === 1131 + 1132 + 1133 +This mode is used in conjunction with AT+PT(The recommended threshold is between 50 and 70, you need to set it according to the environment yourself). This function is used in hospitals, nursing homes, nursing homes and other places to prevent the elderly and patients from falling. No one knows. 1134 + 1135 +(% style="color:blue" %)**AT Command:** 1136 + 1137 +(% style="color:#037691" %)**AT+FD=xx** 1138 + 1139 +**Example:** 1140 + 1141 +AT+FD=1 ~-~-> Turn on the Fall detection 1142 + 1143 +AT+FD=0 ~-~-> Turn OFF the Fall detection 1144 + 1145 +(% style="color:blue" %)**Downlink Payload:0XB7** 1146 + 1147 +0xB7 01 ~/~/ Same as AT+FD=1 1148 + 1149 + 1150 +=== 3.2.20 Disable/Enable buzzer(Since firmware 1.4.6) === 1151 + 1152 + 1153 +Disable/Enable buzzer for Alarm, downlink and uplink 1154 + 1155 +(% style="color:blue" %)**AT Command:** 1156 + 1157 +(% style="color:#037691" %)**AT+BEEP=XX** 1158 + 1159 +Example: 1160 + 1161 +AT+BEEP=1 ~-~-> Turn on the buzzer 1162 + 1163 +AT+BEEP=0 ~-~-> Turn OFF the buzzer 1164 + 1165 +(% style="color:blue" %)**Downlink Payload:0XB9** 1166 + 1167 +0xB9 01 ~/~/ Same as AT+BEEP=1 1168 + 1169 + 1170 +=== 3.2.21 Set long press time(Since firmware 1.4.6) === 1171 + 1172 + 1173 +When using the red button Changan to alarm, press and hold the time to set 0~~10 seconds, which is convenient for use scenarios. 1174 + 1175 +(% style="color:blue" %)**AT Command:** 1176 + 1177 +(% style="color:#037691" %)**AT+EAT=XX** 1178 + 1179 +Example: 1180 + 1181 +AT+EAT=2 ~-~-> Set the long press time to 2s 1182 + 1183 +(% style="color:blue" %)**Downlink Payload:0XBA** 1184 + 1185 +0xBA 02 ~/~/ Same as AT+EAT=2 1186 + 1187 + 991 991 = 4. Setting for Different Scenarios = 992 992 993 993 ... ... @@ -1039,16 +1039,15 @@ 1039 1039 US915.bin @ 0x10000(Select the bin file of the frequency band you need) 1040 1040 1041 1041 1042 -[[image:image-202211 18105220-2.png||_mstalt="426608"]]1239 +[[image:image-20221207120501-1.png]] 1043 1043 1044 1044 1045 1045 1046 1046 After upgrade finish, it will show finish as below: 1047 1047 1048 -[[image:image-2022111 8105402-4.png||_mstalt="427986"]]1245 +[[image:image-20221207133911-7.png]] 1049 1049 1050 1050 1051 - 1052 1052 = 6. Developer Guide = 1053 1053 1054 1054 == 6.1 Compile Source Code == ... ... @@ -1070,13 +1070,70 @@ 1070 1070 [[image:1664503715811-892.png||_mstalt="295698"]] 1071 1071 1072 1072 1269 +=== 6.1.2 Build the development environment === 1270 + 1271 + 1272 +**~1. Download and install arduino IDE** 1273 + 1274 +[[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]] 1275 + 1276 + 1277 +**2. Download the ESP32 development package in the arduino IDE** 1278 + 1279 +[[image:image-20221213100007-1.png]] 1280 + 1281 + 1282 +Input: [[https:~~/~~/dl.espressif.com/dl/package_esp32_index.json>>https://dl.espressif.com/dl/package_esp32_index.json]] 1283 + 1284 +[[image:image-20221213100626-2.png]] 1285 + 1286 + 1287 +Restart the IDE after the addition is complete, then: 1288 + 1289 +[[image:image-20221213100808-3.png||height="679" width="649"]] 1290 + 1291 + 1292 +[[image:image-20221213101040-4.png]] 1293 + 1294 + 1295 +(% style="color:red" %)**Note: Currently version 1.04 is almost impossible to download, you can choose version 1.03. 1296 +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)** 1297 + 1298 + 1299 +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: 1300 + 1301 +(% style="color:blue" %)**Methods as below:** 1302 + 1303 +~1. Download: [[https:~~/~~/github.com/dragino/TrackerD/releases/tag/v1.4.4>>https://github.com/dragino/TrackerD/releases/tag/v1.4.4]] 1304 + 1305 +2. Find the arduino installation path, hardware → create a new espressif folder → create a new esp32 folder, unzip the compressed package here. 1306 + 1073 1073 (% 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. 1074 1074 1309 +[[image:image-20221213102311-5.png||height="582" width="711"]] 1310 + 1311 + 1312 +**3. Find tools→get.exe in the decompressed file and run it (it will close automatically after completion)** 1313 + 1314 +[[image:image-20221213102334-6.png]] 1315 + 1316 +(% style="color:red" %)**Note: This step requires a python environment** 1317 + 1318 + 1319 +Either way, in the end: 1320 + 1321 +The final effect is to open the arduino and you can see the esp32 1322 + 1323 +[[image:image-20221213110952-8.png||height="866" width="711"]] 1324 + 1325 + 1326 + 1075 1075 [[image:image-20221024105643-1.png||_mstalt="428129"]] 1076 1076 1077 1077 **~ Figure1** 1078 1078 1079 1079 1332 + 1080 1080 [[image:image-20221024105643-2.png||_mstalt="428493"]] 1081 1081 1082 1082 **Figure2** ... ... @@ -1124,9 +1124,8 @@ 1124 1124 [[image:1664499635206-262.png||_mstalt="295360"]] 1125 1125 1126 1126 1127 - 1128 -(% border="1.5" cellspacing="3" style="background-color:#ffffcc; color:green; width:314px" %) 1129 -|=(% style="width: 118px;" %)**Pin**|=(% style="width: 67px;" %)**Color**|=(% style="width: 123px;" %)**USB Pin** 1380 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:314px" %) 1381 +|=(% 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** 1130 1130 |(% style="width:118px" %)A4,B4,A9,B9|(% style="width:67px" %)Red|(% style="width:123px" %)VCC 1131 1131 |(% style="width:118px" %)A7,B7|(% style="width:67px" %)White|(% style="width:123px" %)D- (N/A) 1132 1132 |(% style="width:118px" %)A6,B6|(% style="width:67px" %)Green|(% style="width:123px" %)D+(N/A) ... ... @@ -1136,7 +1136,9 @@ 1136 1136 |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14 1137 1137 |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15 1138 1138 1391 +(% style="display:none" %) (%%) 1139 1139 1393 + 1140 1140 == 7.3 Notes on using different serial port tools for TrackerD == 1141 1141 1142 1142 === 7.3.1 Serial port utility === ... ... @@ -1150,7 +1150,6 @@ 1150 1150 [[image:image-20221102140621-1.png||_mstalt="425672"]] 1151 1151 1152 1152 1153 - 1154 1154 When using AT commands, the data flow needs to be adjusted to XON/XOFF 1155 1155 1156 1156 [[image:image-20221102140638-2.png||_mstalt="428727"]] ... ... @@ -1219,6 +1219,18 @@ 1219 1219 [[image:image-20221116111844-5.png||_mstalt="430144" height="551" width="708"]] 1220 1220 1221 1221 1475 +== 7.5 Are there example python example for BLE Indoor Positioning? == 1476 + 1477 + 1478 +[[Operating instructions for BLE indoor positioning>>doc:.Example of BLE indoor positioning python.WebHome]] 1479 + 1480 + 1481 +== 7.6 Can alert mode and transport mode be used together? == 1482 + 1483 + 1484 +Yes, you can also press the panic button to sound the alarm if set to transport mode 1485 + 1486 + 1222 1222 = 8 Trouble Shooting = 1223 1223 1224 1224 == 8.1 TDC is changed to 4294947296 and cause no uplink. == ... ... @@ -1251,7 +1251,7 @@ 1251 1251 ((( 1252 1252 Some partition is missed during upgrade, please upgrade below four files as example: 1253 1253 1254 -[[image:image-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1519 +[[image:image-20221207120524-2.png]] 1255 1255 ))) 1256 1256 1257 1257 ... ... @@ -1266,13 +1266,12 @@ 1266 1266 1267 1267 Error shows below, user might erase the entire flash include u-boot partition which cause this issue. 1268 1268 1269 - 1270 1270 [[image:image-20221122100004-1.png||_mstalt="423514" height="497" width="534"]] 1271 1271 1272 1272 1273 1273 User need to upgrade again with below four files to solve this issue. 1274 1274 1275 - [[image:image-20221 122100004-2.png||_mstalt="423878" height="619" width="389"]]1539 + [[image:image-20221207120530-3.png]] 1276 1276 1277 1277 **Figure 2** 1278 1278 ... ... @@ -1282,7 +1282,7 @@ 1282 1282 1283 1283 User might erase the entire flash include keys and default settings which cause this issue. 1284 1284 1285 -After the upgrade is completed, enter **AT+CFG** as shown in the figure below. 1549 +After the upgrade is completed, enter (% style="color:blue" %)**AT+CFG**(%%) as shown in the figure below. 1286 1286 1287 1287 1288 1288 [[image:image-20221122100004-3.png||_mstalt="424242"]] ... ... @@ -1339,9 +1339,10 @@ 1339 1339 1340 1340 == 8.6 When upgrading the firmware, the data is not completely erased, and the information does not return to normal after multiple resets == 1341 1341 1606 + 1342 1342 When upgrading, use the erase button to upgrade 1343 1343 1344 -[[image:image-20221 128102938-1.png||height="537" width="335"]]1609 +[[image:image-20221207120536-4.png]] 1345 1345 1346 1346 1347 1347 The parameters are displayed abnormally and cannot be fixed using AT+FDR ... ... @@ -1348,27 +1348,47 @@ 1348 1348 1349 1349 [[image:image-20221128103040-2.png||height="431" width="525"]] 1350 1350 1616 + 1351 1351 Please upgrade these four files,link(The boot_app0 file is in the version folder you need) 1352 1352 1353 -[[image:image-20221 128110503-3.png||height="647" width="410"]]1619 +[[image:image-20221207134028-8.png]] 1354 1354 1621 + 1355 1355 Reboot information after upgrade 1356 1356 1357 1357 [[image:image-20221128111443-4.png||height="432" width="546"]] 1358 1358 1359 -Use AT+FDR command to reset and then use AT+CFG to check whether the configuration is back to normal 1360 1360 1627 +Use (% style="color:blue" %)**AT+FDR**(%%) command to reset and then use (% style="color:blue" %)**AT+CFG**(%%) to check whether the configuration is back to normal 1628 + 1361 1361 [[image:image-20221128111850-5.png]] 1362 1362 1631 + 1363 1363 After the parameters return to normal, upgrade to the version you need again 1364 1364 1365 -[[image:image-2022112 8111951-6.png||height="620" width="389"]]1634 +[[image:image-20221207120601-5.png]] 1366 1366 1367 -At this point the parameters return to normal 1368 1368 1637 +At this point, the parameters return to normal after running AT+FDR again 1638 + 1369 1369 [[image:image-20221128112035-7.png]] 1370 1370 1371 1371 1642 +== 8.7 If you encounter the following problems, please upgrade to the latest version == 1643 + 1644 + 1645 +~1. Press and hold the red button (more than 5 seconds), and the device and server do not respond. 1646 + 1647 +2. Send some commands through the serial port to prompt an error (Example:AT+SMOD=1,0,1) 1648 + 1649 + 1650 +== 8.8 Why when using some serial consoles, only inputting the first string port console will return "error"? == 1651 + 1652 + 1653 +Need to enter the entire command at once, not a single character. 1654 +User can open a command window or copy the entire command to the serial console. 1655 + 1656 + 1372 1372 = 9. Order Info = 1373 1373 1374 1374 ... ... @@ -1390,7 +1390,9 @@ 1390 1390 1391 1391 * (% style="color:red" %)**US915**(%%): Default frequency band US915 1392 1392 1678 +(% style="display:none" %) (%%) 1393 1393 1680 + 1394 1394 = 10. Packing Info = 1395 1395 1396 1396 ... ... @@ -1406,7 +1406,9 @@ 1406 1406 1407 1407 * Weight: 50g 1408 1408 1696 +(% style="display:none" %) (%%) 1409 1409 1698 + 1410 1410 = 11. Support = 1411 1411 1412 1412 ... ... @@ -1414,7 +1414,10 @@ 1414 1414 1415 1415 * 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]]. 1416 1416 1706 +(% style="display:none" %) 1417 1417 1708 + 1709 + 1418 1418 = 12. Reference = 1419 1419 1420 1420 ... ... @@ -1423,4 +1423,6 @@ 1423 1423 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1424 1424 1425 1425 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]] 1718 + 1719 + 1426 1426 )))
- 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
- image-20230307135914-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +131.8 KB - Content
- image-20230307135932-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +109.7 KB - Content
- image-20230308115430-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.4 MB - Content
- image-20230308115616-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +152.7 KB - Content
- image-20230308115701-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.4 MB - Content
- image-20230426085815-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.0 KB - Content
- image-20231023103116-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +48.2 KB - Content