Uplink Data
The device reports basic information of sensor whenever joining the network and the number of people periodically.
Basic Information
The device will report a basic information packet whenever joining the network.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Protocol Version | ff | 01 | 1 | Example: 01=V1 |
| Hardware Version | ff | 09 | 2 | Example: 03 10 = V3.1 |
| Serial Number | ff | 16 | 8 | 16 digits |
| Software Version | ff | 1f | 4 | Example: 85 01 00 05 => 133.1.0.5 |
- Example:
-
ff0101 ff166600b09409760000 ff090102 ff1f85010001 Channel Type Value ff 01 01 (V1) ff 16 66 00 b0 94 09 76 00 00 ff 09 0102 (V1.2) ff 1f 85 01 00 01 (V135.1.0.1)
Periodic Report
The device supports to report below types of periodic report packets.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Accumulated counter | 03 | d2 | 4 | Line 1 accumulated in counter |
| 04 | d2 | 4 | Line 1 accumulated out counter | |
| 06 | d2 | 4 | Line 2 accumulated in counter | |
| 07 | d2 | 4 | Line 2 accumulated out counter | |
| 09 | d2 | 4 | Line 3 accumulated in counter | |
| 0a | d2 | 4 | Line 3 accumulated out counter | |
| 0c | d2 | 4 | Line 4 accumulated in counter | |
| 0d | d2 | 4 | Line 4 accumulated out counter | |
| Children accumulated counter | 11 | d2 | 4 | Line 1 accumulated in counter about children |
| 12 | d2 | 4 | Line 1 accumulated out counter about children | |
| 14 | d2 | 4 | Line 2 accumulated in counter about children | |
| 15 | d2 | 4 | Line 2 accumulated out counter about children | |
| 17 | d2 | 4 | Line 3 accumulated in counter about children | |
| 18 | d2 | 4 | Line 3 accumulated out counter about children | |
| 1a | d2 | 4 | Line 4 accumulated in counter about children | |
| 1b | d2 | 4 | Line 4 accumulated out counter about children | |
| Region Monitoring | 0f | e3 | 4 | Byte 1: number of people in region
1 Byte 2: number of people in region 2 Byte 3: number of people in region 3 Byte 4: number of people in region 4 |
| Children Region Monitoring | 1d | e3 | 4 | Byte 1: number of children in region
1 Byte 2: number of children in region 2 Byte 3: number of children in region 3 Byte 4: number of children in region 4 |
| Region Dwell Time | 10 | e4 | 5 | Byte 1: region ID Byte 2-3: avg. dwell time Byte 4-5: max. dwell time |
| Children Region Dwell Time | 1e | e4 | 5 | Byte 1: region ID Byte 2-3: avg. dwell time Byte 4-5: max. dwell time |
| Periodic counter | 05 | cc | 4 | Line 1: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval |
| 08 | cc | 4 | Line 2: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval |
|
| 0b | cc | 4 | Line 3: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval |
|
| 0e | cc | 4 | Line 4: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval |
|
| Children Periodic counter | 13 | cc | 4 | Line 1: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval |
| 16 | cc | 4 | Line 2: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval |
|
| 19 | cc | 4 | Line 3: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval |
|
| 1c | cc | 4 | Line 4: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval |
- If children distinction feature or staff detection feature is enabled, the counter uplinks will minus children and staff. For example, if children distinction is enabled, the accumulated in counter=total in counter-children in, the accumulated out counter=total out counter-children out.
- If group counting is enabled, the Accumulated counter and Periodic counter are replaced by the accumulated group counter and periodic group counter.
- Example:
-
- Period Report. (Disable Children Distinction)
03d205000000 04d203000000 11d245030000 12d2cb010000 06d249050000 07d246030000 14d246030000 15d2c9010000 09d200000000 0ad200000000 17d200000000 18d200000000 0cd200000000 0dd200000000 1ad200000000 1bd200000000 0fe300000000 1de300000000 10e4012a005a00 Channel Type Value 03 d2 Line 1 accumulated in counter: 05 00 00 00 => 00 00 00 05=5 04 d2 Line 1 accumulated out counter: 03 00 00 00 => 00 00 00 03=3 11 d2 Line 1 accumulated in counter about children: 45 03 00 00=>00 00 03 45=837 12 d2 Line 1 accumulated out counter about children: cb010000=>000001cb=459 06 d2 Line 2 accumulated in counter: 49 05 00 00=>00 00 05 49=1353 07 d2 Line 2 accumulated out counter: 46030000=>00000346=838 14 d2 Line 2 accumulated in counter about children: 46030000=>00000346=838 15 d2 Line 2 accumulated out counter about children: c9010000=>000001c9=457 09 d2 Line 3 accumulated in counter: 00000000=>0 0a d2 Line 3 accumulated out counter: 00000000=>0 17 d2 Line 3 accumulated in counter about children: 00000000=>0 18 d2 Line 3 accumulated out counter about children: 00000000=>0 0c d2 Line 4 accumulated in counter: 00000000=>0 0d d2 Line 4 accumulated out counter: 00000000=>0 1a d2 Line 4 accumulated in counter about children: 00000000=>0 1b d2 Line 4 accumulated out counter about children: 00000000=>0 0f e3 Region Monitoring: 00000000=>0 1d e3 Children Region Monitoring: 00000000=>0 10 e4 Region Monitoring: 00000000=>0 1e e4 Children Region Monitoring: 01=region 1
avg. dwell time: 2a00=>002a=42s
max. dwell time: 5a00=>005a =90s
- Period Report. (Enable Children Distinction)
13cc05000000 08cc03000000 16cc02000000 0bcc05000000 19cc03000000 0ecc04000000 1ccc05000000 Channel Type Value 13 cc 05 00 00 00 => 00 00 00 05=5 08 cc 03 00 00 00 => 00 00 00 03=3 16 cc 02 00 00 00 => 00 00 00 05=2 0b cc 05 00 00 00 => 00 00 00 05=5 19 cc 03 00 00 00 => 00 00 00 05=3 0e cc 04 00 00 00 => 00 00 00 05=4 1c cc 05 00 00 00 => 00 00 00 05=5 - Period Report. (Enable Group Counting)
03d201000000 04d202000000 11d245030000 12d2cb010000 06d249050000 07d246030000 14d246030000 15d2c9010000 09d200000000 0ad200000000 17d200000000 18d200000000 0cd200000000 0dd200000000 1ad200000000 1bd200000000 0fe300000000 1de300000000 10e4012a005a00 Channel Type Value 03 d2 Line 1 accumulated in group counter: 01 00 00 00 => 00 00 00 01=1 04 d2 Line 1 accumulated out group counter: 02 00 00 00 => 00 00 00 02=2 11 d2 Line 1 accumulated in counter about children: 45 03 00 00=>00 00 03 45=837 12 d2 Line 1 accumulated out counter about children: cb010000=>000001cb=459 06 d2 Line 2 accumulated in counter: 49 05 00 00=>00 00 05 49=1353 07 d2 Line 2 accumulated out counter: 46030000=>00000346=838 14 d2 Line 2 accumulated in counter about children: 46030000=>00000346=838 15 d2 Line 2 accumulated out counter about children: c9010000=>000001c9=457 09 d2 Line 3 accumulated in counter: 00000000=>0 0a d2 Line 3 accumulated out counter: 00000000=>0 17 d2 Line 3 accumulated in counter about children: 00000000=>0 18 d2 Line 3 accumulated out counter about children: 00000000=>0 0c d2 Line 4 accumulated in counter: 00000000=>0 0d d2 Line 4 accumulated out counter: 00000000=>0 1a d2 Line 4 accumulated in counter about children: 00000000=>0 1b d2 Line 4 accumulated out counter about children: 00000000=>0 0f e3 Region Monitoring: 00000000=>0 1d e3 Children Region Monitoring: 00000000=>0 10 e4 Region Monitoring: 00000000=>0 1e e4 Children Region Monitoring: 01=region 1
avg. dwell time: 2a00=>002a=42s
max. dwell time: 5a00=>005a =90s
- Period Report. (Disable Children Distinction)
Trigger Report
Report immediately when something changes.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Accumulated counter | 03 | d2 | 4 | Line 1 accumulated in counter |
| 04 | d2 | 4 | Line 1 accumulated out counter | |
| 06 | d2 | 4 | Line 2 accumulated in counter | |
| 07 | d2 | 4 | Line 2 accumulated out counter | |
| 09 | d2 | 4 | Line 3 accumulated in counter | |
| 0a | d2 | 4 | Line 3 accumulated out counter | |
| 0c | d2 | 4 | Line 4 accumulated in counter | |
| 0d | d2 | 4 | Line 4 accumulated out counter | |
| Children accumulated counter | 11 | d2 | 4 | Line 1 accumulated in counter about children |
| 12 | d2 | 4 | Line 1 accumulated out counter about children | |
| 14 | d2 | 4 | Line 2 accumulated in counter about children | |
| 15 | d2 | 4 | Line 2 accumulated out counter about children | |
| 17 | d2 | 4 | Line 3 accumulated in counter about children | |
| 18 | d2 | 4 | Line 3 accumulated out counter about children | |
| 1a | d2 | 4 | Line 4 accumulated in counter about children | |
| 1b | d2 | 4 | Line 4 accumulated out counter about children | |
| Region Monitoring | 0f | e3 | 4 | Byte 1: number of people in region
1 Byte 2: number of people in region 2 Byte 3: number of people in region 3 Byte 4: number of people in region 4 |
| Children Region Monitoring | 1d | e3 | 4 | Byte 1: number of children in region
1 Byte 2: number of children in region 2 Byte 3: number of children in region 3 Byte 4: number of children in region 4 |
| Region Dwell Time | 10 | e4 | 5 | Byte 1: region ID Byte 2-3: avg. dwell time Byte 4-5: max. dwell time |
| Children Region Dwell Time | 1e | e4 | 5 | Byte 1: region ID Byte 2-3: avg. dwell time Byte 4-5: max. dwell time |
- Example:
-
- Report immediately when two adults have entered line 1.
03d2 02000000 Channel Type Value 03 d2 Line 1 accumulated in counter: 02 00 00 00 => 00 00 00 02=2 - Report immediately when 3 children are detected in region 2.
1de3 00020000 Channel Type Value 1d e3 The number of children in region 1: 00=>0 The number of children in region 2: 02=>2
The number of children in region 3: 00=>0
The number of children in region 4: 00=>0
- Report immediately when two adults have entered line 1.
Alarm Report
The device supports to report below types of alarm report packets.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Alarm | 50 | fc | 3 |
Byte 1: 01: Occlusion Detection Alarm Byte 2: ID, 00: This Device, 01~0f: Node device Byte 3: 01: Alarm; 00: Release |
- Example:
- Occlusion Detection Alarm.
50fc 010001 Channel Type Value 50 fc 01 => Occlusion Detection Alarm 00 => This Device
01 => Alarm
Historical Data
The device will report retransmission data or stored data as below example.
| Channel | Type | Byte | Description |
|---|---|---|---|
| 20 | ce | 8/9 | Byte 1-4: Unix Timestamp, Unit:s
Byte 5: Data Type.
Byte 6-N: history data. |