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

Note:
  • 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:
  1. 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

  2. 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
  3. 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

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:
  1. 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
  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

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.

03-Line 1 accumulated in counter

04-Line 1 accumulated out counter

06-Line 2 accumulated in counter

07-Line 2 accumulated out counter

09-Line 3 accumulated in counter

0a-Line 3 accumulated out counter

0c-Line 4 accumulated in counter

0d-Line 4 accumulated out counter

05-Line 1 Periodic counter

08-Line 2 Periodic counter

0b-Line 3 Periodic counter

0e-Line 4 Periodic counter

0f-Region people number

10-Region avg. dwell time

20-Region max. dwell time

11-Line 1 Children accumulated in counter

12-Line 1 Children accumulated out counter

14-Line 2 Children accumulated in counter

15-Line 2 Children accumulated out counter

17-Line 3 Children accumulated in counter

18-Line 3 Children accumulated out counter

1a-Line 4 Children accumulated in counter

1b-Line 4 Children accumulated out counter

13-Line 1 Children Periodic counter

16-Line 2 Children Periodic counter

19-Line 3 Children Periodic counter

1c-Line 4 Children Periodic counter

1d-Children region people number

1e-Children region ID avg. dwell time

3c-Children region ID max. dwell time

Byte 6-N: history data.