Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix artnet pollreply #58

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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