Downlink Command
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 | 03 | 2 | UINT16, Unit: s |
- Example:
-
- Reboot the device.
ff10ff - Set report interval as 20 minutes.
ff03b004 Channel Type Value ff 03 b004=>04b0=1200s=20 minutes
- Reboot the device.
Angle Threshold Setting
| Channel | Type | Byte | Description |
|---|---|---|---|
| ff | 06 | 9 |
CTRL (1B) + Min (2B) + Max (2B) +Alarm Reporting Interval (2B) + Alarm Reporting Times(2B) CTRL: Bit 0~2: 000-disable 001-below (minimum threshold) 010-over (maximum threshold) 011-within 100-below or over Bit 3~5: 001: X-axis angle 010: Y-axis angle 011: Z-axis angle Bit 6~7: 00 Min./Max. Threshold: INT16/100, Unit: ° |
- Example:
- Set X-axis threshold between 10° and 20°, it will detect the threshold
every 1 minute, send alarm 3 times at most.
ff060ce803d0073c000300
Channel Type Value ff 06
0c => 00 001 100 = when X axis angle is below or over,
e803 => 03e8=1000/100 = 10.00°
d007 => 07d0= 2000/100 = 20.00°
3c00 => 60 s = 1 min
0300 => 00 03 = 3 times
Alarm Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
|
Initial Position |
ff | 62 | 1 |
ff-set current position as initial position fe-set the initial position to (0.00°, 0.00°, -90.00°) |
|
Alarm Condition |
ff | 63 | 8 |
hex string of ASCII expression; if ASCII expression takes
less than 8 bytes, add 0 in the end to meet the size.
Note: before setting the condition,
ensure the corresponding axis threshold is enabled, or
this condition will not work. |
- Example:
-
- Set the alarm condition to be X and Y or Z, before setting
ensure X, Y and Z thresholds are enabled.
ff635826597c5a000000
Channel Type Value ff 63
5826597c5a000000 = X&Y|Z
- Set current position as initial position.
ff62ff
Channel Type Value ff 62
ff = set current position as initial position
- Set the alarm condition to be X and Y or Z, before setting
ensure X, Y and Z thresholds are enabled.