Skip to content

Comments

Fix artnet pollreply#58

Open
amyhlback wants to merge 5 commits intonatcl:masterfrom
amyhlback:fix_artnet_pollreply
Open

Fix artnet pollreply#58
amyhlback wants to merge 5 commits intonatcl:masterfrom
amyhlback:fix_artnet_pollreply

Conversation

@amyhlback
Copy link

I couldn't detect my Teensy in my lighting controller (Obsidian Onyx), so using the specification and DMX-Workshop from Artistic License i found some errors in ArtPollReply.
With these changes the Teensy gets detected and can receive universe data through unicast automatically.
(I haven't tried mac address with esp32 etc, but according to the wifi docs, this should work)

Note: reads the mac address from the ethernet shield every time, could probably be set at Artnet construction since it is probably static.
According to the Art-Net spec, 0xc0 is for units both transmitting and recieving. 0x80 is for only recieving.
Set memory to 0 before writing the strings to 0 pad them.
The reply should only be sent to the requesting Controller, not multicast.
From https://art-net.org.uk/structure/discovery-packets/
"Upon receipt of an ArtPoll, all Art-Net devices respond by unicasting an ArtPollReply."
(this also solved the port-errors that i got, dont know if it was my network,
but when sending the reply to broadcast the target port became "65")
The universe-addressing is 0-indexed.
@flyingrub
Copy link

This fixed Unicast for Resolume Arena here.

rin1024 added a commit to rin1024/Artnet that referenced this pull request Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants