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

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.


Configuration Example:
      07 00 00 08 04 B0 00 00
      07              Downlink Message Type (0x07 = Dry Contact Sensor)
      00              Enable Shorted and Open Hold Time Event Messages
                        0x00 
                               Enable Reporting For Contact Short = Yes
                               Enable Reporting For Contact Open = Yes
      0008          Set hold time for Contact Shorted Events (0x08 = 8 -> 8*250ms = 2 seconds)
      04b0          Set hold time for Contact Shorted Events (0x04B0 = 1200 -> 1200*250ms = 300seconds = 5 minutes)
      00              Not used
      00              Not used

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)


    • Related Articles

    • 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       ...
    • How do I encode a downlink for a water rope sensor?

      NOTE: All downlinks must contain a total of (8) bytes, padded with zeros at the end when necessary. Water Rope Sensor Configuration Example: 08 02 50 00 00 00 00 00 08 Downlink Message Type ( 0x08 = Water Rope Sensor ) 02 Enable Events 0x02 Enable ...
    • How do I encode a Configuration Downlink for a Door/Window 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/models/RB90000005LF for more information. Door Window Sensor Configuration Message: 0x03       Byte      ...
    • How do I encode a configuration downlink for a 4-20mA Current Loop 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-industrial-sensors for more information. 4-20mA Current Loop Sensor Threshold ...
    • How do I encode a configuration downlink for a Voltage Sensor?

      NOTE:  All downlinks must contain a total of (8) bytes, padded with zeros at the end when necessary. For more information see the the user manual at https://www.multitech.com/brands/reveal-wireless-industrial-sensors Voltage Sensor Threshold ...