Downlink Command

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

Note: Since the device type is class A, it only receives downlinks when the device upload battery level or button message to network server.

General Settings

Item Channel Type Byte Description
Reboot ff 10 1 ff
Report Interval ff 03 2 UINT16, Unit: s
Confirmed Mode ff c6 2

Byte 1: 00=disable, 01=enable

Byte 2: ACK times, range: 1~5

Note: this only takes effect after the device reboots or rejoins the network.
Example:
  1. Reboot the device.
    ff10ff
  2. Set reporting interval as 20 minutes.

    ff03b004

    Channel Type Value
    ff 03 b004=>04b0=1200s=20minutes

D2D Settings

Item Channel Type Byte Description
D2D Key ff 35 8 The first 16 digits of D2D key, and the last 16 digits are fixed as 0.

Milesight D2D Spreading Factor and Frequency

ff 36 3

Byte 1: Spreading factor

Byte 2-3: Frequency, unit: Hz

Example:
  1. Set D2D Key as 12345678123456780000000000000000.
    ff35 1234567812345678
    Channel Type Value
    ff 35 1234567812345678
  2. Set Milesight D2D spreading factor as DR5(SF7) and frequency as 505.7 MHz.
    ff3605a05e241e
    Channel Type Value
    ff 36

    Byte 1: 05 (DR5)

    Byte 2: a0 5e 24 1e => 1e 24 5e a0=505700000 Hz (505.7 MHz)