diff options
Diffstat (limited to 'src/DuetNG/DuetWiFi/Network.cpp')
-rw-r--r-- | src/DuetNG/DuetWiFi/Network.cpp | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/DuetNG/DuetWiFi/Network.cpp b/src/DuetNG/DuetWiFi/Network.cpp index 316461c4..e15d0ec0 100644 --- a/src/DuetNG/DuetWiFi/Network.cpp +++ b/src/DuetNG/DuetWiFi/Network.cpp @@ -59,6 +59,22 @@ void Network::Init() uploader = new WifiFirmwareUploader(Serial1); } +void Network::EnableProtocol(int protocol, int port, bool secure, StringRef& reply) +{ + reply.copy("M586 is not yet implemented on this platform"); +} + +void Network::DisableProtocol(int protocol, StringRef& reply) +{ + reply.copy("M586 is not yet implemented on this platform"); + +} + +void Network::ReportProtocols(StringRef& reply) const +{ + reply.copy("M586 is not yet implemented on this platform"); +} + void Network::Activate() { activated = true; @@ -748,16 +764,6 @@ const uint8_t *Network::GetIPAddress() const return ipAddress; } -uint16_t Network::GetHttpPort() const -{ - return DefaultHttpPort; -} - -void Network::SetHttpPort(uint16_t port) -{ - // Not supported -} - // Set the DHCP hostname. Removes all whitespaces and converts the name to lower-case. void Network::SetHostname(const char *name) { |