How do I decode a Dry Contact Sensor Event?

How do I decode a Dry Contact Sensor Event?

The wireless Dry Contact Sensor detects a connection between two wires. When the wires are either shorted or opened, the Dry Contact Sensor will generate an event.
 
Byte 0: 7-4
Byte 0: 3-0
Byte 1
Byte 2 
 
Protocol version
 
 
(4 bits)
Counter
 
 
 
(4 bits)
Message Type Code
 
 
0x07
Dry Contact Event
 
 
(0x00 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
              0x07 represents the Dry Contact Sensor Message Type
 
Dry Contact Sensor Event
              Byte 2                         Description
                  0x00                              Contacts shorted (connected)
                  0x01                              Contacts opened (disconnected)
 
Example of Dry Contact Sensor Event Message
10 07 00

1                                 Protocol Version (currently always 0x1)
0                                 Packet Counter (increments by 1 each message and wraps from 0xF to 0x0)
07                               Message Type Code (Dry Contact Sensor Event Message Type)
00                               Dry Contact Sensor Event (Event 0x01 means that the Dry Contact Sensor’s contacts were shorted (connected))
 
 
The Radio Bridge Console will generate the following output for this message:
Dry Contact Event
Contacts were shorted
 
 
 
 
 
 
 
 
 
 
 


    • Related Articles

    • How do I encode a downlink for a Dry Contact Sensor?

      NOTE:  All downlinks must contain a total of (8) bytes, padded with zeros at the end when necessary. See User Manual at https://www.multitech.com/brands/reveal-wireless-dry-contact-sensors for more information. Configuration Example:       07 00 00 ...
    • How do I decode a Water Rope Sensor Event?

      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 ...
    • How do I decode a Water Leak Sensor event?

      The Water Leak Sensor will generate events when water (or another liquid) is present, and then give a value representing the relative measurement of the resistance between the probes of the sensor. The Water Leak Sensor uses that resistance to ...
    • How Do I decode an Ultrasonic Level Sensor Event?

      The Ultrasonic Level Sensor will generate events if the measured distance rises above or falls below the configured thresholds.   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 2    Byte 3 and 4 Protocol version (4 bits) Counter (4 bits) Message Type Code 0x10 ...
    • How do I decode a Voltage Sensor event?

      The Voltage Sensor will generate events if the measured value rises above or falls below the configured thresholds.   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 2    Byte 3 & 4 Protocol version     (4 bits) Counter       (4 bits) Message Type Code     ...