The Water Rope Sensor will
generate events when the presence of water or another liquid is detected
Byte 0: 7-4
|
Byte 0: 3-0
|
Byte 1
|
Byte 2
|
Byte 3
|
Protocol version
(4 bits)
|
Counter
(4 bits)
|
Message Type Code
(0x08)
|
Water Rope Sensor
Event
(0x00 in the example below)
|
Relative Measurement of resistance between probes
(scale
0-255)
(0x15 in the example below)
|
Protocol Definition
First
4 bits are defined by Radio Bridge for the protocol
Next
4 bits are a counter that goes from 0 to F (Hex) and repeats
Message Type
0x08
represents the Water Rope Sensor Message Type
Water Rope Sensor Event
Byte
2 Description
1 Water or liquid not present
0 Water or
liquid present
Byte 3 relative measurement of
resistance
The
8-bit event for the liquid sensor contains a relative measurement of the
resistance between the probes with a scale of 0-255. Different liquids will
have a different resistance through the material (water vs fuel for example),
so this measurement can be used to set the threshold properly as defined by the
configuration message in the Downlink section
Example
of Water Rope Sensor Event Message
10 08 00
15
1
Protocol Version (currently always 0x1)
0
Packet
Counter (increments by 1 each message and wraps from 0xF to 0x0)
08
Message Type Code (Water Rope Sensor Type code = 0x08)
00 Water Rope Sensor Event (water rope sensor event 0x00 means there is water or liquid present
15 Relative Measurement (Event 0x15
= 21)
The Radio Bridge Console will
generate the following output for this message:
Water
Event: Water or liquid present
Relative
measurement: 21