Changes for page TrackerD -- LoRaWAN Tracker User Manual
Last modified by Bei Jinggeng on 2025/07/23 11:03
From version 99.1
edited by Bei Jinggeng
on 2022/11/03 08:49
on 2022/11/03 08:49
Change comment:
There is no comment for this version
To version 145.1
edited by Edwin Chen
on 2022/11/22 12:21
on 2022/11/22 12:21
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 14 added, 0 removed)
- image-20221107145243-1.png
- image-20221116111844-1.png
- image-20221116111844-2.png
- image-20221116111844-3.png
- image-20221116111844-4.png
- image-20221116111844-5.png
- image-20221118104359-1.png
- image-20221118105220-2.png
- image-20221118105249-3.png
- image-20221118105402-4.png
- image-20221122100004-1.png
- image-20221122100004-2.png
- image-20221122100004-3.png
- image-20221122100004-4.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Edwin - Content
-
... ... @@ -14,7 +14,6 @@ 14 14 15 15 = 1. Introduction = 16 16 17 - 18 18 == 1.1 What is TrackerD == 19 19 20 20 ... ... @@ -46,7 +46,6 @@ 46 46 (% style="color:red" %)**Note: LoRaWAN server can be a general LoRaWAN server other than TTN.** 47 47 48 48 49 - 50 50 == 1.2 Specifications == 51 51 52 52 ... ... @@ -97,7 +97,6 @@ 97 97 * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm 98 98 * Tracking: max: 38mA 99 99 100 - 101 101 == 1.3 Features == 102 102 103 103 ... ... @@ -116,7 +116,6 @@ 116 116 * Tri-color LED, Alarm button 117 117 * Datalog 118 118 119 - 120 120 == 1.4 Applications == 121 121 122 122 ... ... @@ -123,10 +123,8 @@ 123 123 * Logistics and Supply Chain Management 124 124 * Human tracking 125 125 122 += 2. Use TrackerD = 126 126 127 -= 2.1 Use TrackerD = 128 - 129 - 130 130 == 2.1 How it works? == 131 131 132 132 ... ... @@ -133,7 +133,6 @@ 133 133 TrackerD is configured as LoRaWAN OTAA Class A GPS tracker by default. It has OTAA keys to join LoRaWAN network. To connect a LoRaWAN network, user need to input the OTAA keys in the LoRaWAN IoT server and push reset button of TrackerD (next to USB port). TrackerD will wake up and auto join the network via OTAA. 134 134 135 135 136 - 137 137 == 2.2 Quick guide to connect to LoRaWAN server == 138 138 139 139 ... ... @@ -175,18 +175,20 @@ 175 175 **__Add APP KEY and DEV EUI:__** 176 176 177 177 178 -[[image:16 64501784668-703.png]]171 +[[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||alt="1654671889112-678.png"]] 179 179 180 180 181 181 175 +(% style="color:blue" %)**Step 2**:(%%) Push this button will activate this device. 182 182 183 -(% style=" color:blue" %)**Step2**:(%%) Power on TrackerD by usingtheon board switch.177 +(% id="cke_bm_7709S" style="display:none" %) [[image:1664502835802-546.png]] 184 184 179 +[[image:1664502835802-546.png]] 185 185 181 + 186 186 (% style="color:blue" %)**Step 3:**(%%) TrackerD will auto join to the LoRaWAN network. After join success, TrackerD will start to upload message to IoT server. 187 187 188 188 189 - 190 190 == 2.3 Positioning Mode(SMOD) == 191 191 192 192 ... ... @@ -199,10 +199,8 @@ 199 199 Users can switch modes by [[changing SMOD>>||anchor="H3.2.7SetPositioningMode"]]. 200 200 201 201 202 - 203 203 == 2.4 Uplink Payload == 204 204 205 - 206 206 === 2.4.1 Uplink FPORT~=5, Device Status === 207 207 208 208 ... ... @@ -291,7 +291,6 @@ 291 291 |=(% 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 Bit 292 292 |=(% style="width: 77px;" %)**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"]] 293 293 294 - 295 295 === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity === 296 296 297 297 ... ... @@ -368,7 +368,6 @@ 368 368 * 3.40v ~~ 3.69v: 20% ~~ 40% 369 369 * < 3.39v: 0~~20% 370 370 371 - 372 372 ==== (% style="color:blue" %)**MOD:**(%%) ==== 373 373 374 374 **Example: ** (0x60>>6) & 0x3f =1 ... ... @@ -409,7 +409,6 @@ 409 409 011A =if (0x011A & 0x8000 = 1 ): value =( 0x011A - 0x10000)/10(dec) ⇒ -//28.2 degree// 410 410 411 411 412 - 413 413 === 2.4.3 Uplink FPORT~=3, Realtime GNSS Positioning (Default Mode) === 414 414 415 415 ... ... @@ -428,7 +428,6 @@ 428 428 [[image:1665301687277-443.png]] 429 429 430 430 431 - 432 432 === 2.4.4 Uplink FPORT~=4, History GNSS Positioning === 433 433 434 434 ... ... @@ -438,7 +438,7 @@ 438 438 (% style="color:red" %)**Note for this mode:** 439 439 440 440 * a) TrackerD will do an ACK check for data records sending to make sure every data arrive server. 441 -* b) TrackerD will send data in (% style="color:blue" %)**CONFIRMED Mode**(%%)when PNACKMD=1, but TrackerD won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink, if TrackerD gets an ACK, TrackerD will consider there is a network connection and resend all NONE-ACK Messages.430 +* b) TrackerD will send data in CONFIRMED Mode when PNACKMD=1 and CFM=1, but TrackerD won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink, if TrackerD gets an ACK, TrackerD will consider there is a network connection and resend all NONE-ACK Messages. 442 442 * c) the total payload will be 15 bytes, while US915/AU915 DR0 accepts only 11 bytes of payload. In this case (DR0 of US915/AU915), the payload on server will show NULL 443 443 444 444 The payload is 15 bytes, as below. ... ... @@ -452,7 +452,6 @@ 452 452 [[image:image-20221009160309-2.png]] 453 453 454 454 455 - 456 456 === 2.4.5 Uplink FPORT~=6, BLE Positioning with Strongest iBeacon === 457 457 458 458 ... ... @@ -484,17 +484,16 @@ 484 484 * (% style="color:#037691" %)**MODE: **(%%)Define the payload format. 485 485 * (% style="color:#037691" %)**UUID: **(%%)The uuid from the strongest iBeacon. 486 486 * (% style="color:#037691" %)**MAJOR:** (%%) The MAJOR from the strongest iBeacon. 487 -* (% style="color:#037691" %)**MINOR:** (%%)The M AJOR475 +* (% style="color:#037691" %)**MINOR:** (%%)The MINOR from the strongest iBeacon. 488 488 * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon. 489 489 * (% style="color:#037691" %)**RSSI: ** (%%) The RSSI from the strongest iBeacon. 490 490 479 +=== 2.4.6 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) === 491 491 492 -=== 2.4.6 Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID === 493 493 482 +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. 494 494 495 -TrackerD supports WiFi scans for indoor positioning. User can set [[**SMOD**>>||anchor="H3.2.7SetPositioningMode"]] to **BLE pure** or **GPS/BLE hybrid** so TrackerD will scan WiFi and find the strongest WiFi info and uplink. 496 496 497 - 498 498 (% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:371.222px" %) 499 499 |=(% scope="row" style="width: 60px;" %)((( 500 500 **Size(bytes)** ... ... @@ -511,7 +511,6 @@ 511 511 * (% style="color:#037691" %)**SSID: **(%%)WiFi name. 512 512 * (% style="color:#037691" %)**RSSI: **(%%)The RSSI from the strongest WiFi. 513 513 514 - 515 515 === 2.4.7 Add Payload format in TTN V3 === 516 516 517 517 ... ... @@ -523,6 +523,7 @@ 523 523 [[image:1664502649601-895.png]] 524 524 525 525 512 + 526 526 Add the decoder from this link: 527 527 528 528 [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD>>https://github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD]] ... ... @@ -532,7 +532,6 @@ 532 532 [[image:1664502676891-606.png]] 533 533 534 534 535 - 536 536 == 2.5 Integrate with Datacake == 537 537 538 538 ... ... @@ -540,10 +540,10 @@ 540 540 541 541 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]] 542 542 529 + 543 543 [[image:1664502695771-538.png]] 544 544 545 545 546 - 547 547 == 2.6 Integrate with Tago == 548 548 549 549 ... ... @@ -552,11 +552,9 @@ 552 552 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]] 553 553 554 554 555 - 556 556 [[image:1664502715371-321.png]] 557 557 558 558 559 - 560 560 == 2.7 Datalog Feature == 561 561 562 562 ... ... @@ -572,7 +572,6 @@ 572 572 [[image:image-20221009234629-1.png||height="390" width="577"]] 573 573 574 574 575 - 576 576 == 2.8 Alarm Mode == 577 577 578 578 ... ... @@ -587,7 +587,7 @@ 587 587 588 588 589 589 ((( 590 -Two ways to exit alarm mode: 573 +**Two ways to exit alarm mode:** 591 591 ))) 592 592 593 593 * Server sends a downlink command to exit. ... ... @@ -598,7 +598,6 @@ 598 598 ))) 599 599 600 600 601 - 602 602 == 2.9 Transport Mode == 603 603 604 604 ... ... @@ -605,17 +605,16 @@ 605 605 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. 606 606 607 607 608 - 609 609 == 2.10 LED Status == 610 610 611 611 612 -(% border="1.5" style="background-color:#ffffcc; color:green;width:500px" %)593 +(% border="1.5" style="background-color:#ffffcc; width:500px" %) 613 613 |=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off** 614 614 |(% 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 615 615 |(% style="width:157px" %)**Join request**|(% style="width:271px" %)(% style="color:green" %)**Green** (%%)led fast blink once (200ms)|(% style="width:202px" %)Yes 616 616 |(% style="width:157px" %)**Join Success**|(% style="width:271px" %)(% style="color:green" %)**Green**(%%) led on 5 second|(% style="width:202px" %)N/A 617 617 |(% style="width:157px" %)**Fixing Location**|(% style="width:271px" %)(% style="color:blue" %)**BLUE **(%%)blinks 200ms per second|(% style="width:202px" %)Yes 618 -|(% style="width:157px" %)**Fixed and uplink**|(% style="width:271px" %)(% style="color:green" %)**GREEN ** *(%%)***blinks twice (200ms per blink)**|(% style="width:202px" %)Yes599 +|(% style="width:157px" %)**Fixed and uplink**|(% style="width:271px" %)(% style="color:green" %)**GREEN **(%%)blinks twice (200ms per blink)|(% style="width:202px" %)Yes 619 619 |(% style="width:157px" %)**Fail Fix and uplink**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)blinks twice (200ms per blink)|(% style="width:202px" %)Yes 620 620 |(% style="width:157px" %)**Enter Alarm mode**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)on for 3 seconds|(% style="width:202px" %)Yes 621 621 |(% style="width:157px" %)**Uplink under Alarm**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)on for 1 second|(% style="width:202px" %)Yes ... ... @@ -623,7 +623,6 @@ 623 623 |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes 624 624 |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A 625 625 626 - 627 627 == 2.11 Button Function == 628 628 629 629 ... ... @@ -639,13 +639,12 @@ 639 639 [[image:1664502854406-763.png]] 640 640 641 641 642 -(% border="1" style="background-color:#ffffcc; color:green;width:510px" %)622 +(% border="1" style="background-color:#ffffcc; width:510px" %) 643 643 |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description** 644 -|(% 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. 6AlarmMode"]]624 +|(% 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"]] 645 645 |(% 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 646 646 |(% 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. 647 647 648 - 649 649 == 2.12 USB Port Function == 650 650 651 651 ... ... @@ -656,7 +656,6 @@ 656 656 * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]] 657 657 * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]] 658 658 659 - 660 660 = 3. Configure TrackerD via AT command or LoRaWAN downlink = 661 661 662 662 ... ... @@ -665,7 +665,6 @@ 665 665 LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 666 666 667 667 668 - 669 669 == 3.1 Access AT Command == 670 670 671 671 ... ... @@ -690,7 +690,6 @@ 690 690 691 691 == 3.2 Command Set == 692 692 693 - 694 694 === 3.2.1 Set Transmit Interval === 695 695 696 696 ... ... @@ -708,7 +708,6 @@ 708 708 (% style="color:#037691" %)**0x01 00 01 2C** (%%) ~/~/ Same as AT+TDC=300000 709 709 710 710 711 - 712 712 === 3.2.2 Set Alarm Packet transmission interval === 713 713 714 714 ... ... @@ -726,7 +726,6 @@ 726 726 (% style="color:#037691" %)**0xB1 00 00 3C ** (%%) ~/~/ Same as AT+ATDC=60000 727 727 728 728 729 - 730 730 === 3.2.3 Set Transport Mode Packet transmission interval === 731 731 732 732 ... ... @@ -741,10 +741,9 @@ 741 741 742 742 * (% style="color:blue" %)**Downlink Payload (prefix 0x03):** 743 743 744 -(% style="color:#037691" %)**0x03 00 01 2C** (%%) ~/~/ Same as AT+ 718 +(% style="color:#037691" %)**0x03 00 01 2C** (%%) ~/~/ Same as AT+MTDC=3000000 745 745 746 746 747 - 748 748 === 3.2.4 Exit Alarm === 749 749 750 750 ... ... @@ -757,7 +757,6 @@ 757 757 (% style="color:#037691" %)**0x02 01** (%%) ~/~/ Exit Alarm Mode 758 758 759 759 760 - 761 761 === 3.2.5 Disable/Enable LED flash === 762 762 763 763 ... ... @@ -775,7 +775,6 @@ 775 775 (% style="color:#037691" %)**0xAE 00 ** (%%) ~/~/ Same as AT+LON=0 776 776 777 777 778 - 779 779 === 3.2.6 Disable/Enable Transport Mode === 780 780 781 781 ... ... @@ -785,15 +785,14 @@ 785 785 786 786 (% style="color:#037691" %)**AT+INTWK=xx. (Disable (0), Enable (1), default:0)** 787 787 788 -Example: AT+ 759 +Example: AT+INTWK=1 **~-~-> ** Enable Transport Mode. 789 789 790 790 791 791 * (% style="color:blue" %)**Downlink Payload (prefix 0xAF):** 792 792 793 -(% style="color:#037691" %)**0xAF 01 ** (%%) ~/~/ Same as AT+ 764 +(% style="color:#037691" %)**0xAF 01 ** (%%) ~/~/ Same as AT+INTWK=1 794 794 795 795 796 - 797 797 === 3.2.7 Set Positioning Mode === 798 798 799 799 ... ... @@ -807,33 +807,39 @@ 807 807 (% style="color:#037691" %)** aa:** 808 808 809 809 * (% style="color:red" %)**1: GPS ONLY(Factory Settings): **(%%)Only get and uplink GPS location info. 780 + 810 810 * (% style="color:red" %)**2: BLE or WiFi ONLY: **(%%)Only obtain iBeacon info via BLE and uplink or obtain WiFi ssid info via WiFi and uplink. Design for Indoor tracking. 811 -* (% style="color:red" %)**3: GPS/BLE Hybrid: **(%%)Combination for Indoor and Outdoor tracking.Devices will try to search BLE iBeacon first. If device can't find the iBeacon, it will use GPS for positioning. 812 812 783 +* (% style="color:red" %)**3: GPS/BLE Hybrid: **(%%)Combination for Indoor and Outdoor tracking.Devices will try to search BLE iBeacon first. If device can't find the iBeacon, it will use GPS for positioning. 784 + 813 813 (% style="color:#037691" %)**bb:** 814 814 815 815 * (% style="color:red" %)**0 : **(%%)GPS+ BAT+ State+Tem&Hum 788 + 816 816 * (% style="color:red" %)**1 :**(%%) GPS +BAT State 817 817 818 818 (% style="color:#037691" %)**cc: ** 819 819 820 -* (% style="color:red" %)**1 : **(%%) (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State 793 +* (% style="color:red" %)**1 : **(%%) (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State 794 + 821 821 * (% style="color:red" %)**2 : **(%%) (WiFi)SSID+Rssi+BAT+State ((% style="color:#037691" %)V1.4.1 Version support this function later(%%)) 822 822 823 823 (% style="color:blue" %)**Example:** 824 824 825 - AT+ SMOD =1,0,0 ~-~-> GPS+ BAT+ State+Tem&Hum 826 - AT+ SMOD =1,1,0 ~-~-> GPS +BAT State 827 - AT+ SMOD =2,0,1 ~-~-> (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State 828 - AT+ SMOD =2,0,2 ~-~-> (WiFi)SSID+Rssi+BAT+State 799 + AT+SMOD=1,0,0 ~-~-> GPS+ BAT+ State+Tem&Hum 829 829 801 + AT+SMOD=1,1,0 ~-~-> GPS +BAT State 830 830 831 - *(%style="color:blue" %)**DownlinkPayload(prefix 0xA5):**803 + AT+SMOD=2,0,1 ~-~-> (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State 832 832 833 - (%style="color:#037691"%)**0xA5010000**(%%)/~/SameasAT+MOD=1,0,0805 + AT+SMOD=2,0,2 ~-~-> (WiFi)SSID+Rssi+BAT+State 834 834 835 835 808 +* (% style="color:blue" %)**Downlink Payload (prefix 0xA5):** 836 836 810 +(% style="color:#037691" %)**0xA5 01 00 00** (%%) ~/~/ Same as AT+SMOD=1,0,0 811 + 812 + 837 837 === 3.2.8 Set MAX GPS position time === 838 838 839 839 ... ... @@ -840,7 +840,7 @@ 840 840 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. 841 841 842 842 843 -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. 819 +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. 844 844 845 845 846 846 * (% style="color:blue" %)**AT Command:** ... ... @@ -855,7 +855,6 @@ 855 855 (% style="color:#037691" %)**0xAA 00 96 ** (%%) ~/~/ Set AT+FTIME=150 856 856 857 857 858 - 859 859 === 3.2.9 Set PDOP value for GPS fix accuracy === 860 860 861 861 ... ... @@ -880,7 +880,7 @@ 880 880 881 881 882 882 883 -Disable/Enable the confirmation mode 858 +**Disable/Enable the confirmation mode** 884 884 885 885 * (% style="color:blue" %)**AT Command:** 886 886 ... ... @@ -889,17 +889,16 @@ 889 889 890 890 **~ Example:** 891 891 892 - AT+ 867 + AT+CFM=0 **~-~-> ** Disable confirmation 893 893 894 - AT+ 869 + AT+CFM=1 **~-~-> ** Enable confirmation 895 895 896 896 897 897 * (% style="color:blue" %)**Downlink Payload (prefix 0x05):** 898 898 899 -(% style="color:#037691" %)**0x05 01 **(%%) ~/~/ Same as AT+ SMOD=1874 +(% style="color:#037691" %)**0x05 01 **(%%) ~/~/ Same as AT+CFM=1 900 900 901 901 902 - 903 903 === 3.2.10 Auto Send None-ACK messages === 904 904 905 905 ... ... @@ -921,7 +921,6 @@ 921 921 Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 922 922 923 923 924 - 925 925 === 3.2.11 Set BLEMASK to filter BLE iBeacon === 926 926 927 927 ... ... @@ -935,31 +935,29 @@ 935 935 936 936 (% style="color:#037691" %)**AT+BLEMASK=0** (%%) ~/~/ disable BLEMASK 937 937 911 +(% style="color:blue" %)**Downlink Payload: (Prefix : 0xB2)(Since firmware 1.4.1)** 938 938 939 - (% style="color:blue"%)**DownlinkPayload: (Prefix:0xA5)**913 +Example: 0xB2010203040506 ~/~/ Set BLEMASK to 123456 940 940 941 -Example: 0xA5010203040506 ~/~/ Set BLEMASK to 123456 942 942 916 +=== 3.2.12 Set WiFIMASK to filter WiFi SSID(Since firmware 1.4.1) === 943 943 944 -=== 3.2.12 Set WiFIMASK to filter WiFi SSID === 945 945 919 +WiFiMASK is to filter the unwanted WiFi SSID during scan. For example, if WiFiMASK is 123456. TrackerD will only uplink SSID info which includes 123456 as prefix. It will ignore all other WiFi which doesn’t contact 123456 in the SSID. 946 946 947 -WiFiMASK is to filter the unwanted WiFi SSID during scan. For example, if WiFiMASK is 123456. TrackerD will only uplink SSID info which includes 123456. It will ignore all other WiFi which doesn’t contact 123456 in the SSID. 948 - 949 949 (% style="color:red" %)**Note: WiFiMASK range is 6 ~~ 10 bytes. If AT+ WiFiMASK < 6 bytes, WiFiMASK will be disabled.** 950 950 951 951 (% style="color:blue" %)**AT Command:** 952 952 953 - (% style="color:#037691" %)**AT+ 925 + (% style="color:#037691" %)**AT+WiFiMASK=123456** (%%) ~/~/ Set WiFiMASK = 123456 954 954 955 - (% style="color:#037691" %)**AT+ 927 + (% style="color:#037691" %)**AT+WiFiMASK=0** (%%) ~/~/ disable WiFiMASK 956 956 929 +(% style="color:blue" %)**Downlink Payload: (Prefix : 0xB3)(Since firmware 1.4.1)** 957 957 958 - (% style="color:blue"%)**DownlinkPayload:(Prefix:0xA5)**931 +Example: 0xB3010203040506 ~/~/ Set WiFiMASK to 123456 959 959 960 -Example: 0xA5010203040506 ~/~/ Set WiFiMASK to 123456 961 961 962 - 963 963 === 3.2.13 Disable/Enable Information printing(Since firmware 1.4.1) === 964 964 965 965 ... ... @@ -967,12 +967,25 @@ 967 967 968 968 (% style="color:blue" %)**AT Command:** 969 969 941 +(% style="color:#037691" %)**AT+SHOWID=XX **(%%) ~/~/(Disable (0), Enable (1), default:0) 942 +\\Example: AT+SHOWID=1 ~-~-> Enable Information printing. 970 970 971 -(% style="color:#037691" %)**AT+ SHOWID=XX **(%%) ~/~/(Disable (0), Enable (1), default:0) 972 - 973 -Example: AT+ SHOWID =1 ~-~-> Enable Information printing. 974 974 945 +=== 3.2.14 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) === 975 975 947 + 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 + 950 +(% style="color:blue" %)**AT Command:** 951 + 952 +(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode 953 + 954 + 955 +(% style="color:blue" %)**Downlink Payload:0X24** 956 + 957 +Example: 0x24 01 ~/~/ Same as AT+CHE=1 958 + 959 + 976 976 = 4. Setting for Different Scenarios = 977 977 978 978 ... ... @@ -979,7 +979,6 @@ 979 979 980 980 = 5. Upload Firmware = 981 981 982 - 983 983 == 5.1 Firmware Change Log == 984 984 985 985 ... ... @@ -986,7 +986,6 @@ 986 986 **[[See this link>>url:https://github.com/dragino/TrackerD]]** 987 987 988 988 989 - 990 990 == 5.2 How to upgrade firmware == 991 991 992 992 ... ... @@ -1019,29 +1019,27 @@ 1019 1019 [[https:~~/~~/github.com/dragino/TrackerD/releases>>https://github.com/dragino/TrackerD/releases]] 1020 1020 1021 1021 1022 -Users need to use below files: 1004 +**Users need to use below files:** 1023 1023 1024 1024 boot_app0.bin @0e000 1025 1025 1026 - ESP_LORA-eeprom-class.bin @ 0x100001008 +US915.bin @ 0x10000(Select the bin file of the frequency band you need) 1027 1027 1028 1028 1029 -[[image:1 664503593459-435.png]]1011 +[[image:image-20221118105220-2.png]] 1030 1030 1031 1031 1032 1032 1033 1033 After upgrade finish, it will show finish as below: 1034 1034 1035 -[[image: 1664503611848-385.png]]1017 +[[image:image-20221118105402-4.png]] 1036 1036 1037 1037 1038 1038 1039 1039 = 6. Developer Guide = 1040 1040 1041 - 1042 1042 == 6.1 Compile Source Code == 1043 1043 1044 - 1045 1045 === 6.1.1 Set up ARDUINO compile environment === 1046 1046 1047 1047 ... ... @@ -1079,7 +1079,6 @@ 1079 1079 [[image:1664503752288-974.png]] 1080 1080 1081 1081 1082 - 1083 1083 == 6.2 Source Code == 1084 1084 1085 1085 ... ... @@ -1100,10 +1100,8 @@ 1100 1100 [[image:1664503824081-592.png]] [[image:1664503831430-500.png]] 1101 1101 1102 1102 1103 - 1104 1104 = 7. FAQ = 1105 1105 1106 - 1107 1107 == 7.1 How to change the LoRa Frequency Bands/Region? == 1108 1108 1109 1109 ... ... @@ -1110,7 +1110,6 @@ 1110 1110 User can follow the introduction for [[how to upgrade image>>||anchor="H5.UploadFirmware"]]. When download the images, choose the required image file for download. 1111 1111 1112 1112 1113 - 1114 1114 == 7.2 What is the pin mapping for the USB program cable? == 1115 1115 1116 1116 ... ... @@ -1131,29 +1131,26 @@ 1131 1131 1132 1132 == 7.3 Notes on using different serial port tools for TrackerD == 1133 1133 1110 +=== 7.3.1 Serial port utility === 1134 1134 1135 -=== **Serial port utility** === 1136 1136 1137 - 1138 1138 Serial port utility requires you to automatically add data streams. 1139 1139 1140 1140 Need to adjust the data stream to RTS/CTS on physical restart. 1141 1141 1142 - 1143 1143 (% class="wikigeneratedid" %) 1144 1144 [[image:image-20221102140621-1.png]] 1145 1145 1146 1146 1121 + 1147 1147 When using AT commands, the data flow needs to be adjusted to XON/XOFF 1148 1148 1149 - 1150 1150 [[image:image-20221102140638-2.png]] 1151 1151 1152 1152 1127 +=== 7.3.2 SecureCRT === 1153 1153 1154 -=== **SecureCRT** === 1155 1155 1156 - 1157 1157 The default command window of SecureCRT is not displayed. Entering a command requires a complete input of the entire command. You can open the command window in the view. 1158 1158 1159 1159 ... ... @@ -1163,10 +1163,9 @@ 1163 1163 [[image:image-20221102140712-4.png]] 1164 1164 1165 1165 1139 +=== 7.3.3 PUTTY === 1166 1166 1167 -=== **PUTTY** === 1168 1168 1169 - 1170 1170 [[image:image-20221102140748-5.png]] 1171 1171 1172 1172 ... ... @@ -1176,47 +1176,199 @@ 1176 1176 [[image:image-20221102140801-6.png]] 1177 1177 1178 1178 1151 +== 7.4 How to modify source code to compile different frequency band bin file? == 1179 1179 1180 -= 8. Order Info = 1181 1181 1154 +(% class="box infomessage" %) 1155 +((( 1156 +(% style="color:red" %)**Important**(%%): Developer **MUST** follow the Arduino Environment Instruction exactly include change the SPI pin mappings. 1157 +See : [[**Set Up Arduino Compile Environment for TrackerD**. >>||anchor="H6.1.1SetupARDUINOcompileenvironment"]] 1158 +))) 1182 1182 1160 +**~1. When compiling the frequency band, you need to find LMIC_PROJECT_CONFIG.H file.** 1161 + 1162 + 1163 +[[image:image-20221116111844-1.png||height="227" width="782"]] 1164 + 1165 + 1166 + 1167 +**2. Open LMIC_PROJECT_CONFIG.H, find the corresponding macro definition and open it(AS923_2,AS923_3,AS923_4 except).** 1168 + 1169 + 1170 +[[image:image-20221116111844-2.png||height="262" width="781"]] 1171 + 1172 + 1173 + 1174 +**3. Compile the AS923_JP band, please refer to the intention shown** 1175 + 1176 + 1177 +[[image:image-20221116111844-3.png||height="338" width="746"]] 1178 + 1179 + 1180 + 1181 +**4. In other frequency bands in AS923, you need to find Lorabase_as923.H, path arduino-lmic \ src \ lmic, as shown in the figure below.** 1182 + 1183 + 1184 +[[image:image-20221116111844-4.png||height="641" width="739"]] 1185 + 1186 + 1187 +[[image:image-20221116111844-5.png||height="551" width="708"]] 1188 + 1189 + 1190 += 8 Trouble Shooting = 1191 + 1192 +== 8.1 TDC is changed to 4294947296 and cause no uplink. == 1193 + 1194 + 1195 +((( 1196 +Before firmware v1.4.0: When the Transport Mode is enabled (**AT+INTWK=1**), the **TDC** needs to be greater than **MTDC**, otherwise, TDC setting will because 4294947296 after wakre up from motion. This bug is fixed in firmware v1.4.1 1197 +))) 1198 + 1199 + 1200 +== 8.2 Device not able get AT Command or show output after wake up from deep sleep mode == 1201 + 1202 + 1203 +((( 1204 +ESP32 is not able to accept the Interrupt from UART after wake up from deep sleep mode. User need to press the button (one click) and trackerD will be able to accept UART command, it there is no action in UART for 15 seconds. it will go to deep sleep mode. 1205 +))) 1206 + 1207 + 1208 +== 8.3 Problem after Upgrading Firmware == 1209 + 1210 +=== 8.3.1 Continue Restart after upgrading === 1211 + 1212 + 1213 +((( 1214 +If it is V1.4.0 and the previous version, new partitions need to be loaded when upgrading. The new version of the software is stored in the partition package. The upgrade method is shown in the figure 1215 +))) 1216 + 1217 + 1218 +[[image:image-20221118105249-3.png]] 1219 + 1220 + 1221 +=== 8.3.2 TrackerD's led light is always GREEN on after upgrading === 1222 + 1223 + 1224 +It is because the partitions are different when upgrading versions above 1.4.1, and a new partition file needs to be added. Please refer to the operation steps in chapter 8.3.1 1225 + 1226 + 1227 +=== 8.3.3 "flash read err" after upgrade firmware === 1228 + 1229 +Error shows below, user might erase the entire flash include u-boot partition which cause this issue. 1230 + 1231 +[[image:image-20221122100004-1.png||height="497" width="534"]] 1232 + 1233 + 1234 +User need to upgrade again with below four files to solve this issue. 1235 + 1236 + [[image:image-20221122100004-2.png||height="619" width="389"]] 1237 + 1238 + **Figure 2** 1239 + 1240 + 1241 +=== 8.3.3 "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware === 1242 + 1243 +User might erase the entire flash include keys and default settings which cause this issue. 1244 + 1245 +After the upgrade is completed, enter AT+CFG as shown in the figure below. 1246 + 1247 +[[image:image-20221122100004-3.png]] 1248 + 1249 +Please **AT+FDR** which will reset all settings to factory settings. , and then input the following keys by the information on the label. 1250 + 1251 + 1252 +Example: 1253 + 1254 +AT+DEUI=70B3D57ED0053981 1255 + 1256 +AT+APPEUI=D23345667BCBCCAF 1257 + 1258 +AT+APPKEY=F402A1A7A350445A7CD2DEA95511BFA1 1259 + 1260 +AT+DADDR=260b4dce ( no need for OTAA) 1261 + 1262 +AT+NWKSKEY=71cb7672441f573a53d4f34d307fc61d ( no need for OTAA) 1263 + 1264 +AT+APPSKEY=dacce2299ecd97a73ee3f80b5a46a559 ( no need for OTAA) 1265 + 1266 + 1267 + 1268 +=== 8.3.4 If there is a situation in Figure 1, and a new partition file needs to be added. Please refer to the operation steps in chapter 8.3.1 === 1269 + 1270 + 1271 +[[image:image-20221122100004-4.png]] 1272 + 1273 + 1274 +== 8.4 When positioning, it will restart or the PDOP setting is unsuccessful == 1275 + 1276 + 1277 +Please download version 1.4.2 again 1278 + 1279 + 1280 +== 8.5 How to deal with unsuccessful GPS positioning? == 1281 + 1282 + 1283 +1) Make Sure the device is in Open Area where can see the sky. 1284 + 1285 +2) Set PDOP to a higher value. 1286 + 1287 +* (% style="color:blue" %)**AT+PDOP=2 **(%%)(can be positioned precisely.) 1288 + 1289 +* (% style="color:blue" %)**AT+PDOP=7 **(%%)(Quickly locate in open spaces) 1290 + 1291 +* (% style="color:blue" %)**AT+PDOP=14.7** (%%)(Positioning can be acquired in complex environments) 1292 + 1293 +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 1294 + 1295 + 1296 += 9. Order Info = 1297 + 1298 + 1183 1183 Part Number: (% style="color:blue" %)**TrackerD-XXX** 1184 1184 1185 1185 (% style="color:blue" %)**XXX**(%%): The default frequency band 1186 1186 1187 1187 * (% style="color:red" %)**EU433**(%%): Default frequency band EU433 1304 + 1188 1188 * (% style="color:red" %)**EU868**(%%): Default frequency band EU868 1306 + 1189 1189 * (% style="color:red" %)**IN865**(%%): Default frequency band IN865 1308 + 1190 1190 * (% style="color:red" %)**KR920**(%%): Default frequency band KR920 1310 + 1191 1191 * (% style="color:red" %)**AS923**(%%): Default frequency band AS923 1312 + 1192 1192 * (% style="color:red" %)**AU915**(%%): Default frequency band AU915 1314 + 1193 1193 * (% style="color:red" %)**US915**(%%): Default frequency band US915 1194 1194 1317 += 10. Packing Info = 1195 1195 1196 -= 9. Packing Info = 1197 1197 1198 - 1199 1199 (% style="color:#037691" %)**Package Includes**: 1200 1200 1201 1201 * TrackerD LoRaWAN GPS/BLE Tracker x 1 1323 + 1202 1202 * USB recharge & program cable x 1 1203 1203 1204 1204 (% style="color:#037691" %)**Dimensions and Weight**: 1205 1205 1206 1206 * Device Size: 85 x 48 x 15 mm 1329 + 1207 1207 * Weight: 50g 1208 1208 1332 += 11. Support = 1209 1209 1210 -= 10. Support = 1211 1211 1212 - 1213 1213 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1336 + 1214 1214 * 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]]. 1215 1215 1339 += 12. Reference = 1216 1216 1217 -= 11. Reference = 1218 1218 1219 - 1220 1220 * [[**Firmware in Bin format**>>https://www.dropbox.com/sh/733s8xlwahhqg1d/AABxDz80lBVX_to8zNuUQWFja?dl=0]] 1343 + 1221 1221 * **[[Source Code>>https://github.com/dragino/TrackerD]] ** 1345 + 1222 1222 * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
- image-20221107145243-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +107.3 KB - Content
- image-20221116111844-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.8 KB - Content
- image-20221116111844-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +32.6 KB - Content
- image-20221116111844-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.0 KB - Content
- image-20221116111844-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +96.8 KB - Content
- image-20221116111844-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +78.0 KB - Content
- image-20221118104359-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +38.0 KB - Content
- image-20221118105220-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +40.2 KB - Content
- image-20221118105249-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +40.2 KB - Content
- image-20221118105402-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.7 KB - Content
- image-20221122100004-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +18.0 KB - Content
- image-20221122100004-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +127.2 KB - Content
- image-20221122100004-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.5 KB - Content
- image-20221122100004-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.3 KB - Content