Downlink Commands

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

General Setting

Item Channel Type Byte Description
Reboot ff 10 1 ff
Report Interval ff 8e 3 Byte 1: 00

Byte 2-3: UINT16, Unit: minute

LED Indicator ff 2f 1 00: disable; 01: enable
Time to report vacancy ff 95 2 Unit: s, Range: 1~120
Example:
  1. Reboot the device.
    ff10ff
  2. Set report interval as 20 minutes.
    ff8e001400
    Channel Type Value
    ff 8e 1400=>0014=20minutes

Milesight D2D Setting

Item Channel Type Byte Description
D2D Feature ff 84 1 00: disable; 01: enable
D2D Key ff 35 8 The first 16 digits of D2D key, and the last 16 digits are fixed as 0.
D2D Settings ff 96 8 Byte 1: 00-Occupied; 01-Vacant

Byte 2: 00-disable, 01-enable

Byte 3: 00-disable LoRa Uplink, 01-enable LoRa Uplink

Byte 4-5: D2D control command

Byte 6-7: control time, unit: min

Byte 8: 00-disable control time, 01-enable control time

Example
  1. Set D2D Key as 12345678123456780000000000000000.
    ff35 1234567812345678
    Channel Type Value
    ff 35 1234567812345678
  2. Set D2D settings.
    ff96 00 01 01 04e0 0500 01
    Channel Type Value
    ff 96

    00=>Occupied;

    01=>Enable;

    01=>Enable LoRa Uplink;

    04 e0=>e0 04, Control Command is e0 04;

    05 00=>00 05, Control time is 5 mins;

    01=>Enable Control Time