diff options
Diffstat (limited to 'src/Networking/W5500Ethernet/W5500Interface.cpp')
-rw-r--r-- | src/Networking/W5500Ethernet/W5500Interface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Networking/W5500Ethernet/W5500Interface.cpp b/src/Networking/W5500Ethernet/W5500Interface.cpp index fb8ba382..18f008d0 100644 --- a/src/Networking/W5500Ethernet/W5500Interface.cpp +++ b/src/Networking/W5500Ethernet/W5500Interface.cpp @@ -44,6 +44,7 @@ W5500Interface::W5500Interface(Platform& p) const ObjectModelTableEntry W5500Interface::objectModelTable[] = { + { "name", OBJECT_MODEL_FUNC_NOSELF("ethernet"), TYPE_OF(const char *), ObjectModelTableEntry::none }, { "ip", OBJECT_MODEL_FUNC(&(self->ipAddress)), TYPE_OF(IPAddress), ObjectModelTableEntry::none }, { "netmask", OBJECT_MODEL_FUNC(&(self->netmask)), TYPE_OF(IPAddress), ObjectModelTableEntry::none }, { "gateway", OBJECT_MODEL_FUNC(&(self->gateway)), TYPE_OF(IPAddress), ObjectModelTableEntry::none } |