Network protocols
Art-Net ArtDmx builder
Build an ArtDmx packet from a Port-Address and channel values.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Write the Art-Net header, OpDmx and protocol version 14. Port-Address bytes are low then high; the even channel-data length is big-endian.
Two channel bytes produce a 20-byte ArtDmx packet.
Limits
A short or odd payload gets trailing zeros to reach an even 2–512 bytes. No packet is transmitted; Art-Net 4 discovery/configuration is separate.