Comments (3)
@NPreda I had the same issue and found this answer worked for the time being.
I've found out that this only happens with the latest 2.5.0 ESP8266 Arduino core, versions before that work fine. This is because IPv6 is now internally supported by ESP8266 and it can't make sure that it's an IPv4 address for this operation. WLED Issue.
I would leave the issue open so someone can start on a PR with similar IPv6 fix (that just aint #me).
from esp8266_artnetnode_dmx.
Hi. Did this ever get resolved? What's the correct fix? I'm getting the same compile error as @NPreda.
from esp8266_artnetnode_dmx.
Hey,
I got the same error trying to put this software on a Wemos D1 Mini (clone?) using the current Arduino IDE. I solved this by replacing the lines mentioned above (artNet.ino:125-126
) with
replyBuffer[18] = highByte(subnet.v4()+1); //subnet hi-lo
replyBuffer[19] = lowByte(subnet.v4()+1);
(Note the calls to the v4()
method that returns the v4 representation of the IPAddress.)
I don't know if that has any implications on the firmware in general, though. I don't know the specifics of the ArtNet protocol, but I'd guess that there's no support vor IPv6 yet anyways. So @mtongnz – if you don't have any objections, I could also file a PR.
(In IPAddress.h there's also a flag named LWIP_IPV6
but setting this to 0 didn't fix the problem for me. Maybe I did something wrong though, I'm not very experienced in this language.)
Best,
Benjamin.
from esp8266_artnetnode_dmx.
Related Issues (10)
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 esp8266_artnetnode_dmx.