Git Product home page Git Product logo

Comments (3)

DrewAspinwall avatar DrewAspinwall commented on July 21, 2024 1

@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.

jtthewoodworker avatar jtthewoodworker commented on July 21, 2024

Hi. Did this ever get resolved? What's the correct fix? I'm getting the same compile error as @NPreda.

from esp8266_artnetnode_dmx.

bennigraf avatar bennigraf commented on July 21, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.