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 238.1
edited by Edwin Chen
on 2025/02/02 15:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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.
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 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" %)**...**
... ... @@ -1786,17 +1786,20 @@
1786 1786  )))
1787 1787  
1788 1788  
1789 += Sensor Payload Decoding Description =
1789 1789  
1790 -= 传感器 Payload 解码描述 =
1791 +== Device Overview ==
1791 1791  
1792 -== Fport=5 的解码规则 ==
1793 +{{figure reference="device.png" alt="Device Image" caption="TrackerD Sensor Device" width="300" /}}
1793 1793  
1794 -以下是 Fport=5 的 Payload 解码规则:
1795 +== Decoding Rules for Fport=5 ==
1795 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 | 频段,具体映射如下:|
1797 +The following table describes the decoding rules for Fport=5:
1798 +
1799 +|= Byte Position |= Field Name |= Description |= Example Value
1800 +| 1 | Sensor Model | Sensor model, `0x13` represents TrackerD, otherwise display raw value | `0x13` → TrackerD
1801 +| 2-3 | Firmware Version | Firmware version, `0x0140` represents v1.4.0 | `0x0140` → v1.4.0
1802 +| 4 | Frequency Band | Frequency band mapping: |
1800 1800  | | | `0x01`: EU868 |
1801 1801  | | | `0x02`: US915 |
1802 1802  | | | `0x03`: IN865 |
... ... @@ -1807,42 +1807,42 @@
1807 1807  | | | `0x08`: AS923-1 |
1808 1808  | | | `0x09`: AS923-2 |
1809 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 位:未定义 |
1813 +| 5 | Sub Band | Sub band, `0x00~0x08` (only for AU915/US915), others are `0xFF` | `0xFF` → N/A
1814 +| 6-7 | Battery | Battery voltage in mV | `0x0FA2` → 4002 mV
1815 +| 8 | SMOD | BLE settings, GPS mode, and positioning mode: |
1816 +| | | Bits 1-4: BLE settings |
1817 +| | | Bits 5-6: GPS mode |
1818 +| | | Bits 7-8: Positioning mode |
1819 +| 9 | Status | Status bits: |
1820 +| | | Bit 1: Transport Mode |
1821 +| | | Bit 2: LON |
1822 +| | | Bit 3: PNACKMD |
1823 +| | | Bits 4-8: Reserved |
1821 1821  
1822 -== Fport=2 的解码规则 ==
1825 +== Decoding Rules for Fport=2 ==
1823 1823  
1824 -以下是 Fport=2 Payload 解码规则:
1827 +The following table describes the decoding rules for Fport=2:
1825 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
1829 +|= Byte Position |= Field Name |= Description |= Example Value
1830 +| 1-4 | Latitude | Latitude in degrees | `0x02863D68` → 42.351976
1831 +| 5-8 | Longitude | Longitude in degrees | `0xFAC29BAF` → -87.909457
1832 +| 9-10 | Alarm & Battery | Alarm and battery voltage: |
1833 +| | | Bit 7: Alarm |
1834 +| | | Bits 1-6 + Byte 10: Battery (in mV) | `0x4B45` → Alarm=True, Battery=2885 mV
1835 +| 11 | Flag | Flag bits: |
1836 +| | | Bits 2-3: MOD |
1837 +| | | Bit 1: LON |
1838 +| 12-13 | Humidity | Humidity in % | `0x0230` → 56%
1839 +| 14-15 | Temperature | Temperature in °C | `0x0202` → 5.14°C, `0xF11A` → -38.14°C
1837 1837  
1838 -== 示例 Payload 解码 ==
1841 +== Example Payload Decoding ==
1839 1839  
1840 -以下是示例 Payload 的解码结果:
1843 +Below are examples of decoded payloads:
1841 1841  
1842 -=== Fport=5 示例 ===
1845 +=== Example for Fport=5 ===
1843 1843  {{code}}
1844 1844  Payload: [0x13, 0x01, 0x40, 0x01, 0xFF, 0x0F, 0xA2, 0x12, 0x03]
1845 -解码结果:
1848 +Decoded Result:
1846 1846  {
1847 1847   "sensorModel": "TrackerD",
1848 1848   "firmwareVersion": "v1.4.0",
... ... @@ -1860,10 +1860,10 @@
1860 1860  }
1861 1861  {{/code}}
1862 1862  
1863 -=== Fport=2 示例 ===
1866 +=== Example for Fport=2 ===
1864 1864  {{code}}
1865 1865  Payload: [0x02, 0x86, 0x3D, 0x68, 0xFA, 0xC2, 0x9B, 0xAF, 0x4B, 0x45, 0x03, 0x02, 0x30, 0x02, 0x02]
1866 -解码结果:
1869 +Decoded Result:
1867 1867  {
1868 1868   "latitude": 42.351976,
1869 1869   "longitude": -87.909457,
... ... @@ -1875,3 +1875,21 @@
1875 1875   "temperature": "5.14 °C"
1876 1876  }
1877 1877  {{/code}}
1881 +
1882 +== Horizontal Byte Layout ==
1883 +
1884 +Below is the horizontal byte layout for better visualization:
1885 +
1886 +=== Fport=5 Byte Layout ===
1887 +{{code}}
1888 +| Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 | Byte 8 | Byte 9 |
1889 +|--------|--------|--------|--------|--------|--------|--------|--------|--------|
1890 +| Model | Firmware Version | Frequency Band | Sub Band | Battery Voltage | SMOD | Status |
1891 +{{/code}}
1892 +
1893 +=== Fport=2 Byte Layout ===
1894 +{{code}}
1895 +| Byte 1-4 | Byte 5-8 | Byte 9-10 | Byte 11 | Byte 12-13 | Byte 14-15 |
1896 +|----------|----------|-----------|---------|------------|------------|
1897 +| Latitude | Longitude | Alarm & Battery | Flag | Humidity | Temperature |
1898 +{{/code}}