- move source file according with platformio standard directory structure

- remove lib_deps from platformio.ini since they are already in libs folder
This commit is contained in:
Luca Oliano
2024-04-27 11:06:13 +02:00
parent afd4d68580
commit ade24e86a8
54 changed files with 132 additions and 45 deletions

View File

@@ -0,0 +1,24 @@
#pragma once
#include <Preferences.h>
class IPConfiguration
{
public:
explicit IPConfiguration(Preferences* preferences);
bool dhcpEnabled() const;
const IPAddress ipAddress() const;
const IPAddress subnet() const;
const IPAddress defaultGateway() const;
const IPAddress dnsServer() const;
private:
Preferences* _preferences = nullptr;
IPAddress _ipAddress;
IPAddress _subnet;
IPAddress _gateway;
IPAddress _dnsServer;
};