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

From version 100.1
edited by Bei Jinggeng
on 2022/11/04 09:18
Change comment: There is no comment for this version
To version 144.1
edited by Edwin Chen
on 2022/11/22 12:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +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,6 +97,7 @@
97 97  * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm
98 98  * Tracking: max: 38mA
99 99  
98 +
100 100  == 1.3  Features ==
101 101  
102 102  
... ... @@ -115,6 +115,7 @@
115 115  * Tri-color LED, Alarm button
116 116  * Datalog
117 117  
117 +
118 118  == 1.4  Applications ==
119 119  
120 120  
... ... @@ -121,8 +121,8 @@
121 121  * Logistics and Supply Chain Management
122 122  * Human tracking
123 123  
124 -= 2.1 Use TrackerD =
125 125  
125 += 2.  Use TrackerD =
126 126  
127 127  == 2.1 How it works? ==
128 128  
... ... @@ -130,7 +130,6 @@
130 130  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.
131 131  
132 132  
133 -
134 134  == 2.2 Quick guide to connect to LoRaWAN server ==
135 135  
136 136  
... ... @@ -172,18 +172,20 @@
172 172  **__Add APP KEY and DEV EUI:__**
173 173  
174 174  
175 -[[image:1664501784668-703.png]]
174 +[[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"]]
176 176  
177 177  
178 178  
178 +(% style="color:blue" %)**Step 2**:(%%) Push this button will activate this device.
179 179  
180 -(% style="color:blue" %)**Step 2**:(%%) Power on TrackerD by using the on board switch.
180 +(% id="cke_bm_7709S" style="display:none" %) [[image:1664502835802-546.png]]
181 181  
182 +[[image:1664502835802-546.png]]
182 182  
184 +
183 183  (% 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.
184 184  
185 185  
186 -
187 187  == 2.3  Positioning Mode(SMOD) ==
188 188  
189 189  
... ... @@ -196,10 +196,8 @@
196 196  Users can switch modes by [[changing SMOD>>||anchor="H3.2.7SetPositioningMode"]].
197 197  
198 198  
199 -
200 200  == 2.4  Uplink Payload ==
201 201  
202 -
203 203  === 2.4.1 Uplink FPORT~=5, Device Status ===
204 204  
205 205  
... ... @@ -288,6 +288,7 @@
288 288  |=(% 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
289 289  |=(% 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"]]
290 290  
290 +
291 291  === 2.4.2 Uplink FPORT~=2, Realtime GNSS Positioning + Temperature & Humidity ===
292 292  
293 293  
... ... @@ -315,6 +315,7 @@
315 315  |=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)1bit|(% style="width:50px" %)14bits
316 316  |=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
317 317  
318 +
318 318  ==== (% style="color:blue" %)**FLAG:**(%%) ====
319 319  
320 320  (% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:120px" %)
... ... @@ -364,6 +364,7 @@
364 364  * 3.40v ~~ 3.69v:  20% ~~ 40%
365 365  * < 3.39v:  0~~20%
366 366  
368 +
367 367  ==== (% style="color:blue" %)**MOD:**(%%) ====
368 368  
369 369  **Example: ** (0x60>>6) & 0x3f =1
... ... @@ -404,7 +404,6 @@
404 404  011A =if (0x011A & 0x8000 = 1 ):  value =( 0x011A - 0x10000)/10(dec) ⇒ -//28.2 degree//
405 405  
406 406  
407 -
408 408  === 2.4.3  Uplink FPORT~=3, Realtime GNSS Positioning (Default Mode) ===
409 409  
410 410  
... ... @@ -423,7 +423,6 @@
423 423  [[image:1665301687277-443.png]]
424 424  
425 425  
426 -
427 427  === 2.4.4  Uplink FPORT~=4, History GNSS Positioning ===
428 428  
429 429  
... ... @@ -433,7 +433,7 @@
433 433  (% style="color:red" %)**Note for this mode:**
434 434  
435 435  * a) TrackerD will do an ACK check for data records sending to make sure every data arrive server.
436 -* 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.
436 +* 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.
437 437  * 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
438 438  
439 439  The payload is 15 bytes, as below.
... ... @@ -447,7 +447,6 @@
447 447  [[image:image-20221009160309-2.png]]
448 448  
449 449  
450 -
451 451  === 2.4.5  Uplink FPORT~=6, BLE Positioning with Strongest iBeacon ===
452 452  
453 453  
... ... @@ -479,16 +479,17 @@
479 479  * (% style="color:#037691" %)**MODE:   **(%%)Define the payload format.
480 480  * (% style="color:#037691" %)**UUID:     **(%%)The uuid from the strongest iBeacon.
481 481  * (% style="color:#037691" %)**MAJOR:** (%%) The MAJOR from the strongest iBeacon.
482 -* (% style="color:#037691" %)**MINOR:**  (%%)The MAJOR from the strongest iBeacon.
481 +* (% style="color:#037691" %)**MINOR:**  (%%)The MINOR from the strongest iBeacon.
483 483  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
484 484  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
485 485  
486 -=== 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID ===
487 487  
486 +=== 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID(Since firmware 1.4.1) ===
488 488  
489 -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.
490 490  
489 +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.
491 491  
491 +
492 492  (% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:371.222px" %)
493 493  |=(% scope="row" style="width: 60px;" %)(((
494 494  **Size(bytes)**
... ... @@ -505,6 +505,7 @@
505 505  * (% style="color:#037691" %)**SSID:      **(%%)WiFi name.
506 506  * (% style="color:#037691" %)**RSSI:      **(%%)The RSSI from the strongest WiFi.
507 507  
508 +
508 508  === 2.4.7  Add Payload format in TTN V3 ===
509 509  
510 510  
... ... @@ -516,6 +516,7 @@
516 516  [[image:1664502649601-895.png]]
517 517  
518 518  
520 +
519 519  Add the decoder from this link: 
520 520  
521 521  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD>>https://github.com/dragino/dragino-end-node-decoder/tree/main/TrackerD]]
... ... @@ -525,7 +525,6 @@
525 525  [[image:1664502676891-606.png]]
526 526  
527 527  
528 -
529 529  == 2.5 Integrate with Datacake ==
530 530  
531 531  
... ... @@ -533,10 +533,10 @@
533 533  
534 534  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]]
535 535  
537 +
536 536  [[image:1664502695771-538.png]]
537 537  
538 538  
539 -
540 540  == 2.6 Integrate with Tago ==
541 541  
542 542  
... ... @@ -545,11 +545,9 @@
545 545  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]]
546 546  
547 547  
548 -
549 549  [[image:1664502715371-321.png]]
550 550  
551 551  
552 -
553 553  == 2.7  Datalog Feature ==
554 554  
555 555  
... ... @@ -565,7 +565,6 @@
565 565  [[image:image-20221009234629-1.png||height="390" width="577"]]
566 566  
567 567  
568 -
569 569  == 2.8 Alarm Mode ==
570 570  
571 571  
... ... @@ -580,7 +580,7 @@
580 580  
581 581  
582 582  (((
583 -Two ways to exit alarm mode:
581 +**Two ways to exit alarm mode:**
584 584  )))
585 585  
586 586  * Server sends a downlink command to exit.
... ... @@ -591,7 +591,6 @@
591 591  )))
592 592  
593 593  
594 -
595 595  == 2.9 Transport Mode ==
596 596  
597 597  
... ... @@ -598,17 +598,16 @@
598 598  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.
599 599  
600 600  
601 -
602 602  == 2.10 LED Status ==
603 603  
604 604  
605 -(% border="1.5" style="background-color:#ffffcc; color:green; width:500px" %)
601 +(% border="1.5" style="background-color:#ffffcc; width:500px" %)
606 606  |=(% style="width: 150px;" %)**Event**|=(% style="width: 200px;" %)**Action**|=(% style="width: 150px;" %)**AT+LON to control on/off**
607 607  |(% 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
608 608  |(% style="width:157px" %)**Join request**|(% style="width:271px" %)(% style="color:green" %)**Green** (%%)led fast blink once (200ms)|(% style="width:202px" %)Yes
609 609  |(% style="width:157px" %)**Join Success**|(% style="width:271px" %)(% style="color:green" %)**Green**(%%) led on 5 second|(% style="width:202px" %)N/A
610 610  |(% style="width:157px" %)**Fixing Location**|(% style="width:271px" %)(% style="color:blue" %)**BLUE **(%%)blinks 200ms per second|(% style="width:202px" %)Yes
611 -|(% style="width:157px" %)**Fixed and uplink**|(% style="width:271px" %)(% style="color:green" %)**GREEN ***(%%)***blinks twice (200ms per blink)**|(% style="width:202px" %)Yes
607 +|(% style="width:157px" %)**Fixed and uplink**|(% style="width:271px" %)(% style="color:green" %)**GREEN **(%%)blinks twice (200ms per blink)|(% style="width:202px" %)Yes
612 612  |(% style="width:157px" %)**Fail Fix and uplink**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)blinks twice (200ms per blink)|(% style="width:202px" %)Yes
613 613  |(% style="width:157px" %)**Enter Alarm mode**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)on for 3 seconds|(% style="width:202px" %)Yes
614 614  |(% style="width:157px" %)**Uplink under Alarm**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)on for 1 second|(% style="width:202px" %)Yes
... ... @@ -616,6 +616,7 @@
616 616  |(% style="width:157px" %)**Get Downlink**|(% style="width:271px" %)(% style="color:green" %)**GREEN**(%%) led on 1 second|(% style="width:202px" %)Yes
617 617  |(% style="width:157px" %)**Movement Detect**|(% style="width:271px" %)(% style="color:red" %)**RED **(%%)led on 500ms|(% style="width:202px" %)N/A
618 618  
615 +
619 619  == 2.11 Button Function ==
620 620  
621 621  
... ... @@ -631,12 +631,13 @@
631 631  [[image:1664502854406-763.png]]
632 632  
633 633  
634 -(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
631 +(% border="1" style="background-color:#ffffcc; width:510px" %)
635 635  |=(% style="width: 100px;" %)**Function**|=(% style="width: 205px;" %)**Action**|=(% style="width: 205px;" %)**Description**
636 -|(% 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"]]
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"]]
637 637  |(% 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
638 638  |(% 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.
639 639  
637 +
640 640  == 2.12 USB Port Function ==
641 641  
642 642  
... ... @@ -647,6 +647,7 @@
647 647  * [[Configure Device>>||anchor="H3.ConfigureTrackerDviaATcommandorLoRaWANdownlink"]]
648 648  * [[Upgrade Firmware>>||anchor="H5.UploadFirmware"]]
649 649  
648 +
650 650  = 3. Configure TrackerD via AT command or LoRaWAN downlink =
651 651  
652 652  
... ... @@ -655,7 +655,6 @@
655 655  LoRaWAN Downlink instruction for different platforms:  [[IoT LoRaWAN Server>>doc:Main.WebHome]]
656 656  
657 657  
658 -
659 659  == 3.1 Access AT Command ==
660 660  
661 661  
... ... @@ -680,7 +680,6 @@
680 680  
681 681  == 3.2 Command Set ==
682 682  
683 -
684 684  === 3.2.1 Set Transmit Interval ===
685 685  
686 686  
... ... @@ -698,7 +698,6 @@
698 698  (% style="color:#037691" %)**0x01 00 01 2C**  (%%) ~/~/  Same as AT+TDC=300000
699 699  
700 700  
701 -
702 702  === 3.2.2 Set Alarm Packet transmission interval ===
703 703  
704 704  
... ... @@ -716,7 +716,6 @@
716 716  (% style="color:#037691" %)**0xB1 00 00 3C ** (%%) ~/~/  Same as AT+ATDC=60000
717 717  
718 718  
719 -
720 720  === 3.2.3 Set Transport Mode Packet transmission interval ===
721 721  
722 722  
... ... @@ -731,10 +731,9 @@
731 731  
732 732  * (% style="color:blue" %)**Downlink Payload (prefix 0x03):**
733 733  
734 -(% style="color:#037691" %)**0x03 00 01 2C**  (%%) ~/~/  Same as AT+ MTDC=3000000
729 +(% style="color:#037691" %)**0x03 00 01 2C**  (%%) ~/~/  Same as AT+MTDC=3000000
735 735  
736 736  
737 -
738 738  === 3.2.4 Exit Alarm ===
739 739  
740 740  
... ... @@ -747,7 +747,6 @@
747 747  (% style="color:#037691" %)**0x02 01**    (%%) ~/~/  Exit Alarm Mode
748 748  
749 749  
750 -
751 751  === 3.2.5 Disable/Enable LED flash ===
752 752  
753 753  
... ... @@ -765,7 +765,6 @@
765 765  (% style="color:#037691" %)**0xAE 00 ** (%%) ~/~/  Same as AT+LON=0
766 766  
767 767  
768 -
769 769  === 3.2.6 Disable/Enable Transport Mode ===
770 770  
771 771  
... ... @@ -775,15 +775,14 @@
775 775  
776 776  (% style="color:#037691" %)**AT+INTWK=xx.  (Disable (0), Enable (1), default:0)**
777 777  
778 -Example:  AT+ INTWK =1  **~-~->   ** Enable Transport Mode.
770 +Example:  AT+INTWK=1  **~-~->   ** Enable Transport Mode.
779 779  
780 780  
781 781  * (% style="color:blue" %)**Downlink Payload (prefix 0xAF):**
782 782  
783 -(% style="color:#037691" %)**0xAF 01 ** (%%) ~/~/  Same as AT+ INTWK =1
775 +(% style="color:#037691" %)**0xAF 01 ** (%%) ~/~/  Same as AT+INTWK=1
784 784  
785 785  
786 -
787 787  === 3.2.7 Set Positioning Mode ===
788 788  
789 789  
... ... @@ -797,33 +797,39 @@
797 797  (% style="color:#037691" %)** aa:**
798 798  
799 799  * (% style="color:red" %)**1: GPS ONLY(Factory Settings):    **(%%)Only get and uplink GPS location info.
791 +
800 800  * (% 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.
801 -* (% 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.
802 802  
794 +* (% 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.
795 +
803 803  (% style="color:#037691" %)**bb:**
804 804  
805 805  * (% style="color:red" %)**0 :  **(%%)GPS+ BAT+ State+Tem&Hum
799 +
806 806  * (% style="color:red" %)**1 :**(%%)  GPS +BAT State
807 807  
808 808  (% style="color:#037691" %)**cc:   **
809 809  
810 -* (% style="color:red" %)**1 : **(%%) (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State  
804 +* (% style="color:red" %)**1 : **(%%) (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State  
805 +
811 811  * (% style="color:red" %)**2 : **(%%) (WiFi)SSID+Rssi+BAT+State ((% style="color:#037691" %)V1.4.1 Version support this function later(%%))  
812 812  
813 813  (% style="color:blue" %)**Example:**
814 814  
815 - AT+ SMOD =1,0,0 ~-~->  GPS+ BAT+ State+Tem&Hum
816 - AT+ SMOD =1,1,0 ~-~->  GPS +BAT State
817 - AT+ SMOD =2,0,1 ~-~->  (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State
818 - AT+ SMOD =2,0,2 ~-~->  (WiFi)SSID+Rssi+BAT+State
810 + AT+SMOD=1,0,0 ~-~->  GPS+ BAT+ State+Tem&Hum
819 819  
812 + AT+SMOD=1,1,0 ~-~->  GPS +BAT State
820 820  
821 -* (% style="color:blue" %)**Downlink Payload (prefix 0xA5):**
814 + AT+SMOD=2,0,1 ~-~->  (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State
822 822  
823 -(% style="color:#037691" %)**0xA5 01 00 00**    (%%) ~/~/  Same as AT+ SMOD =1,0,0
816 + AT+SMOD=2,0,2 ~-~->  (WiFi)SSID+Rssi+BAT+State
824 824  
825 825  
819 +* (% style="color:blue" %)**Downlink Payload (prefix 0xA5):**
826 826  
821 +(% style="color:#037691" %)**0xA5 01 00 00**    (%%) ~/~/  Same as AT+SMOD=1,0,0
822 +
823 +
827 827  === 3.2.8 Set MAX GPS position time ===
828 828  
829 829  
... ... @@ -830,7 +830,7 @@
830 830  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.
831 831  
832 832  
833 -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 +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.
834 834  
835 835  
836 836  * (% style="color:blue" %)**AT Command:**
... ... @@ -845,7 +845,6 @@
845 845  (% style="color:#037691" %)**0xAA 00 96 ** (%%) ~/~/  Set AT+FTIME=150
846 846  
847 847  
848 -
849 849  === 3.2.9 Set PDOP value for GPS fix accuracy ===
850 850  
851 851  
... ... @@ -870,7 +870,7 @@
870 870  
871 871  
872 872  
873 -Disable/Enable the confirmation mode
869 +**Disable/Enable the confirmation mode**
874 874  
875 875  * (% style="color:blue" %)**AT Command:**
876 876  
... ... @@ -879,17 +879,16 @@
879 879  
880 880  **~ Example:**
881 881  
882 - AT+ CFM=0    **~-~->   ** Disable confirmation
878 + AT+CFM=0    **~-~->   ** Disable confirmation
883 883  
884 - AT+ CFM=1    **~-~->  ** Enable confirmation
880 + AT+CFM=1    **~-~->  ** Enable confirmation
885 885  
886 886  
887 887  * (% style="color:blue" %)**Downlink Payload (prefix 0x05):**
888 888  
889 -(% style="color:#037691" %)**0x05 01 **(%%) ~/~/  Same as AT+ CFM =1
885 +(% style="color:#037691" %)**0x05 01 **(%%) ~/~/  Same as AT+CFM=1
890 890  
891 891  
892 -
893 893  === 3.2.10  Auto Send None-ACK messages ===
894 894  
895 895  
... ... @@ -911,7 +911,6 @@
911 911  Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
912 912  
913 913  
914 -
915 915  === 3.2.11  Set BLEMASK to filter BLE iBeacon ===
916 916  
917 917  
... ... @@ -925,37 +925,29 @@
925 925  
926 926   (% style="color:#037691" %)**AT+BLEMASK=0**  (%%) ~/~/ disable BLEMASK
927 927  
928 -
929 -(% style="color:blue" %)**Downlink Payload: (Prefix : 0xA5)**
930 -
931 -Example: 0xA5010203040506    ~/~/ Set BLEMASK to 123456
932 -
933 933  (% style="color:blue" %)**Downlink Payload: (Prefix : 0xB2)(Since firmware 1.4.1)**
934 934  
935 935  Example: 0xB2010203040506    ~/~/ Set BLEMASK to 123456
936 936  
937 -=== 3.2.12  Set WiFIMASK to filter WiFi SSID ===
938 938  
927 +=== 3.2.12  Set WiFIMASK to filter WiFi SSID(Since firmware 1.4.1) ===
939 939  
940 -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.
941 941  
930 +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.
931 +
942 942  (% style="color:red" %)**Note: WiFiMASK range is 6 ~~ 10 bytes. If AT+ WiFiMASK < 6 bytes, WiFiMASK will be disabled.**
943 943  
944 944  (% style="color:blue" %)**AT Command:**
945 945  
946 - (% style="color:#037691" %)**AT+ WiFiMASK =123456**    (%%) ~/~/ Set WiFiMASK = 123456
936 + (% style="color:#037691" %)**AT+WiFiMASK=123456**    (%%) ~/~/ Set WiFiMASK = 123456
947 947  
948 - (% style="color:#037691" %)**AT+ WiFiMASK =0**       (%%) ~/~/ disable WiFiMASK
938 + (% style="color:#037691" %)**AT+WiFiMASK=0**       (%%) ~/~/ disable WiFiMASK
949 949  
950 -
951 -(% style="color:blue" %)**Downlink Payload: (Prefix : 0xA5)**
952 -
953 -Example: 0xA5010203040506    ~/~/ Set WiFiMASK to 123456
954 -
955 955  (% style="color:blue" %)**Downlink Payload: (Prefix : 0xB3)(Since firmware 1.4.1)**
956 956  
957 957  Example: 0xB3010203040506    ~/~/ Set WiFiMASK to 123456
958 958  
944 +
959 959  === 3.2.13 Disable/Enable Information printing(Since firmware 1.4.1) ===
960 960  
961 961  
... ... @@ -963,12 +963,25 @@
963 963  
964 964  (% style="color:blue" %)**AT Command:**
965 965  
952 +(% style="color:#037691" %)**AT+SHOWID=XX         **(%%) ~/~/(Disable (0), Enable (1), default:0)
953 +\\Example: AT+SHOWID=1 ~-~-> Enable Information printing.
966 966  
967 -(% style="color:#037691" %)**AT+ SHOWID=XX         **(%%) ~/~/(Disable (0), Enable (1), default:0)
968 -
969 -Example: AT+ SHOWID =1 ~-~-> Enable Information printing.
970 970  
956 +=== 3.2.14 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
971 971  
958 +
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 +
961 +(% style="color:blue" %)**AT Command:**
962 +
963 +(% style="color:#037691" %)**AT+CHE=1**(%%) ~/~/ set one channels mode
964 +
965 +
966 +(% style="color:blue" %)**Downlink Payload:0X24**
967 +
968 +Example: 0x24 01 ~/~/ Same as AT+CHE=1
969 +
970 +
972 972  = 4. Setting for Different Scenarios =
973 973  
974 974  
... ... @@ -975,7 +975,6 @@
975 975  
976 976  = 5. Upload Firmware =
977 977  
978 -
979 979  == 5.1 Firmware Change Log ==
980 980  
981 981  
... ... @@ -982,7 +982,6 @@
982 982  **[[See this link>>url:https://github.com/dragino/TrackerD]]**
983 983  
984 984  
985 -
986 986  == 5.2 How to upgrade firmware ==
987 987  
988 988  
... ... @@ -1015,29 +1015,27 @@
1015 1015  [[https:~~/~~/github.com/dragino/TrackerD/releases>>https://github.com/dragino/TrackerD/releases]]
1016 1016  
1017 1017  
1018 -Users need to use below files:
1015 +**Users need to use below files:**
1019 1019  
1020 1020  boot_app0.bin @0e000
1021 1021  
1022 -ESP_LORA-eeprom-class.bin @ 0x10000
1019 +US915.bin @ 0x10000(Select the bin file of the frequency band you need)
1023 1023  
1024 1024  
1025 -[[image:1664503593459-435.png]]
1022 +[[image:image-20221118105220-2.png]]
1026 1026  
1027 1027  
1028 1028  
1029 1029  After upgrade finish, it will show finish as below:
1030 1030  
1031 -[[image:1664503611848-385.png]]
1028 +[[image:image-20221118105402-4.png]]
1032 1032  
1033 1033  
1034 1034  
1035 1035  = 6. Developer Guide =
1036 1036  
1037 -
1038 1038  == 6.1 Compile Source Code ==
1039 1039  
1040 -
1041 1041  === 6.1.1 Set up ARDUINO compile environment ===
1042 1042  
1043 1043  
... ... @@ -1075,7 +1075,6 @@
1075 1075  [[image:1664503752288-974.png]]
1076 1076  
1077 1077  
1078 -
1079 1079  == 6.2 Source Code ==
1080 1080  
1081 1081  
... ... @@ -1096,10 +1096,8 @@
1096 1096  [[image:1664503824081-592.png]] [[image:1664503831430-500.png]]
1097 1097  
1098 1098  
1099 -
1100 1100  = 7.  FAQ =
1101 1101  
1102 -
1103 1103  == 7.1 How to change the LoRa Frequency Bands/Region? ==
1104 1104  
1105 1105  
... ... @@ -1106,7 +1106,6 @@
1106 1106  User can follow the introduction for [[how to upgrade image>>||anchor="H5.UploadFirmware"]]. When download the images, choose the required image file for download.
1107 1107  
1108 1108  
1109 -
1110 1110  == 7.2 What is the pin mapping for the USB program cable? ==
1111 1111  
1112 1112  
... ... @@ -1125,31 +1125,29 @@
1125 1125  |(% style="width:118px" %)A8|(% style="width:67px" %)Yellow|(% style="width:123px" %)MTMS/GPIO14
1126 1126  |(% style="width:118px" %)B8|(% style="width:67px" %)Grey|(% style="width:123px" %)MTDO/GPIO15
1127 1127  
1119 +
1128 1128  == 7.3 Notes on using different serial port tools for TrackerD ==
1129 1129  
1122 +=== 7.3.1  Serial port utility ===
1130 1130  
1131 -=== **Serial port utility** ===
1132 1132  
1133 -
1134 1134  Serial port utility requires you to automatically add data streams.
1135 1135  
1136 1136  Need to adjust the data stream to RTS/CTS on physical restart.
1137 1137  
1138 -
1139 1139  (% class="wikigeneratedid" %)
1140 1140  [[image:image-20221102140621-1.png]]
1141 1141  
1142 1142  
1133 +
1143 1143  When using AT commands, the data flow needs to be adjusted to XON/XOFF
1144 1144  
1145 -
1146 1146  [[image:image-20221102140638-2.png]]
1147 1147  
1148 1148  
1139 +=== 7.3.2  SecureCRT ===
1149 1149  
1150 -=== **SecureCRT** ===
1151 1151  
1152 -
1153 1153  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.
1154 1154  
1155 1155  
... ... @@ -1159,10 +1159,9 @@
1159 1159  [[image:image-20221102140712-4.png]]
1160 1160  
1161 1161  
1151 +=== 7.3.3  PUTTY ===
1162 1162  
1163 -=== **PUTTY** ===
1164 1164  
1165 -
1166 1166  [[image:image-20221102140748-5.png]]
1167 1167  
1168 1168  
... ... @@ -1172,44 +1172,202 @@
1172 1172  [[image:image-20221102140801-6.png]]
1173 1173  
1174 1174  
1163 +== 7.4 How to modify source code to compile different frequency band bin file? ==
1175 1175  
1176 -= 8.  Order Info =
1177 1177  
1166 +(% class="box infomessage" %)
1167 +(((
1168 +(% style="color:red" %)**Important**(%%): Developer **MUST** follow the Arduino Environment Instruction exactly include change the SPI pin mappings.
1169 +See : [[**Set Up Arduino Compile Environment for TrackerD**. >>||anchor="H6.1.1SetupARDUINOcompileenvironment"]]
1170 +)))
1178 1178  
1172 +**~1. When compiling the frequency band, you need to find LMIC_PROJECT_CONFIG.H file.**
1173 +
1174 +
1175 +[[image:image-20221116111844-1.png||height="227" width="782"]]
1176 +
1177 +
1178 +
1179 +**2. Open LMIC_PROJECT_CONFIG.H, find the corresponding macro definition and open it(AS923_2,AS923_3,AS923_4 except).**
1180 +
1181 +
1182 +[[image:image-20221116111844-2.png||height="262" width="781"]]
1183 +
1184 +
1185 +
1186 +**3. Compile the AS923_JP band, please refer to the intention shown**
1187 +
1188 +
1189 +[[image:image-20221116111844-3.png||height="338" width="746"]]
1190 +
1191 +
1192 +
1193 +**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.**
1194 +
1195 +
1196 +[[image:image-20221116111844-4.png||height="641" width="739"]]
1197 +
1198 +
1199 +[[image:image-20221116111844-5.png||height="551" width="708"]]
1200 +
1201 +
1202 += 8  Trouble Shooting =
1203 +
1204 +== 8.1  TDC is changed to 4294947296 and cause no uplink. ==
1205 +
1206 +
1207 +(((
1208 +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
1209 +)))
1210 +
1211 +
1212 +== 8.2  Device not able get AT Command or show output after wake up from deep sleep mode ==
1213 +
1214 +
1215 +(((
1216 +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.
1217 +)))
1218 +
1219 +
1220 +== 8.3  Problem after Upgrading Firmware ==
1221 +
1222 +=== 8.3.1 Continue Restart after upgrading ===
1223 +
1224 +
1225 +(((
1226 +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
1227 +)))
1228 +
1229 +
1230 +[[image:image-20221118105249-3.png]]
1231 +
1232 +
1233 +=== 8.3.2 TrackerD's led light is always GREEN on after upgrading ===
1234 +
1235 +
1236 +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
1237 +
1238 +
1239 +=== 8.3.3 "flash read err" after upgrade firmware ===
1240 +
1241 +Error shows below, user might erase the entire flash include u-boot partition which cause this issue.
1242 +
1243 +[[image:image-20221122100004-1.png||height="497" width="534"]]
1244 +
1245 +
1246 +User need to upgrade again with below four files to solve this issue.
1247 +
1248 + [[image:image-20221122100004-2.png||height="619" width="389"]]
1249 +
1250 + **Figure 2**
1251 +
1252 +
1253 +=== 8.3.3 "Device Key become ff ff ff ff ff ff ff ff " after upgrade firmware ===
1254 +
1255 +User might erase the entire flash include keys and default settings which cause this issue.
1256 +
1257 +After the upgrade is completed, enter AT+CFG as shown in the figure below.
1258 +
1259 +[[image:image-20221122100004-3.png]]
1260 +
1261 +Please **AT+FDR** which will reset all settings to factory settings. , and then input the following keys by the information on the label.
1262 +
1263 +
1264 +Example:
1265 +
1266 +AT+DEUI=70B3D57ED0053981  
1267 +
1268 +AT+APPEUI=D23345667BCBCCAF
1269 +
1270 +AT+APPKEY=F402A1A7A350445A7CD2DEA95511BFA1
1271 +
1272 +AT+DADDR=260b4dce    ( no need for OTAA)
1273 +
1274 +AT+NWKSKEY=71cb7672441f573a53d4f34d307fc61d  ( no need for OTAA)
1275 +
1276 +AT+APPSKEY=dacce2299ecd97a73ee3f80b5a46a559   ( no need for OTAA)
1277 +
1278 +
1279 +
1280 +==== 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 ====
1281 +
1282 +
1283 +[[image:image-20221122100004-4.png]]
1284 +
1285 +
1286 +== 8.4  When positioning, it will restart or the PDOP setting is unsuccessful ==
1287 +
1288 +
1289 +Please download version 1.4.2 again
1290 +
1291 +
1292 +== 8.5  How to deal with unsuccessful GPS positioning? ==
1293 +
1294 +
1295 +1) Make Sure the device is in Open Area where can see the sky.
1296 +
1297 +2)  Set PDOP to a higher value.
1298 +
1299 +* (% style="color:blue" %)**AT+PDOP=2 **(%%)(can be positioned precisely.)
1300 +
1301 +* (% style="color:blue" %)**AT+PDOP=7 **(%%)(Quickly locate in open spaces)
1302 +
1303 +* (% style="color:blue" %)**AT+PDOP=14.7** (%%)(Positioning can be acquired in complex environments)
1304 +
1305 +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
1306 +
1307 +
1308 += 9.  Order Info =
1309 +
1310 +
1179 1179  Part Number: (% style="color:blue" %)**TrackerD-XXX**
1180 1180  
1181 1181  (% style="color:blue" %)**XXX**(%%): The default frequency band
1182 1182  
1183 1183  * (% style="color:red" %)**EU433**(%%): Default frequency band EU433
1316 +
1184 1184  * (% style="color:red" %)**EU868**(%%): Default frequency band EU868
1318 +
1185 1185  * (% style="color:red" %)**IN865**(%%): Default frequency band IN865
1320 +
1186 1186  * (% style="color:red" %)**KR920**(%%): Default frequency band KR920
1322 +
1187 1187  * (% style="color:red" %)**AS923**(%%): Default frequency band AS923
1324 +
1188 1188  * (% style="color:red" %)**AU915**(%%): Default frequency band AU915
1326 +
1189 1189  * (% style="color:red" %)**US915**(%%): Default frequency band US915
1190 1190  
1191 -= 9.  Packing Info =
1192 1192  
1330 += 10.  Packing Info =
1193 1193  
1332 +
1194 1194  (% style="color:#037691" %)**Package Includes**:
1195 1195  
1196 1196  * TrackerD LoRaWAN GPS/BLE Tracker x 1
1336 +
1197 1197  * USB recharge & program cable x 1
1198 1198  
1199 1199  (% style="color:#037691" %)**Dimensions and Weight**:
1200 1200  
1201 1201  * Device Size: 85 x 48 x 15 mm
1342 +
1202 1202  * Weight: 50g
1203 1203  
1204 -= 10. Support =
1205 1205  
1346 += 11. Support =
1206 1206  
1348 +
1207 1207  * 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.
1350 +
1208 1208  * 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]].
1209 1209  
1210 -= 11.  Reference =
1211 1211  
1354 += 12.  Reference =
1212 1212  
1356 +
1213 1213  * [[**Firmware in Bin format**>>https://www.dropbox.com/sh/733s8xlwahhqg1d/AABxDz80lBVX_to8zNuUQWFja?dl=0]]
1358 +
1214 1214  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1360 +
1215 1215  * [[**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