add network device name to sysinfo page

This commit is contained in:
technyon
2023-02-05 19:26:15 +01:00
parent 8580857ef3
commit ff62368012
8 changed files with 26 additions and 0 deletions

View File

@@ -479,6 +479,11 @@ bool Network::encryptionSupported()
return _device->supportsEncryption();
}
const String Network::networkDeviceName() const
{
return _device->deviceName();
}
void Network::publishFloat(const char* prefix, const char* topic, const float value, const uint8_t precision)
{
char str[30];