Last modified by Xiaoling on 2025/04/27 16:48

From version 84.19
edited by Xiaoling
on 2022/10/26 09:26
Change comment: There is no comment for this version
To version 105.2
edited by Xiaoling
on 2022/11/04 17:42
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -127,7 +127,7 @@
127 127  
128 128  
129 129  
130 -= 2.1 Use TrackerD =
130 += 2.  Use TrackerD =
131 131  
132 132  
133 133  == 2.1 How it works? ==
... ... @@ -195,9 +195,9 @@
195 195  
196 196  Users can set TrackerD to different Positioning Mode for different applications. Below mod are supported.
197 197  
198 -* (% style="color:#037691" %)**GPS ONLY(Factory Settings):    **(%%)only get and uplink GPS location info.
199 -* (% style="color:#037691" %)**BLE ONLY:              **(%%)Only obtain iBeacon info via BLE and uplink. Design for Indoor tracking.
200 -* (% style="color:#037691" %)**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.
198 +* (% style="color:#037691" %)**GPS ONLY(Factory Settings):    **(%%)Only get and uplink GPS location info.
199 +* (% style="color:#037691" %)**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.
200 +* (% style="color:#037691" %)**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.
201 201  
202 202  Users can switch modes by [[changing SMOD>>||anchor="H3.2.7SetPositioningMode"]].
203 203  
... ... @@ -285,7 +285,9 @@
285 285  
286 286  (% style="color:red" %)** 1: ** (%%) BLE Positioning with Strongest iBeacon
287 287  
288 +(% style="color:red" %)** 2:**  (%%)WiFi Positioning with Strongest WiFi SSID(% style="color:blue" %)(V1.4.1 Version support this function later)(%%)  
288 288  
290 +
289 289  (% style="color:#037691" %)**Status Field (total 1 byte)**(%%):  0x02
290 290  
291 291  (% border="1.5" style="background-color:#ffffcc; color:green; width:260px" %)
... ... @@ -321,8 +321,6 @@
321 321  |=(% scope="row" style="width: 50px;" %)**Size(bit)**|(% style="width:50px" %)1 bit|(% style="width:80px" %)1bit|(% style="width:50px" %)14bits
322 322  |=(% style="width: 72px;" %)**Value**|(% style="width:67px" %)reserve|(% style="width:118px" %)Alarm Indicate|(% style="width:63px" %)[[BAT>>||anchor="HBAT:"]] 
323 323  
324 -
325 -
326 326  ==== (% style="color:blue" %)**FLAG:**(%%) ====
327 327  
328 328  (% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:120px" %)
... ... @@ -337,8 +337,6 @@
337 337  * Latitude: 02863D68  ⇒  //if (0x//02863D68//& 0x80000000 = 0 )~://  //value = 02863D68 /1000000 = 42.351976//
338 338  * Longitude: FAC29BAF  ⇒ //if (0x//FAC29BAF// & 0x80000000 = 1 )~://  //value = (0x//FAC29BAF// – 0x 100000000)/1000000 =//-87.9094//57//
339 339  
340 -
341 -
342 342  (% style="color:red" %)**Important note:**
343 343  
344 344  1.  When power is low (<2.84v), GPS won't be able to get location info and GPS feature will be disabled and the location field will be filled with 0x0FFFFFFF, 0x0FFFFFFF.
... ... @@ -445,7 +445,7 @@
445 445  (% style="color:red" %)**Note for this mode:**
446 446  
447 447  * a) TrackerD will do an ACK check for data records sending to make sure every data arrive server.
448 -* 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.
446 +* 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.
449 449  * 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
450 450  
451 451  The payload is 15 bytes, as below.
... ... @@ -497,11 +497,35 @@
497 497  
498 498  
499 499  
500 -=== 2.4.6  Add Payload format in TTN V3 ===
498 +=== 2.4.6  Uplink FPORT~=8, WiFi Positioning with Strongest WiFi SSID ===
501 501  
502 502  
503 -In TTN V3, use can add a custom payload so it shows friendly.
501 +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.
504 504  
503 +
504 +(% border="1.2" cellspacing="3" style="background-color:#ffffcc; color:green; width:371.222px" %)
505 +|=(% scope="row" style="width: 60px;" %)(((
506 +**Size(bytes)**
507 +)))|(% style="width:60px" %)6|(% style="width:60px" %)4|(% style="width:79px" %)2|(% style="width:66px" %)1
508 +|=(% style="width: 69px;" %)**Value**|(% style="width:76px" %)SSID|(% style="width:87px" %)RSSI|(% style="width:79px" %)(((
509 +[[Alarm & BAT>>||anchor="HAlarm26BAT:"]]
510 +)))|(% style="width:66px" %)[[FLAG>>||anchor="HFLAG:"]]
511 +
512 +(% class="wikigeneratedid" %)
513 +[[image:1667288597595-714.png||height="212" width="1151"]]
514 +
515 +
516 +* (% style="color:#037691" %)**BAT: ** (%%) Ex1:0x4B45 & 0x3FFF ⇒ 3901 (mV).
517 +* (% style="color:#037691" %)**SSID:      **(%%)WiFi name.
518 +* (% style="color:#037691" %)**RSSI:      **(%%)The RSSI from the strongest WiFi.
519 +
520 +
521 +
522 +=== 2.4.7  Add Payload format in TTN V3 ===
523 +
524 +
525 +In TTN V3, user can add a custom payload so it shows friendly.
526 +
505 505  In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**
506 506  
507 507  
... ... @@ -794,9 +794,9 @@
794 794  
795 795  (% style="color:#037691" %)** aa:**
796 796  
797 -* (% style="color:red" %)**1: GPS ONLY(Factory Settings):    **(%%)only get and uplink GPS location info.
798 -* (% style="color:red" %)**2: BLE ONLY:              **(%%)Only obtain iBeacon info via BLE and uplink. Design for Indoor tracking.
799 -* (% 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.
819 +* (% style="color:red" %)**1: GPS ONLY(Factory Settings):    **(%%)Only get and uplink GPS location info.
820 +* (% 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.
821 +* (% 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.
800 800  
801 801  (% style="color:#037691" %)**bb:**
802 802  
... ... @@ -806,6 +806,7 @@
806 806  (% style="color:#037691" %)**cc:   **
807 807  
808 808  * (% style="color:red" %)**1 : **(%%) (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State  
831 +* (% style="color:red" %)**2 : **(%%) (WiFi)SSID+Rssi+BAT+State ((% style="color:#037691" %)V1.4.1 Version support this function later(%%))  
809 809  
810 810  (% style="color:blue" %)**Example:**
811 811  
... ... @@ -812,6 +812,7 @@
812 812   AT+ SMOD =1,0,0 ~-~->  GPS+ BAT+ State+Tem&Hum
813 813   AT+ SMOD =1,1,0 ~-~->  GPS +BAT State
814 814   AT+ SMOD =2,0,1 ~-~->  (iBeacon)UUID+ Major + Minor+Power+Rssi+BAT+State
838 + AT+ SMOD =2,0,2 ~-~->  (WiFi)SSID+Rssi+BAT+State
815 815  
816 816  
817 817  * (% style="color:blue" %)**Downlink Payload (prefix 0xA5):**
... ... @@ -882,7 +882,7 @@
882 882  
883 883  * (% style="color:blue" %)**Downlink Payload (prefix 0x05):**
884 884  
885 -(% style="color:#037691" %)**0x05 01 **(%%) ~/~/  Same as AT+ SMOD =1
909 +(% style="color:#037691" %)**0x05 01 **(%%) ~/~/  Same as AT+ CFM =1
886 886  
887 887  
888 888  
... ... @@ -911,7 +911,7 @@
911 911  === 3.2.11  Set BLEMASK to filter BLE iBeacon ===
912 912  
913 913  
914 -BLEMASK is to filter the unwanted BLE iBeacons during scan. For example, if BLEMASK is 123456. LBT1 will only uplink UUID info which includes 123456. It will ignore all other iBeacons which doesn’t contact 123456 in the UUID.
938 +BLEMASK is to filter the unwanted BLE iBeacons during scan. For example, if BLEMASK is 123456. TrackerD will only uplink UUID info which includes 123456. It will ignore all other iBeacons which doesn’t contact 123456 in the UUID.
915 915  
916 916  (% style="color:red" %)**Note: BLEMASK range is 6 ~~ 10 bytes. If AT+BLEMASK < 6 bytes, BLEMASK will be disabled.**
917 917  
... ... @@ -921,13 +921,57 @@
921 921  
922 922   (% style="color:#037691" %)**AT+BLEMASK=0**  (%%) ~/~/ disable BLEMASK
923 923  
948 +(% style="color:blue" %)**Downlink Payload: (Prefix : 0xB2)(Since firmware 1.4.1)**
924 924  
925 -(% style="color:blue" %)**Downlink Payload: (Prefix : 0xA5)**
950 +Example: 0xB2010203040506    ~/~/ Set BLEMASK to 123456
926 926  
927 -Example: 0xA5010203040506    ~/~/ Set BLEMASK to 123456
928 928  
929 929  
954 +=== 3.2.12  Set WiFIMASK to filter WiFi SSID ===
930 930  
956 +
957 +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.
958 +
959 +(% style="color:red" %)**Note: WiFiMASK range is 6 ~~ 10 bytes. If AT+ WiFiMASK < 6 bytes, WiFiMASK will be disabled.**
960 +
961 +(% style="color:blue" %)**AT Command:**
962 +
963 + (% style="color:#037691" %)**AT+ WiFiMASK =123456**    (%%) ~/~/ Set WiFiMASK = 123456
964 +
965 + (% style="color:#037691" %)**AT+ WiFiMASK =0**       (%%) ~/~/ disable WiFiMASK
966 +
967 +(% style="color:blue" %)**Downlink Payload: (Prefix : 0xB3)(Since firmware 1.4.1)**
968 +
969 +Example: 0xB3010203040506    ~/~/ Set WiFiMASK to 123456
970 +
971 +
972 +
973 +=== 3.2.13 Disable/Enable Information printing(Since firmware 1.4.1) ===
974 +
975 +
976 +Users can use this feature to enable/disable Information printing.
977 +
978 +(% style="color:blue" %)**AT Command:**
979 +
980 +(% style="color:#037691" %)**AT+ SHOWID=XX         **(%%) ~/~/(Disable (0), Enable (1), default:0)
981 +\\Example: AT+ SHOWID =1 ~-~-> Enable Information printing.
982 +
983 +
984 +
985 +=== 3.2.14 Get or Set Eight Channels Mode, only for us915, AU915(Since firmware 1.4.1) ===
986 +
987 +
988 +The Channels Mode in the LORAWAN LMIC library is from 0 ~~ 7. When CHE = 8, 72 channels will be accessible to the network.
989 +
990 +(% style="color:blue" %)**AT Command:**
991 +
992 +(% style="color:#037691" %)**AT+ CHE=1**(%%) ~/~/ set one channels mode,
993 +
994 +(% style="color:blue" %)**Downlink Payload:0X24**(%%)
995 +Example: 0x24 01 ~/~/ Same as AT+ CHE= = 1
996 +
997 +
998 +
931 931  = 4. Setting for Different Scenarios =
932 932  
933 933  
... ... @@ -1086,6 +1086,60 @@
1086 1086  
1087 1087  
1088 1088  
1157 +== 7.3 Notes on using different serial port tools for TrackerD ==
1158 +
1159 +
1160 +=== **Serial port utility** ===
1161 +
1162 +
1163 +Serial port utility requires you to automatically add data streams.
1164 +
1165 +Need to adjust the data stream to RTS/CTS on physical restart.
1166 +
1167 +
1168 +(% class="wikigeneratedid" %)
1169 +[[image:image-20221102140621-1.png]]
1170 +
1171 +
1172 +When using AT commands, the data flow needs to be adjusted to XON/XOFF
1173 +
1174 +
1175 +[[image:image-20221102140638-2.png]]
1176 +
1177 +
1178 +
1179 +=== **SecureCRT** ===
1180 +
1181 +
1182 +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.
1183 +
1184 +
1185 +[[image:image-20221102140704-3.png]]
1186 +
1187 +
1188 +[[image:image-20221102140712-4.png]]
1189 +
1190 +
1191 +
1192 +=== **PUTTY** ===
1193 +
1194 +
1195 +[[image:image-20221102140748-5.png]]
1196 +
1197 +
1198 +Since putty does not have a command window, you need to fill in the complete command externally, and then copy it to putty.The information copied outside can be pasted by right-clicking the mouse in putty.
1199 +
1200 +
1201 +[[image:image-20221102140801-6.png]]
1202 +
1203 +
1204 +== 7.4 TrackerD trouble shooting ==
1205 +
1206 +
1207 +V1.4.0: When the motion mode is turned on, the TDC needs to be greater than MTDC, otherwise TDC time will be confused
1208 +
1209 +
1210 +
1089 1089  = 8.  Order Info =
1090 1090  
1091 1091  
... ... @@ -1113,7 +1113,7 @@
1113 1113  
1114 1114  (% style="color:#037691" %)**Dimensions and Weight**:
1115 1115  
1116 -* Device Size: 85 x 48 x 15 cm
1238 +* Device Size: 85 x 48 x 15 mm
1117 1117  * Weight: 50g
1118 1118  
1119 1119  
... ... @@ -1133,4 +1133,6 @@
1133 1133  * **[[Source Code>>https://github.com/dragino/TrackerD]] **
1134 1134  * [[**Hardware Source**>>https://www.dropbox.com/sh/orwoy6cecb89m4e/AAD37sRuUrvKsHgAJxuVTkB5a?dl=0]]
1135 1135  
1258 +
1259 +
1136 1136  
1667288597595-714.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +27.9 KB
Content
image-20221102140621-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +46.1 KB
Content
image-20221102140638-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +40.8 KB
Content
image-20221102140704-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +15.5 KB
Content
image-20221102140712-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +73.2 KB
Content
image-20221102140748-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +56.0 KB
Content
image-20221102140801-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +21.0 KB
Content