even though have found many libraries allows programmers use artnet/artnetdmx protocol haven't found correct structure send out artnet in code (to socket).
the structure given but, can't figure out in order bytes should send. send byte universe 1 one, or need send byte array values?
doesn have experience in sending artnet on udp?
this structure given on wikipedia: http://i.stack.imgur.com/wujzd.png
i use following struct art-net v2
typedef struct { char id[8]; //"art-net" uint16 opcode; // see doc. table 1 - opcodes eg. 0x5000 opoutput / opdmx uint16 version; // 0x0e00 (aka 14) uint8 seq; // monotonic counter uint8 physical; // 0x00 uint8 subuni; // low universe (0-255) uint8 net; // high universe (not used) uint16 length; // data length (2 - 512) uint8_t data[512]; // universe data } artnetdmx;
if want write art-net application should read documentation located on artistic licence.
i follow version 2 (14) specification version 3 quite rare in wild.
Comments
Post a Comment