Comments (9)
Time ah yes, the one thing I can't buy more of x_x
Well good news is... it looks like this unmerged PR fixes the overrun problem I just noticed!
arduino-libraries/ArduinoMDNS@396aef1
\028 is no longer reported at the end of _http
from mdns_generic.
Not sure entirely, I still have more acid tests to run before I'm satisfied that these bugs are fixed :-)
from mdns_generic.
I'm able to see arduino with avahi-browse, but not mdns-scan
Apparently mdns-scan queries _services._dns-sd._udp.local which is described further a bit here:
This may lead to some clues, maybe the packet is malformed in such a way to be unacceptable to the _services._dns-sd._udp.local method?
from mdns_generic.
More clues: in avahi-browse i'm seeing what looks like buffer overrun in the name 0_o
E Ifce Prot Name Type Domain
+ wlp3s0 IPv4 my_arduino _http\028._tcp local
from mdns_generic.
Hi @gigaj0ule
I'm able to see arduino with avahi-browse, but not mdns-scan
Can you check to be sure mdns-scan
is fully compatible and OK to use? Also check using other better boards (STM32F4/F7, etc), or the original ArduinoMDNS library, if possible, to isolate the issue (STM32 F1 board, Ethernet, this library's bug, etc.)
Anyway, I'll archive this library soon as I won't have time to spend on this library anymore.
Your investigation, updated info, PR are appreciated to help other users.
Best Regards,
from mdns_generic.
I need to do more looking into mdns-scan to know where the bug is exactly.
I'll keep digging!
As this is the only recently-maintained ethernet-compatible mDNS library for Arduino, I am not sure why you would want to archive it?
from mdns_generic.
I just tested the original ArduinoMDNS library and the buffer overrun problem that results in
E Ifce Prot Name Type Domain
+ wlp3s0 IPv4 my_arduino _http\028._tcp local
\028 still there...
However, the service browser now only returns _http like it is supposed to.
Discovering services of type '_http' via Bonjour...
Found: 'EPSON XP-810 Series' at 10.0.0.225:80
Found: 'Brother HL-L2360D series' at 10.0.0.110:80
Finished discovering services of type _http
So I can say at the very least in MDNS_Generic the service browser is a little too overzealous.
from mdns_generic.
As this is the only recently-maintained ethernet-compatible mDNS library for Arduino, I am not sure why you would want to archive it?
I'm sorry I really don't have time to spend on this library and mDNS topic for quite a long time. It's hard and time-consuming to start over every time to reread all the necessary info / specs.
Hopefully someone (you ???) will take over and maintain this library. Before that time, I'm still trying my best and really appreciate any contribution (bug fix, PR, etc.)
It's good you're making some progress.
from mdns_generic.
If tested OK and problem fixed, could you make the PR? Thanks
from mdns_generic.
Related Issues (9)
- Support IndustrialShields mDuino family of Confrollers HOT 6
- Check on UDP length maybe discards correct responses HOT 3
- Example code in WiFiDiscoveringServices not working on Arduino MKR WiFi 1010, found "\r\n" in serial input. HOT 1
- UDP Length check discards correct responses when resolving names - On Nano RP2040 Connect HOT 2
- Portenta H7 MDNS Library compatibility HOT 23
- mDNS stops working after two minutes HOT 20
- Personal Credentials left in repo HOT 1
- ESP32 - WiFiResolvingHostNames HOT 1
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 mdns_generic.