Uplink Data
Basic Information
The device will report a basic information packet whenever joining the network.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Power On | ff | 0b | 1 | Device is on |
| Protocol Version | ff | 01 | 1 | Example: 01=V1 |
| Serial Number | ff | 16 | 8 | 16 digits |
| Hardware Version | ff | 09 | 2 | Example: 03 10 = V3.1 |
| Firmware Version | ff | 0a | 2 | 01 14 => V1.14 |
| Device Type | ff | 0f | 1 |
00: Class A, 01: Class B, 02: Class C, 03: Class C to B |
| Power Supply | ff | cc | 1 | 00: Battery supply, 01: Type-C supply |
- Example:
-
ff0bff ff0101 ff166791d19604050005 ff090100 ff0a0101 ff0f00 ffcc01 Channel Type Value ff 0b Power On: ff ff 01 Protocol Version: 01(V1) ff 16 SN: 6791d19604050005 ff 09 Hardware Version: 0100 (V1.0) ff 0a Firmware Version: 0101(V1.1) ff 0f Device Type: 00(Class A) ff cc Power Supply: 01 (Type-C supply)
Periodic Report
The device supports the sensor data according to reporting interval.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Battery Level | 01 | 75 | 1 | UINT8, Unit: %, [1-100] |
| Temperature | 03 | 67 | 2 | INT16*0.1, Unit: °C |
| Accumulated Counter | 04 | cc | 4 | Byte 1-2: Accumulated In Byte 3-4: Accumulated Out |
| Periodic Counter | 05 | cc | 4 | Byte 1-2: In Counter during the report interval Byte 3-4: Out Counter during the report interval |
- Examples:
- Periodic packet: report as reporting interval (10 minutes by default).
04cc20001700 03671a01 05cc01000000 017562 Channel Type Value 04 cc Accumulated In: 0c 00=> 00 0c=12 Accumulated Out: 07 00=>00 07=7
03 67 Temperature: 1a01 => 011a =>282*0.1 =28.2°C 05 cc In Counter during the report interval: 01 00=> 00 01=1 Out Counter during the report interval: 00 00=0
01 75 Battery Level: 62=>98%
Alarm Report
The device supports to report below types of alarm report packets.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Temperature Alarm | 83 | 67 | 4 | Byte 1-2: Temperature, INT16*0.1, Unit: °C Byte 3: Alarm type
|
| Accumulated Counter Alarm | 84 | cc | 5 | Byte 1-2: Accumulated In Byte 3-4: Accumulated Out Byte 5: 01 |
| Periodic Counter Alarm | 85 | cc | 5 | Byte 1-2: Periodic In Counter Byte 3-4: Periodic Out Counter Byte 5: 01 |
- Example:
-
- People alarm packet: report when the counting value reaches the threshold.
84 cc 0200000001 Channel Type Value 84 cc Accumulated in: 0200=>0002=2 Accumulated out: 0000=0
01= Threshold Alarm
- Temperature alarm packet: report when the temperature reaches the threshold or is
above 30°C.
8367 0e0101 Channel Type Value 83 67 Temperature threshold: 0e 01 =>01 0e = 270 *0.1 = 27 °C 01= Threshold Alarm
- People alarm packet: report when the counting value reaches the threshold.
Historical Data
The device will report retransmission data or stored data as below example.
| Channel | Type | Byte | Description |
|---|---|---|---|
| 20 | ce | 9/13 | Byte 1-4: Unix Timestamp, Unit: s Byte 5: Byte 6-7: Periodic In Counter
Byte 8-9: Periodic Out Counter Byte 10-11: Accumulated In Counter Byte 12-13: Accumulated Out Counter |
- Example:
-
20ce 4a7c5b63 01 0700 0300 4a00 3800 Channel Type Time Stamp Value 20 ce 4a7c5b63=> 63 5b 7c 4a=1666939978 s 01=Periodic Counter + Accumulated Counter Period In: 0700=>0007=7
Period Out: 0300=>0003=3
Accumulated In: 4a00=>004a=74
Accumulated Out: 3800=>0038=56