ArduinoCore-mbed
ArduinoCore-mbed copied to clipboard
Inconsistencies between Ethernet libraries of different architectures
I'm working on a multi architecture project and foundthat there are inconsistencies of Ethernet libraries for different architectures. E.g.:
- Ethernet library for AVR contains Dns.h (with more DNS related functions) while Ehternet for Opta doesn't
- Ehternet for AVR doesn't contain hostname related functions (e.g.: Ethternet.setHostName())
It'd be good to synchronize different Arduino architectures at API level, to make it possible to create portable code.
It was posted to https://github.com/arduino-libraries/Ethernet/issues/251 also.
Ethernet in Mbed doesn't have setHostname, because Mbed networking doesn't support it
Sorry, It's my mistake, I has saw it in PlatformIO's framework-arduino-mbed code.
I saw it in PlatformIO's framework-arduino-mbed code.
the previous version of Mbed Core had in the header but without an implementation in cpp