EthernetBonjour
EthernetBonjour copied to clipboard
«Help wanted with Arduino Leonardo ETH»
Hello! I use Arduino Leonardo ETH in my projects. Leonardo ETH uses Ethernet2.h library for working with Network. Unfortunately I can't use EthernetBonjour library with my Arduino. Is there any chance to adapt Bonjour library for Leonardo ETH?
Hello JLightMedia,
one of the next steps is to add the capability to use the Ethernet2 lib. My Leonardo is not here yet but should arrive at the start of the next week. I will have a look into that and will update this lib accordingly, but bear with me, i don't have that much time currently on my hand.
I will write to you again when i have news for you.
Regards Marcel
Hello Marcel! Thank you for answer! I will wait your update!
Regards Roman
Hi Roman,
This is exactly the reason I re-wrote part of this library and judging by what I've found about JLightMedia you are not a newbie at Arduino stuff and might be able to get this to work by making small modifications to the Bonjour library yourself.
The initial library had a many direct dependencies one the W5100 chip from WizNet. I removed all of these dependencies and replaced them with generic UDP calls. I've used tis sucessfully in several project using the WIZ 820io which uses the W5200 chip and that chip and W5500 used the Leonardo ETH are hardware compatible.
What might work is to replace two includes in the EthernetBonjour.cpp.
If you replace:
#include <Ethernet.h> #include <EthernetUdp.h>
with
#include <Ethernet2.h> #include <EthernetUdp2.h>
Things might just work.
A word of caution, however. The Bonjour library is quite large and you will not have a lot of memory left on that skimpy Leonardo ETH. I personally don't use Arduino boards anymore but use the full Arduino compatible Teensy boards.
I've replaced two includes in EthernetBonjour.cpp. file. But it seems that it doesn't work. I've uploaded my Leonardo ETH and couldn't fine "arduino" service :( And also. I need Bonjour service for work with Apple rtpMIDI. Can you say what type of settings I need to put in sketch to advertise my Arduino in this Apple service?
P.S. Thank you for help!
Hello Roman,
i had that problem initialy to, but i am not to sure right now what fixed that. Another user has that problem to, so i will look into that one aswell.
As i said, i am waiting for my arduino to arrive to play around with the eth2 lib.
I will keep you up to date!
Regards, Marcel
Hey, good news!
Instead of the set arrival date of the 1-4 sept. The Arduino arrive today :P So when i get home i can start working on this!
Regards, Marcel
Hooray!!!
Ok, i looked into that. The problem ist that i can't even get the web server example sketch with the leonardo eth working and i have actually no idea why. I used the eth2 lib from adafruit. I checked the wiring... (Not much to do there tbh).
Therefore can't this lib work at all. Have you gotten the leonardo eth working? I can't :(
Regards, Marcel
Hello again! Do you have any idea how make EthernetBonjour library to work on Leonardo ETH?
Hi guys! Do you have any success with Leonardo and Bonjour service ?