Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-01-26 23:56:03 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-01-26 23:56:03 +0300
commit79df4b88ed68875cd58ef4e1ec5ea22f9ab9d55e (patch)
tree701938eab5583381e5896116dec79e21cc278a82 /src/Networking/Network.h
parent6e8f8223fd862eae27545ead596b52c5a6a46ca2 (diff)
Refactored MAC address code
M540 on Duet WiFi now returns correct MAC address MAC address added to object model WiFi firmware version now returned correctly in object model
Diffstat (limited to 'src/Networking/Network.h')
-rw-r--r--src/Networking/Network.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Networking/Network.h b/src/Networking/Network.h
index d37ca894..f0e0d5ae 100644
--- a/src/Networking/Network.h
+++ b/src/Networking/Network.h
@@ -81,8 +81,8 @@ public:
IPAddress GetIPAddress(unsigned int interface) const noexcept;
const char *GetHostname() const noexcept { return hostname; }
void SetHostname(const char *name) noexcept;
- void SetMacAddress(unsigned int interface, const uint8_t mac[]) noexcept;
- const uint8_t *GetMacAddress(unsigned int interface) const noexcept;
+ GCodeResult SetMacAddress(unsigned int interface, const MacAddress& mac, const StringRef& reply) noexcept;
+ const MacAddress& GetMacAddress(unsigned int interface) const noexcept;
bool FindResponder(Socket *skt, NetworkProtocol protocol) noexcept;