Downlink Command

This device supports downlink commands for configuration and control. The downlink application port is 85 by default.

General Settings

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

Distance Measurement

ff 56 1 00 = Disable; 01 = Enable
Example:
  1. Reboot the device.
    ff10ff
  2. Set report interval as 20 minutes.
    ff03b004
    Channel Type Value
    ff 03 b004=>04b0=1200s=20 minutes
  3. Enable “Tilt & Distance Switch” feature.

    ff3e01
    Channel Type Description
    ff 3e 01 = Enable

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