NOTE: All downlinks must contain a total of (8) bytes, padded with zeros at the end when necessary.
Also note that if the configuration settings exceed the maximum ratings on the sensor, the sensor may not report an event.
Ultrasonic Level Sensor Threshold Configuration Example:
10 00 B3 0D 0B B8 1D 4C
10 Downlink Message Type ( 0x10 = Ultrasonic Level Sensor)
00 Configuration Mode (0x00 = Threshold Mode)
B3 Periodic reporting (0xB3 = 51 minutes, see note on time below)
0D Hold time (0x0D = 13 minutes, see note on time below)
0BB8 Lower distance threshold in mm (0x0BB8 = 3000 mm)
1D4C Upper distance threshold in mm (0x1D4C = 7500 mm)
Ultrasonic Level Sensor Report On Change Configuration Example:
10 01 30 87 00 0E 00 12
10 Downlink Message Type ( 0x10 = Ultrasonic Level Sensor)
01 Configuration Mode 0x01 (Report on Change mode)
30 Periodic reporting (0x30 = 48 hours, see note on time below)
87 Hold time (0x87 = 7 seconds, see note on time below)
000E Distance increase in mm (0x000E = 14mm)
0012 Distance decrease in mm (0x0012 = 18 mm)
The ultrasonic sensor can measure distances between 500mm to 10m and the sensor must be mounted such that the required distances are within that range. Distances outside of that range will result in incorrect measurements. This includes distances that are too close (less than 500mm) as well as too far (greater than 10m).
The sensor must also be mounted such that it is perpendicular to a flat surface. Mounting the sensor at an angle to the surface or using a surface that is not flat may result in incorrect measurements. Flat surfaces also include the surface of a liquid.
If the configuration is successful the sensor will respond with a Downlink Acknowledge message:
1 0 FF 02
1 Protocol Version (currently always 0x1)
0 Packet Counter, increments by 1 each message and wraps from 0xF to 0x0
FF Message Type (Downlink ACK = 0xFF)
02 Downlink Message Valid (Invalid/Undefined = 0x01, Valid = 0x02)