Skip to content

Commit 459a664

Browse files
committed
DDP documentation
better descriptions, based on current protocol specs
1 parent 579477c commit 459a664

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

wled00/src/dependencies/e131/ESPAsyncE131.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ typedef struct ip_addr ip4_addr_t;
5050
#define ARTNET_DEFAULT_PORT 6454
5151
#define DDP_DEFAULT_PORT 4048
5252
#define DDP_HEADER_LEN 10
53-
#define DDP_SYNCPACKET_LEN 10
53+
#define DDP_SYNCPACKET_LEN 10 // sync = push with no data (supported)
54+
#define DDP_DISCOVERPACKET_LEN 10 // auto-discovery packet (unsupported)
5455

5556
#define DDP_FLAGS_VER 0xc0 // version mask
5657
#define DDP_FLAGS_VER1 0x40 // version=1
@@ -81,6 +82,7 @@ typedef struct ip_addr ip4_addr_t;
8182
#define DDP_ID_CONTROL 246 // JSON control (not implemented)
8283
#define DDP_ID_CONFIG 250 // JSON config (not implemented)
8384
#define DDP_ID_STATUS 251 // JSON status (not implemented)
85+
#define DDP_ID_DMXTRANSIT 254 // DMX Legacy Mode - treated like "display"
8486
#define DDP_ID_ALL 255 // all devices
8587

8688
#define ARTNET_OPCODE_OPDMX 0x5000

0 commit comments

Comments
 (0)