Last modified by Bei Jinggeng on 2025/08/01 17:45

From version 237.1
edited by Edwin Chen
on 2025/02/02 15:42
Change comment: There is no comment for this version
To version 228.1
edited by kai
on 2024/07/23 17:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.kai
Content
... ... @@ -395,19 +395,17 @@
395 395  
396 396  ==== (% style="color:blue" %)**Hum:**(%%) ====
397 397  
398 -023  value = 0x0230  / 10 = 560 ⇒ 56%
398 +0202 = //if (0x0202 & 0x8000 = 0 ):  value =// 0x0202 / 100 = +514 ⇒ 51.4 degree
399 399  
400 400  
401 401  ==== (% style="color:blue" %)**Tem:**(%%) ====
402 402  
403 -0202 = if (0x0202 & 0x8000 = 0 ):  value = 0x0202 / 100 = +5145.14 degree
403 +011A =if (0x011A & 0x8000 = 1 ):  value =( 0x011A - 0x10000)/10(dec)-//28.2 degree//
404 404  
405 -011A =if (0xF11A & 0x8000 = 1 ):  value =( 0xF11A - 0x10000)/100(dec) ⇒ -38.14 degree
406 406  
406 +=== 2.4.3  Uplink FPORT~=3, Realtime GNSS Positioning (Default Mode) ===
407 407  
408 -=== 2.4.3  Uplink FPORT~=3, Realti me GNSS Positioning (Default Mode) ===
409 409  
410 -
411 411  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)
412 412  
413 413  
... ... @@ -451,14 +451,12 @@
451 451  
452 452  
453 453  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:450px" %)
454 -|(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:30px" %)**16**|(% style="background-color:#4f81bd; color:white; width:50px" %)**2**|(% style="background-color:#4f81bd; color:white; width:50px" %)**2**|(% style="background-color:#4f81bd; color:white; width:120px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**2**|(% style="background-color:#4f81bd; color:white; width:30px" %)**1**|(% style="background-color:#4f81bd; color:white; width:30px" %)**1**|(% style="background-color:#4f81bd; color:white; width:30px" %)**1**
452 +|(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:30px" %)**16**|(% style="background-color:#4f81bd; color:white; width:50px" %)**2**|(% style="background-color:#4f81bd; color:white; width:50px" %)**2**|(% style="background-color:#4f81bd; color:white; width:120px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**2**|(% style="background-color:#4f81bd; color:white; width:30px" %)**1**
455 455  |(% style="width:50px" %)Value|(% style="width:44px" %)[[UUID>>||anchor="HLocationinfo:"]]|(% style="width:61px" %)(((
456 456  iBeacon MAJOR
457 457  )))|(% style="width:63px" %)(((
458 458  iBeacon MINOR
459 459  )))|(% style="width:71px" %)(((
460 -senseless
461 -)))|(% style="width:50px" %)RSSI of the device within 1m|(% style="width:50px" %)(((
462 462  iBeacon Measured Power
463 463  )))|(% style="width:50px" %)(((
464 464  iBeacon RSSI
... ... @@ -476,7 +476,6 @@
476 476  * (% style="color:#037691" %)**MINOR:**  (%%)The MINOR from the strongest iBeacon.
477 477  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
478 478  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
479 -* (% style="color:#037691" %)**RSSI_1M:** (%%) RSSI of the device within 1m.
480 480  
481 481  (% style="display:none" %) (%%)
482 482  
... ... @@ -527,7 +527,7 @@
527 527  
528 528  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.
529 529  
530 -User can set [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**BLEMASK**>>path:#H3.2.11A0SetBLEMASKtofilterBLEiBeacon]](%%) so TrackerD will only search the iBeacons which have UUID that match the BLEMASK settings.
525 +User can set [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**BLEMASK**>>path:#H3.2.11A0SetBLEMASKtofilterBLEiBeacon]](%%) so TrackerD will only search the iBeacons which have UUID that match the BLEMASK settings.
531 531  
532 532  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:348px" %)
533 533  |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**...**
... ... @@ -822,7 +822,7 @@
822 822  
823 823  * (% style="color:blue" %)**Downlink Payload (prefix 0x03):**
824 824  
825 -(% style="color:#037691" %)**0x03 00 01 2C**  (%%) ~/~/  Same as AT+MTDC=300000
820 +(% style="color:#037691" %)**0x03 00 01 2C**  (%%) ~/~/  Same as AT+MTDC=3000000
826 826  
827 827  
828 828  === 3.2.4 Exit Alarm ===
... ... @@ -1162,7 +1162,7 @@
1162 1162  === (% data-sider-select-id="358d0797-d8c7-4a5d-b51f-fd0c537f26e4" %)3.2.21 Set long press time(Since firmware 1.4.6)(%%) ===
1163 1163  
1164 1164  
1165 -When using the red button Changan to alarm, press and hold the time to set 0~~10 seconds(The default value is 5 seconds), which is convenient for use scenarios.
1160 +When using the red button Changan to alarm, press and hold the time to set 0~~10 seconds, which is convenient for use scenarios.
1166 1166  
1167 1167  (% data-sider-select-id="5e6cc597-e839-4a16-9d6b-776f523bcb8c" style="color:blue" %)**AT Command:**
1168 1168  
... ... @@ -1172,32 +1172,13 @@
1172 1172  
1173 1173  AT+EAT=2 ~-~-> Set the long press time to 2s
1174 1174  
1175 -(% style="color:blue" %)**Downlink Payload: 0XBA**
1170 +(% style="color:blue" %)**Downlink Payload:0XBA**
1176 1176  
1177 1177  0xBA 02 ~/~/ Same as AT+EAT=2
1173 +
1178 1178  
1179 -
1180 -
1181 -=== 3.2.22 Set the Bluetooth scan time(Since firmware 1.5.1) ===
1182 -
1183 -
1184 -Use this command to set the Bluetooth scan time. Default is 5s, value range: 1~~255.
1185 -
1186 -(% data-sider-select-id="5e6cc597-e839-4a16-9d6b-776f523bcb8c" style="color:blue" %)**AT Command:**
1187 -
1188 -(% style="color:#037691" %)**AT+BTDC=XX**
1189 -
1190 -Example:
1191 -
1192 -AT+BTDC=5 ~-~-> Set the Bluetooth scan time to 5s
1193 -
1194 -(% style="color:blue" %)**Downlink Payload:**
1195 -
1196 -No downlink
1197 -
1198 -
1199 1199  (% data-sider-select-id="8e1bc417-f7f8-49f0-b796-8460ff412d7c" %)
1200 -=== 3.2.23 Conversion of TrackerD and TrackerD-LS(Since firmware 1.4.9) ===
1176 +=== 3.2.22 Conversion of TrackerD and TrackerD-LS ===
1201 1201  
1202 1202  
1203 1203  They use the same source code and can be converted using the AT command below
... ... @@ -1784,94 +1784,3 @@
1784 1784  
1785 1785  
1786 1786  )))
1787 -
1788 -
1789 -
1790 -= 传感器 Payload 解码描述 =
1791 -
1792 -== Fport=5 的解码规则 ==
1793 -
1794 -以下是 Fport=5 的 Payload 解码规则:
1795 -
1796 -|= 字节位置 |= 字段名称 |= 描述 |= 示例值
1797 -| 1 | Sensor Model | 传感器型号,`0x13` 代表 TrackerD,否则显示原始值 | `0x13` → TrackerD
1798 -| 2-3 | Firmware Version | 固件版本,`0x0140` 代表 v1.4.0 | `0x0140` → v1.4.0
1799 -| 4 | Frequency Band | 频段,具体映射如下:|
1800 -| | | `0x01`: EU868 |
1801 -| | | `0x02`: US915 |
1802 -| | | `0x03`: IN865 |
1803 -| | | `0x04`: AU915 |
1804 -| | | `0x05`: KZ865 |
1805 -| | | `0x06`: RU864 |
1806 -| | | `0x07`: AS923 |
1807 -| | | `0x08`: AS923-1 |
1808 -| | | `0x09`: AS923-2 |
1809 -| | | `0x0a`: AS923-3 |
1810 -| 5 | Sub Band | 子频段,`0x00~0x08`(仅对 AU915/US915 有效),其他为 `0xFF` | `0xFF` → N/A
1811 -| 6-7 | Battery | 电池电压,单位 mV | `0x0FA2` → 4002 mV
1812 -| 8 | SMOD | BLE 设置、GPS 模式和定位模式:|
1813 -| | | 1~4 位:BLE 设置 |
1814 -| | | 5~6 位:GPS 模式 |
1815 -| | | 7~8 位:定位模式 |
1816 -| 9 | Status | 状态位:|
1817 -| | | 第 1 位:Transport Mode |
1818 -| | | 第 2 位:LON |
1819 -| | | 第 3 位:PNACKMD |
1820 -| | | 4~8 位:未定义 |
1821 -
1822 -== Fport=2 的解码规则 ==
1823 -
1824 -以下是 Fport=2 的 Payload 解码规则:
1825 -
1826 -|= 字节位置 |= 字段名称 |= 描述 |= 示例值
1827 -| 1-4 | Latitude | 纬度,单位:度 | `0x02863D68` → 42.351976
1828 -| 5-8 | Longitude | 经度,单位:度 | `0xFAC29BAF` → -87.909457
1829 -| 9-10 | Alarm & Battery | 报警和电池电压:|
1830 -| | | 第 7 位:Alarm |
1831 -| | | 第 1~6 位 + 第 10 字节:Battery(单位:mV) | `0x4B45` → Alarm=True, Battery=2885 mV
1832 -| 11 | Flag | 标志位:|
1833 -| | | 第 2~3 位:MOD |
1834 -| | | 第 1 位:LON |
1835 -| 12-13 | Humidity | 湿度,单位:% | `0x0230` → 56%
1836 -| 14-15 | Temperature | 温度,单位:°C | `0x0202` → 5.14°C, `0xF11A` → -38.14°C
1837 -
1838 -== 示例 Payload 解码 ==
1839 -
1840 -以下是示例 Payload 的解码结果:
1841 -
1842 -=== Fport=5 示例 ===
1843 -{{code}}
1844 -Payload: [0x13, 0x01, 0x40, 0x01, 0xFF, 0x0F, 0xA2, 0x12, 0x03]
1845 -解码结果:
1846 -{
1847 - "sensorModel": "TrackerD",
1848 - "firmwareVersion": "v1.4.0",
1849 - "frequencyBand": "EU868",
1850 - "subBand": "N/A",
1851 - "batteryVoltage": "4002 mV",
1852 - "bleSettings": "BLE Positioning with Strongest iBeacon",
1853 - "gpsMod": "GPS Only",
1854 - "positioningMod": "BLE",
1855 - "status": {
1856 - "transportMode": true,
1857 - "lon": true,
1858 - "pnackmd": false
1859 - }
1860 -}
1861 -{{/code}}
1862 -
1863 -=== Fport=2 示例 ===
1864 -{{code}}
1865 -Payload: [0x02, 0x86, 0x3D, 0x68, 0xFA, 0xC2, 0x9B, 0xAF, 0x4B, 0x45, 0x03, 0x02, 0x30, 0x02, 0x02]
1866 -解码结果:
1867 -{
1868 - "latitude": 42.351976,
1869 - "longitude": -87.909457,
1870 - "alarm": true,
1871 - "battery": "2885 mV",
1872 - "mod": 1,
1873 - "lon": true,
1874 - "humidity": "56 %",
1875 - "temperature": "5.14 °C"
1876 -}
1877 -{{/code}}