Comments (6)
Would you be able to provide a pull request ? Working in a foreign country and don’t have access to my gear now.
from artnet.
Hey, thank you for the quick response.
tl;dr: No
No, I'm afraid I can't, the code in the libraries are above my level. I've been trying to to hardcode a mac into the libary, just as a first step sanity check.. but no luck. I can however say that the mac of the ESP's wifi is easy accessible with "WiFi.macAddress", and https://art-net.org.uk/structure/discovery-packets/artpollreply/ specifies the following:
Mac
The Mac field is an array of 6 bytes containing the MAC (Media Access Control) address of the device which transmitted this packet.
The most significant byte is transmitted first.
Furthermore I'm quite new to the whole git experience, so just had to look up pull request ;)
However I am ready to test out any code you would be able to throw at me... I understand most of what is going on in the code, and I'm pretty sure my failure so far is down to something as simple as placing the data, retrieved from "WiFi.macAddress", in the right format in an usable array.
from artnet.
@mortenthorsen I've took a quick look at this part of the code. And your observation is correct. The mac address is not set into the ArtPollReply struct.
Out of my head I would suggest to add this to line 34 of artnet.cpp
(assuming you are using Artnet::begin(mac, ip);
memcpy(ArtPollReply.mac, mac, 6);
Try is manually by changing this in your Arduino library. I currently have no hardware/setup to verify it. Once you confirmed it I will create the pull request.
from artnet.
Meanwhile fixed in my fork of the repository. The whole library is updated to meet the Art-Net 4 requirements.
Once Natcl has the time we should merge the two.
from artnet.
Meanwhile fixed in my fork of the repository. The whole library is updated to meet the Art-Net 4 requirements.
Once Natcl has the time we should merge the two.
I tried to use your fork since I like your changes but I'm not able to make it work. When I install it and try the basic receive example my teensy 3.5 just stops working. No serial connection - nothing. I'm new to github and I wasn't able to open a new issue directly in your fork. Is there a way to contact you somehow? @MathieuMH
from artnet.
@LittleBigGorilla you can send me a private message with what you have ;-) Include a screenshot or some other relevant these that helps me understand what is going on.
from artnet.
Related Issues (20)
- Is Arduino mini 3.3v @ 8MHz supported? HOT 3
- Shouldn't this iterate from 0 to i < 8? Instead of 9? HOT 7
- ArtNet to Neopixel freezing HOT 15
- Neopixel showing random colors when ArtPoll is receiving HOT 20
- Change ArtPoll Reply
- How many Universe ? HOT 43
- Doesn't work Broadcast HOT 25
- Artnet neopixel sd HOT 4
- Running on esp32 but with Ethernet
- Neopixel not working! HOT 1
- EthernetUDP has no member HOT 6
- Add missing libraries.properties
- Breaks with Teensy 4.1 Native Ethernet HOT 3
- Has no member named 'setBrodcast' HOT 8
- Opcode unknow
- Need Help! Artnet to ws2812 via Adafruit Neopixel doesn't work
- ArtPollReply failing with DMX-Workshop HOT 1
- Some buffering issue freeze arduino mega
- WS2812B Neopixel example only works with 155Leds
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artnet.