Downlink Command
This chapter describes the downlink commands for device configuration and control. The downlink application port is 85 by default.
General Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Reboot | ff | 10 | 1 | ff |
| Collect Interval | ff | 02 | 2 | UINT16, Unit: s |
| Re-collect Setting | ff | 1c | 2 | Byte 1: re-collect
times Byte 2-3: re-collect interval |
| Report Interval | ff | 03 | 2 | UINT16, Unit: s |
| Data Storage | ff | 68 | 1 | 00: Disable, 01: Enable |
| 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 |
| UTC Time Zone | ff | 17 | 2 | INT16/10 |
| Device Time | ff | 11 | 4 | Unix timestamp, Unit: s |
| Sync with with LNS | ff | 4a | 1 | ff |
- Example:
-
- Reboot the device.
ff10ff - Set collect interval as 20 minutes.
ff02b004 Channel Type Value ff 02 b004=>04b0=1200s=20 minutes - Set report interval as 20 minutes.
ff03b004 Channel Type Value ff 03 b004=>04b0=1200s=20 minutes - Set time zone as UTC-2.
ff17ecff Channel Type Value ff 17 ecff=>ff ec=-20/10=-2
- Reboot the device.
Calibration Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Pressure Calibration | ff | f1 | 4 | Byte 1: 03 Byte 2: 00-disable, 01-enable Byte 3-4: Calibration value, INT16, Unit: kPa |
- Examples:
-
- Enable pressure calibration and set calibration value.
fff10301fdff Channel Type Value ff f1 03=Pressure, 01=Enable fdff=>fffd=-3 kPa
- Enable pressure calibration and set calibration value.
Threshold Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Pressure Threshold Alarm | ff | 06 | 9 | Byte 1: 08=Disable,
49=Below (min. threshold), 4a=Over (max. threshold), 4b=Within,
4c=Below or over Byte 2-3: Minimum threshold, UINT16, Unit: kPa Byte 4-5: Maximum threshold, UINT16, Unit: kPaByte 6-9: 00000000 |
| Alarm Reporting Times | ff | f2 | 2 | UINT16 |
| Alarm Dismiss Report | ff | f5 | 1 | 00-disable, 01-enable |
- Example:
-
- Set the pressure threshold as below 100 kPa.
ff06496400000000000000 Channel Type Value ff 06 49=Below Min. threshold: 64 00=>00 64=100 kPa
- Set the pressure threshold as below 100 kPa.
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 Setting | ff | 96 | 8 | Byte 1: 01-Pressure Threshold Triggered 02-Pressure Threshold Released Byte 2: 00-disable, 01-enable Byte 3: 00-Disable LoRa Uplink, 01-Enable LoRa Uplink Byte 4-5: D2D Command Byte 6-8: 000000 |
- Example:
-
- Set D2D Key as 12345678123456780000000000000000.
ff35 1234567812345678 Channel Type Value ff 35 1234567812345678 - When the value reaches the threshold, send D2D command 0110.
ff960101001001000000 Channel Type Value ff 96 01=Threshold Triggered 01=Enable, 00=Disable LoRa uplink
D2D Command: 10 01=>0110
- Set D2D Key as 12345678123456780000000000000000.