Downlink Command
The device supports to configure the device via downlink commands. Application port is 85 by default.
General Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Reboot | ff | 10 | 1 | ff |
| System time | ff | 11 | 4 | Unix Timestamp, Unit:s |
| Wi-Fi | ff | 42 | 1 | 00: disable, 01: enable |
| Clear the accumulated counting | ff | 51 | 1 | ff |
| Gateway time synchronization | f9 | 84 | 3 | Byte 1: 01-Enable; 00-Disable Byte 2-3: Time Synchronization Interval, Unit: min |
| Log Mode - File | f9 | 89 | 2 | Byte 1: 04 Byte 2: Log file level: 01-Fatal, 02-Error, 03-Warn, 04-Debug, 05-Trace |
- Example:
-
- Reboot the device.
ff10ff - Disable Wi-Fi.
ff42 00 Channel Type Value ff 42 00:Disable - Modify the system time as 2025/05/27 20:44:00.
ff11 90b33568 Channel Type Value ff 11 90 b3 35 68=>6835B390= 1748349840 s=>2025/05/27 20:44:00
- Reboot the device.
Report Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| People Counting Periodic Report | ff | 43 | 1 | 00: disable, 01: enable |
| People Counting Trigger Report | ff | 44 | 1 | 00: disable, 01: enable |
| Periodic Report Interval | ff | 47 | 2 | Unit: s |
| Periodic Report Scheme | f9 | 8a | 1 | 01-From Now On, 00-On the Dot |
- Example:
-
- Set Periodic Report Interval as 20 minutes.
ff47 b004 Channel Type Value ff 47 b004=>04b0=1200s=20minutes
- Set Periodic Report Interval as 20 minutes.
Data Retransmission
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Data Retransmission | ff | 69 | 1 | 00: Disable, 01: Enable |
| Data Retransmission Interval | ff | 6a | 3 | Byte 1: 00 Byte 2-3: UINT16, Unit: s, Range: 30~1200, Default: 600 |
- Example:
-
- Set the data retransmission interval as 1200s.
ff6ab004 Channel Type Value ff 6a b004=>04b0=1200s
- Set the data retransmission interval as 1200s.
LoRaWAN® Setting
Modifying the following parameters triggers the device to re-enter the network.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Confirm Mode | ff | 04 | 1 | 00: disable, 01: enable |
| LoRaWAN® Channel Mask | ff | 05 | 3 | Byte 1: Channel index range
|
| ADR | ff | 40 | 1 | 00: disable, 01: enable |
| Application Port | ff | 41 | 1 | [1-223], Default is 85 |
| LoRa Rejoin Mode | f9 | 85 | 2 | Byte 1: 01-Enable; 00-Disable Byte 2: The Number of Detection, Range: 4~32 |
| Spreading Factor | f9 | 86 | 1 | 00-SF12, 01-SF11, 02-SF10, 03-SF9, 04-SF8, 05-SF7 |
| TX Power | f9 | 87 | 1 | Range: 0~14 |
- Example:
- Set AU915 or US915 channel mask as 8-15.
ff0501ff00 ff05020000 ff05030000 ff05040000 ff05050000 Channel Type Value ff 05 01: Channel index 0-15, ff00 => 8-15 is enabled
02-05: Channel index 16-79, 0000 => all disabled