LINKTYPE_WATTSTOPPER_DLM

Packet structure

+-------------------------+
|        Dongle Code      |
|        (1 Octet)        |
+-------------------------+
|       Packet Delay      |
|        (2 Octets)       |
+-------------------------+
|        Preamble 1       |
|        (1 Octet         |
+-------------------------+
|        Preamble 2       |
|        (1 Octet)        |
+-------------------------+
|    Family/Address/IR    |
|        (1 Octet)        |
+-------------------------+
|         Payload         |
.                         .
.                         .
.                         .
|        (N Octets)       |
+-------------------------+

Description

The WattStopper Digital Lighting Management (DLM) and Legrand Nitoo Open protocol share common packet structure, and are used in the lighting control industry.

The Dongle Code field contains a value that is one of:

  • 0="No Error",
  • 1="Preamble 1 Error",
  • 2="Preamble 2 Error",
  • 3="Checksum Error",
  • 4="Timeout Error",
  • 8="Other Family Error"

The Packet Delay field contains an integer value that is the number of milliseconds since the previous packet, in network byte order.

The Preamble 1 and Preamble 2 fields should each contain 0xAA.

The Family/Address/IR field contains 3-bits of family code, 2-bits of address mode, 2-bits of IR (infrared) routing, and 1-bit unused. The 8 Legrand NITOO families are

  • 000=CAD Filaire
  • 001=TopDog
  • 010=CAD RF
  • 011=CAD PLC
  • 100=CAD IR
  • 101=DLM
  • 110=none
  • 111=Escape/DLM Bootloader

The Address mode bits are defined as

  • 00=Broadcast
  • 01=multicast
  • 10=unicast
  • 11=anonymous unicast

The Payload varies depending on the Family.