Coder Social home page Coder Social logo

Comments (9)

hideakitai avatar hideakitai commented on June 5, 2024

Hi, this library supports only Ethernet library. I'm happy if you give me a pull request.

from arduinoosc.

ChristopheLebreton avatar ChristopheLebreton commented on June 5, 2024

Library below also works and like used UDP perhaps there's a way to use with your's ? :

AsyncUDP_WT32_ETH01 is a Async UDP library for the WT32_ETH01 (ESP32 + LAN8720)
Based on and modified from ESPAsyncUDP Library (https://github.com/me-no-dev/ESPAsyncUDP)
Built by Khoi Hoang https://github.com/khoih-prog/AsyncUDP_WT32_ETH01

from arduinoosc.

hideakitai avatar hideakitai commented on June 5, 2024

Of course I can, but I don't have enough time and don't have a plan to support like it.

from arduinoosc.

ChristopheLebreton avatar ChristopheLebreton commented on June 5, 2024

no problem I understand, I try find a other way and if I've also some time I'll study it more deeply ;)
ESP32 power and ethernet it'll be very interesting for real time process quality.
best :)

from arduinoosc.

rsmck avatar rsmck commented on June 5, 2024

Hi @ChristopheLebreton did you find a solution to this? I've got the same issue.

I didn't realise the OLIMEX ESP32-POE used ETH.h not Ethernet.h.

from arduinoosc.

rsmck avatar rsmck commented on June 5, 2024

In case anyone else stumbles upon this thread... ETH.h is derived from the usual WiFi libraries.

I don't have the C skills to do this properly and submit a pull request, but an extremely hacky solution (that works) is as follows (maybe this will provide enough info for someone more competent to make official support.

In ArduinoOSCWiFi.h change line 11 from #include <WiFi.h> to #include <ETH.h>

In ArduinoOSCCommon.h comment out the if {} statement around line 60 that checks if (WiFi.getMode() != WIFI_OFF), mine now looks simply like this;

        void subscribe(const uint16_t port, const String& addr, Ts&&... ts) {
            OscServerManager<S>::getInstance().getServer(port).subscribe(addr, std::forward<Ts>(ts)...);
        }

This allows ArduinoOSCWiFi (yes, the WiFi version, not the Ether one) to work as expected over Ethernet on the OLIMEX ESP32 POE.

It does, of course, mean you can't use the WiFi interface... but for my application that didn't matter so I haven't investigated it any further.

Hopefully this helps someone else.

from arduinoosc.

hideakitai avatar hideakitai commented on June 5, 2024

I will support ETH soon.

from arduinoosc.

ChristopheLebreton avatar ChristopheLebreton commented on June 5, 2024

from arduinoosc.

hideakitai avatar hideakitai commented on June 5, 2024

ETH.h support added. Please see examples/arduino/OscETH/OscETH.ino for how to use it.

from arduinoosc.

Related Issues (20)

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.