-
Notifications
You must be signed in to change notification settings - Fork 52
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
feat: add ArtNzs opcode #106
Conversation
Hi, I don't know what ArtNzs is. Can you explain it to me? |
Ah, opcode? I will check it later |
@japhsc Thank you for your contribution! It looks almost good to me, but I couldn't understand why you removed the I think it should be incremented because almost everyone who uses this library expects that |
Hey @hideakitai! Sorry for my late reply, I was held up by my day job here in Berlin. The background of my project: I was looking for a way to transfer DMX packages to the memory of my ESP32, including a 16bit timestamp. My plan was to later replay this sequence from memory when sending an When reading through the documentation for the ArtNet 4 protocol, I found the ArtNzs package (on page 66). It is a DMX512 data packet with non-zero start code (thus Nzs). Compared to ArtDmx it has a field called So I decided to "reuse" this packet type to fit my needs and also stay as close as possible to the ArtNet standard. After all, tt is a non-zero start of the packet :D In my special case I am bunching the If you think it is a good idea, I am planning on adding additional ArtNet packet callbacks, namely Let me know what you think :) |
Thank you! I could understand why you haven't incremented the
Yes, it looks good to me.
It sounds great :) If you can contribute, please open another two PRs for each opcode. |
New changes are pushed and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ah, sorry, I missed |
Hey! Your library is amazing! I am using it for a small ESP32 project on mine. It uses ArtNzs to send frames to the memory of my micro controller. I've added support to send and receive ArtNzs packages to your library.
I intentionally skipped the sequence incrementing part (I use
Sequence
andStartCode
to encode auint16_t
timestamp).Let me know if you like something to be changed :)