Downlink Command

This device supports downlink commands for configuration and control.

Important: The device can only receive downlink commands within the 10s after sending uplink packets.

General Settings

Item Channel Type Byte Description
Reboot ff 10 1 ff
Collect Interval ff 02 2 UINT32, Unit: s
Report Interval ff 03 4 UINT32, Unit: s
Tilt & Distance Switch ff 3e 1 00 = Disable; 01 = Enable

Distance Measurement

ff 56 1 00 = Disable; 01 = Enable

Position Setting

ff a0 1 00 = Disable; 01 = Enable

Duration of Motion and Stationary

ff 58 5

Byte 1: duration of motion, unit: s

Byte 2-5: duration of stationary, unit: s

Motion Report Interval

ff 8e 5

Byte 1: 00 = Disable; 01 = Enable

Byte 2-5: report interval, unit: s

Cumulative Numbers

ff 9e 2

Byte 1: 00 = Disable; 01 = Enable

Byte 2: Cumulative numbers

Example:
  1. Reboot the device.
    ff10ff
  2. Set report interval as 20 minutes.

    ff03b0040000

    Channel Type Value
    ff 03

    b0 04 00 00 => 00 00 04 b0 = 1200s = 20 minutes

  3. Enable “Tilt & Distance Switch” feature.

    ff3e01
    Channel Type Description
    ff 3e 01 = Enable
  4. Set duration of motion to 50s and duration of stationary to 180s.

    ff5832b4000000

    Channel Type Value
    ff 58

    Duration of motion: 32=50s

    Duration of stationary: b4 00 00 00=00 00 00 b4=180s

Threshold Alarm Setting

Channel Type Byte Description
ff 06 9

CTRL(1B)+Min(2B)+Max(2B)+00000000(4B)

CTRL:

Bit2~Bit0:

  • 000-disable
  • 001-below
  • 010-above
  • 011-within
  • 100-below or above

Bit5~Bit3: 001

Bit6=0

Bit7:

  • 0 - disable threshold dismiss report
  • 1 - enable threshold dismiss report
Example:
When the distance is below 1 m or above 3 m, the sensor will send threshold alarm.
ff06 8c e803 b80b 0000 0000
Channel Type Value
ff 06

CTRL: 8c=10 001 100

100=below or above

10=enable threshold dismiss report

Min: e8 03=> 03 e8 =1000mm =1m

Max: b80b => 0b b8 =3000mm =3m

ACK Setting

Channel Type Byte Description
ff 9f 1 00 = Disable; 01 = Enable
Example:
Enable ACK feature.

ff9f01

Channel Type Value
ff 9f 01 = Enable