Commit Graph
25 Commits
Author SHA1 Message Date
Peter Kretz c0bdea0941 - UDP / ESPEasyP2P now works for ETHERNET
- Hostname Handling refactored for better overview:
  - String NetworkGetHostNameFromSettings() returns Settings.getHostname()
  - String NetworkCreateRFCCompliantHostname() creates a RFCcompliant Hostname from Settings.cpp
  - String NetworkGetHostname() returns the Hostname prevoiusly set in ETH or Wifi dependong on Mode
- MacAddress Handling refactored
  - String NetworkMacAddress() returns the Mac addres of ETH or Wifi depending on Mode
  - String WifiSoftAPmacAddress() returns WiFi.softAPmacAddress(mac) as String
2020-04-29 19:03:31 +02:00
Peter Kretz cde9052283 Fixed ci compile bug
https://travis-ci.org/github/letscontrolit/ESPEasy/builds/680724129
2020-04-28 23:28:45 +02:00
Peter Kretz b1a3d747c0 Fixed
https://travis-ci.org/github/letscontrolit/ESPEasy/builds/680698472
ci build error
2020-04-28 21:48:59 +02:00
Peter Kretz a489b41230 ESPEasyWiFi_credentials.ino --> cpp/h
ESPEasyWiFi_ProcessEvent.ino --> cpp/h
ESPEasyWiFi.ino --> cpp/h
2020-04-28 19:44:26 +02:00
Peter Kretz 6585a48f39 ESPEasyEth.ino --> ESPEasyEth.cpp/h
Network.ino --> Network.cpp/h
2020-04-27 22:56:26 +02:00
Peter Kretz a6f75806f0 - Ethernet Commands
- remove useless comments
- ETH.config moved after ETH.begin
- Added note: Be aware with ESPEasyP2P Network, since IP Address will change. There could be conflicts.
- Ethernet JSON
- Ethernet Variables
2020-04-27 21:59:21 +02:00
Peter Kretz 09a149e7c4 Removed some comments
Build now working with HAS_ETHERNET not defined
2020-04-26 23:16:33 +02:00
Peter Kretz 6632dec482 ESP32 with Ethernet or Wifi, not both at the same time configurable via Hardware Page.
- ESP P2P is working
- Only ETH.beginPacket() with Standard Parameter is working at the moment, configuration will follow.
- Network.in not cpp/h files but this will be changed in future
- Some TODO: PKR: comments will be removed in the future, too
2020-04-26 22:29:56 +02:00
Michał Obrembski 14d91ccf10 Added displaying Ethernet parameter in sysinfo and root page 2020-04-13 15:07:35 +02:00
Gijs Noorlander 71469fbabb Fix reporting binaryFileName in sysvars page 2020-04-02 00:41:26 +02:00
Gijs Noorlander f251b6ad42 Fix Append unit number to hostname (#2918)
Fixes: #2918

Known issue:
Currently we don't use this in controllers, so we must add that as a setting for controllers.
2020-03-04 13:49:39 +01:00
Gijs Noorlander 771a46757f [Cleanup] Use StringProvider to share more code + ESP32 core lib 1.11.2 2020-03-03 10:40:00 +01:00
Gijs Noorlander da4bb18c7b [ESP32] Rename WebServer object to web_server to fix build issues
ESP32's WebServer class has the same name as our global object had.
So you could only define it in ESPEasy.ino.

Now it is renamed to `web_server` and now ESP32 and ESP8266 will happily build with the global object defined in .h/.cpp.
2020-03-03 01:23:27 +01:00
Gijs Noorlander b386b73bd2 [Cleanup] Refactor parseSystemVariables + move time functions to .h/.cpp
Trying to make the parseSystemVariables function smaller
Moved time related functions to their respective .h/.cpp classes.
This will make the code a bit more clean and also reduces the build size.
2020-03-03 00:01:45 +01:00
Gijs Noorlander c8c12a0a3a [JSON] endpoint "buildinfo" declares plugins twice #2836
Fixes: #2836
2020-02-21 16:48:24 +01:00
Gijs Noorlander a3a10f23f1 [WiFi] Improve ESP32 WiFi connect + fix mDNS updates 2019-12-03 12:22:23 +01:00
Gijs Noorlander a1ede2f624 [New UI] Add /buildinfo JSON to give list of included plugins/controllers
For the new UI, we need to fetch some JSON representing the included plugins, controllers and notifications.
2019-11-21 13:36:42 +01:00
Gijs Noorlander 78336b656b [OTA] Fix minimal OTA size computations (#2707)
Fixes: #2707

The computations did not take into account the needed extra space for 4k block alignment for OTA.
2019-11-03 12:35:41 +01:00
Gijs Noorlander b977f9b0b7 [Settings Archive] Allow to download settings from some HTTP archive 2019-08-29 17:23:34 +02:00
Gijs Noorlander 5fe5121e56 [Strings] Make sure generated strings are zero-terminated
Looked at `sprintf_P` usage in the code.
2019-07-21 15:51:28 +02:00
Gijs Noorlander 88c34c5b5c [SW WD] Count SW watchdog and feed HW watchdog
As suggested here: https://github.com/letscontrolit/ESPEasy/issues/2477
2019-07-14 01:25:41 +02:00
Gijs Noorlander 8d145e0523 [Crash info] Report last scheduled task before reboot
Just for testing/debugging purposes, the last executed task from the scheduled is logged into RTC memory.
This decoded string is also logged at boot and shown in the system info page.

It still demands quite some expertise to interpret but maybe we can find some pattern to where the crashes occur most often.
2019-07-14 01:25:41 +02:00
TD-er 3438ce9412 [Build] Make it build in Arduino IDE again (#2481) 2019-06-06 20:41:49 +02:00
TD-er ccaa065dad [Travis] Build issue with ESP32 getHostname() vs hostname() 2019-03-14 10:28:37 +01:00
TD-er af480396c4 [Webserver] Reduce flash strings in build via String Provider class
This will allow to reduce code duplication, reduce strings used in binary and makes code better readable.

This is a project which may take some time to cover all code.
2019-03-13 17:25:39 +01:00