From 65617a9b1caf1a39eba3cc72c9f9284227e0e4c0 Mon Sep 17 00:00:00 2001 From: Juraj Andrassy Date: Fri, 1 Dec 2023 09:53:35 +0100 Subject: [PATCH] Ethernet.h remove unimplemented methods socketAddressFromIpAddress in implemented in the base class setHostname causes linker error. implementation is not possible --- libraries/Ethernet/src/Ethernet.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/libraries/Ethernet/src/Ethernet.h b/libraries/Ethernet/src/Ethernet.h index 336621cbf..8352a1c4e 100644 --- a/libraries/Ethernet/src/Ethernet.h +++ b/libraries/Ethernet/src/Ethernet.h @@ -91,8 +91,6 @@ class EthernetClass : public MbedSocketClass { void MACAddress(uint8_t *mac_address); - void setHostname(const char *name); - int disconnect(void); void end(void); @@ -123,7 +121,6 @@ class EthernetClass : public MbedSocketClass { EthernetInterface *eth_if = &net; voidPrtFuncPtr _initializerCallback; arduino::IPAddress ipAddressFromSocketAddress(SocketAddress socketAddress); - SocketAddress socketAddressFromIpAddress(arduino::IPAddress ip, uint16_t port); }; }