Ethernet icon indicating copy to clipboard operation
Ethernet copied to clipboard

Inconsistencies between Ethernet libraries of different architectures

Open soosp opened this issue 1 year ago • 4 comments

I'm working on a multi architecture project and foundthat there are inconsistencies of Ethernet libraries for different architectures. E.g.:

  1. Ethernet library for AVR contains Dns.h (with more DNS related functions) while Ehternet for Opta doesn't
  2. 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.

soosp avatar Feb 19 '24 13:02 soosp

It was posted to https://github.com/arduino/ArduinoCore-mbed/issues/843 also.

soosp avatar Feb 19 '24 13:02 soosp

https://github.com/JAndrassy/Arduino-Networking-API/blob/main/ArduinoNetAPILibs.md

JAndrassy avatar Feb 19 '24 14:02 JAndrassy

Thanks, it very informative. But I think, that the APIs (at least the ones maintained by Arduino) sould be in sync to support the cross-platform development.

soosp avatar Feb 19 '24 14:02 soosp

But I think, that the APIs (at least the ones maintained by Arduino) sould be in sync to support the cross-platform development.

yes I am working on it. Ale the + in the tables are functions added since September 2023 and many PR are waiting to be merged

also https://github.com/JAndrassy/Arduino-Networking-API/blob/main/ArduinoNetLibsTestReport.md

JAndrassy avatar Feb 19 '24 14:02 JAndrassy