How do I encode a Configuration Downlink for a Door/Window Sensor?

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            Description
      0   Downlink Message Type (0x03 = Door Window Sensor)

            Byte            Description
            1                     Enable Events (see the table Enable Event Bit Definitions)
            2-3                  Open hold time
            4-5                  Close hold time


Enable Events Bit Definitions
      Bits            Description
      7:2             Not used
      1                 Enable close events. Clear to enable, set to disable
      0                 Enable open events. Clear to enable, set to disable

Door Window Sensor Configuration Example:
      03 00 00 14 09 60 00 00
      03                   Downlink Message Type ( Door Window Sensor = 0x03 )
      00                   Enable Events (see the table Enable Event Bit Definitions)
      0014              Open hold time (0x0014 = 20, 20*250ms = 5 seconds)
      0960              Close hold time (0x0960 = 2400,  2400*250ms = 600 seconds = 10 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 Door/Window Sensor event?

      The Door/Window Sensor will generate events when a door (or window) is open or closed.   Byte 0: 7-4 Byte 0: 3-0 Byte 1 Byte 3 Protocol version (4 bits) Counter (4 bits) Message Type Code (0x03) Event (0x01 in the example below)     Protocol ...
    • 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 ...
    • How do I encode a Configuration Downlink For Water Leak Sensor?

      NOTE:  All downlinks must contain a total of (8) bytes, padded with zeros at the end when necessary.  Configuration Message: 0x08        Byte            Description       0                  Downlink Message Type (0x08 = Water Leak Sensor)       1    ...
    • How do I encode a Configuration Downlink for a External Probe Temp 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-air-temp-humidity-sensors for more information. External Probe Temp Sensor ...