Comments (9)
Hi, this library supports only Ethernet
library. I'm happy if you give me a pull request.
from arduinoosc.
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.
Of course I can, but I don't have enough time and don't have a plan to support like it.
from arduinoosc.
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.
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.
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.
I will support ETH soon.
from arduinoosc.
from arduinoosc.
ETH.h
support added. Please see examples/arduino/OscETH/OscETH.ino
for how to use it.
from arduinoosc.
Related Issues (20)
- Path missing to DebugLog.h in OscTypes.h HOT 1
- Receive an Udp Osc message as reply to a previus Osc message HOT 16
- ArduinoOSC requires Ethernet library even when only WiFi is used HOT 3
- errors compiling the OscEtherUno sketch HOT 1
- Improve sending/receiving bundle
- Compilation error when including ArduinoOSC.h in a C++ header HOT 5
- Event-driven approach to receiving OSC data rather than polling? HOT 4
- Is it possible to have a non-fixed IP ? HOT 3
- Unable to parse or post any OSC message on WiFi HOT 4
- ESP32 AP mode HOT 5
- Core Panic issue HOT 1
- support for RPI Pico W HOT 1
- Example with OSC over Serial using MsgPacketizer HOT 1
- Teensy 4.1 Native Ethernet support HOT 2
- Add support for multicast? HOT 1
- Add support for softAP HOT 1
- Add support for Raspberry Pi PICO W
- multiple clients HOT 1
- now the dependencies must be installed separately? HOT 5
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 arduinoosc.