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

From version 233.1
edited by Bei Jinggeng
on 2024/09/19 09:29
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
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Edwin
Content
... ... @@ -395,17 +395,19 @@
395 395  
396 396  ==== (% style="color:blue" %)**Hum:**(%%) ====
397 397  
398 -0202 = //if (0x0202 & 0x8000 = 0 ):  value =// 0x0202 / 100 = +514 ⇒ 51.4 degree
398 +023  value = 0x0230  / 10 = 560 ⇒ 56%
399 399  
400 400  
401 401  ==== (% style="color:blue" %)**Tem:**(%%) ====
402 402  
403 -011A =if (0x011A & 0x8000 = 1 ):  value =( 0x011A - 0x10000)/10(dec)-//28.2 degree//
403 +0202 = if (0x0202 & 0x8000 = 0 ):  value = 0x0202 / 100 = +5145.14 degree
404 404  
405 +011A =if (0xF11A & 0x8000 = 1 ):  value =( 0xF11A - 0x10000)/100(dec) ⇒ -38.14 degree
405 405  
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) ===
408 408  
410 +
409 409  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)
410 410  
411 411  
... ... @@ -449,12 +449,14 @@
449 449  
450 450  
451 451  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:450px" %)
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**
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**
453 453  |(% style="width:50px" %)Value|(% style="width:44px" %)[[UUID>>||anchor="HLocationinfo:"]]|(% style="width:61px" %)(((
454 454  iBeacon MAJOR
455 455  )))|(% style="width:63px" %)(((
456 456  iBeacon MINOR
457 457  )))|(% style="width:71px" %)(((
460 +senseless
461 +)))|(% style="width:50px" %)RSSI of the device within 1m|(% style="width:50px" %)(((
458 458  iBeacon Measured Power
459 459  )))|(% style="width:50px" %)(((
460 460  iBeacon RSSI
... ... @@ -472,6 +472,7 @@
472 472  * (% style="color:#037691" %)**MINOR:**  (%%)The MINOR from the strongest iBeacon.
473 473  * (% style="color:#037691" %)**Measured Power: ** (%%) The Measured Power from the strongest iBeacon.
474 474  * (% style="color:#037691" %)**RSSI:  ** (%%) The RSSI from the strongest iBeacon.
479 +* (% style="color:#037691" %)**RSSI_1M:** (%%) RSSI of the device within 1m.
475 475  
476 476  (% style="display:none" %) (%%)
477 477  
... ... @@ -522,7 +522,7 @@
522 522  
523 523  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.
524 524  
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 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.
526 526  
527 527  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:348px" %)
528 528  |(% 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" %)**...**
... ... @@ -1157,7 +1157,7 @@
1157 1157  === (% data-sider-select-id="358d0797-d8c7-4a5d-b51f-fd0c537f26e4" %)3.2.21 Set long press time(Since firmware 1.4.6)(%%) ===
1158 1158  
1159 1159  
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.
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.
1161 1161  
1162 1162  (% data-sider-select-id="5e6cc597-e839-4a16-9d6b-776f523bcb8c" style="color:blue" %)**AT Command:**
1163 1163  
... ... @@ -1779,3 +1779,115 @@
1779 1779  
1780 1780  
1781 1781  )))
1787 +
1788 +
1789 += Sensor Payload Decoding Description =
1790 +
1791 +== Device Overview ==
1792 +
1793 +{{figure reference="device.png" alt="Device Image" caption="TrackerD Sensor Device" width="300" /}}
1794 +
1795 +== Decoding Rules for Fport=5 ==
1796 +
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: |
1803 +| | | `0x01`: EU868 |
1804 +| | | `0x02`: US915 |
1805 +| | | `0x03`: IN865 |
1806 +| | | `0x04`: AU915 |
1807 +| | | `0x05`: KZ865 |
1808 +| | | `0x06`: RU864 |
1809 +| | | `0x07`: AS923 |
1810 +| | | `0x08`: AS923-1 |
1811 +| | | `0x09`: AS923-2 |
1812 +| | | `0x0a`: AS923-3 |
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 |
1824 +
1825 +== Decoding Rules for Fport=2 ==
1826 +
1827 +The following table describes the decoding rules for Fport=2:
1828 +
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
1840 +
1841 +== Example Payload Decoding ==
1842 +
1843 +Below are examples of decoded payloads:
1844 +
1845 +=== Example for Fport=5 ===
1846 +{{code}}
1847 +Payload: [0x13, 0x01, 0x40, 0x01, 0xFF, 0x0F, 0xA2, 0x12, 0x03]
1848 +Decoded Result:
1849 +{
1850 + "sensorModel": "TrackerD",
1851 + "firmwareVersion": "v1.4.0",
1852 + "frequencyBand": "EU868",
1853 + "subBand": "N/A",
1854 + "batteryVoltage": "4002 mV",
1855 + "bleSettings": "BLE Positioning with Strongest iBeacon",
1856 + "gpsMod": "GPS Only",
1857 + "positioningMod": "BLE",
1858 + "status": {
1859 + "transportMode": true,
1860 + "lon": true,
1861 + "pnackmd": false
1862 + }
1863 +}
1864 +{{/code}}
1865 +
1866 +=== Example for Fport=2 ===
1867 +{{code}}
1868 +Payload: [0x02, 0x86, 0x3D, 0x68, 0xFA, 0xC2, 0x9B, 0xAF, 0x4B, 0x45, 0x03, 0x02, 0x30, 0x02, 0x02]
1869 +Decoded Result:
1870 +{
1871 + "latitude": 42.351976,
1872 + "longitude": -87.909457,
1873 + "alarm": true,
1874 + "battery": "2885 mV",
1875 + "mod": 1,
1876 + "lon": true,
1877 + "humidity": "56 %",
1878 + "temperature": "5.14 °C"
1879 +}
1880 +{{/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}}