EthernetBonjour icon indicating copy to clipboard operation
EthernetBonjour copied to clipboard

Patching for Ethernet2

Open canoemoose opened this issue 6 years ago • 1 comments

Hi, I've made the changes to EthernetBonjour.cpp as outlined in this post in order to use EthernetBonjour with the Ethernet2 library on an Adafruit Feather M0 with Ethernet Wing, whcih uses the W5500 chipset.

My sketch compiles with no errors, however Bonjour fails to start - EthernetBonjour.begin("arduino") returns 0 .

Is there anything I've missed, or anything I can try? (tagging @DeltaCore too, for insight)

canoemoose avatar Nov 13 '18 17:11 canoemoose

Hi,

i am not familiar with that shield tbh. Have you tried any of the example sketches from the Ethernet2 lib to make sure the module it self is working?

The only thing i can imagine is that something with the multicast part is not working the way it should.

What i noticed was this line on the adafruit page: Works with all/any of our Feather boards as an Ethernet Client (server not supported at this time)!

The server thing could be the crucial part. beginMulticast (which is probably the part that fails) opens a socket which is basicly a server and adafruit sais the board can't work as a server. I don't have that hardware so i can't do debugging for that really well.

As i said, try some example sketches from the ethernet2 library from adafruit - especially the ones with server functionallity to see if the statement from adafruit is true about the not working as a server.

  • Marcel

DeltaCore avatar Nov 16 '18 17:11 DeltaCore