
W
IRELESS
U
LTRASONIC
L
EVEL
S
ENSOR
C
OPYRIGHT
©
2019,
R
ADIO
B
RIDGE
I
NC
.
W
IRELESS
U
LTRASONIC
L
EVEL
S
ENSOR
P
AGE
7
OF
15
7.2.
Uplink Messages
The uplink message (sensor to web application) specific to the sensor is defined in following
table. The common uplink messages are not included in this section (see common messages
document).
Table 5 Uplink Message 0x10: Ultrasonic Level Detection Event
Byte
Description
0
Ultrasonic Level Event Payload (see Ultrasonic Level Event
Payload Definitions)
1
Current distance in millimeters, upper byte (0-9999)
2
Current distance in millimeters, lower byte
The distance can range between 0-9999 millimeters, so two bytes are needed to represent
the distance. For example, if a distance is 642mm, it would be reported as 0x02 and 0x82 in
bytes 1 and 2 respectively.
The ultrasonic level event is defined in the following table.
Table 6 Ultrasonic Level Event Payload Definitions
Event Payload Description
0x00
Periodic report
0x01
Distance has risen above upper threshold
0x02
Distance has fallen below lower threshold
0x03
Report on change increase
0x04
Report on change decrease