rjwats
0d39c5ca00
Apply updates alternative ( #135 )
* Rename "serialize" and "deserialize" functions to "read" and "update" to reflect API in StatefulService
* Move new definitions to StatefulService.h so it is obvious it is not general purpose
* Update README
4 years ago
rjwats
4fa491e309
adopt explicit initialization - with the exception of trivial classes ( #122 )
4 years ago
rjwats
0e2124062f
Use references & flash strings where approperate ( #110 )
* pass originId as const reference
* store strings for serial logging in flash
* Use string references where approperate.
4 years ago
rjwats
a1f4e57a21
Rework backend add MQTT and WebSocket support
* Update back end to add MQTT and WebSocket support
* Update demo project to demonstrate MQTT and WebSockets
* Update documentation to describe newly added and modified functionallity
* Introduce separate MQTT pub/sub, HTTP get/post and WebSocket rx/tx classes
* Significant reanaming - more accurate class names
* Use PROGMEM_WWW as default
* Update README documenting PROGMEM_WWW as default
* Update README with API changes
4 years ago
rjwats
ea6aa78d60
Fix issue under ESP32 where there is a delay re-configuring WiFi
When re-configuring we must wait for it to disconnect and stop before reconnecting.
4 years ago
rjwats
39a86b0411
External config
Allow config to be accessed from outside the framework core code.
4 years ago
Rick Watson
62f3d3fc7a
fix broken imports under ESP32
use ESP32 rather than ESP_PLATFORM - it's ambigious
standardise to ifdef ESP32 elif defined(ESP8266)
use ifdef over if defined where possible
5 years ago
Rick Watson
f4ae632956
reformat with .clang-format based on google's spec with some minor changes
5 years ago
Rick Watson
6aede04282
Set persistant WiFi opmode to WIFI_OFF if not already configured that way
5 years ago
Rick Watson
41f7579bd5
Resolve issue with AP.
Fix newly introduced null pointer in AuthenticationService.
5 years ago
Rick Watson
f77428e4dc
move initialization code to constructors as a simplfication
5 years ago
Rick Watson
f88520db44
experimenting with some refactoring
5 years ago
Rick Watson
4089b32941
fix issue, using wrong even in esp32
5 years ago
Rick Watson
2eb34e83f8
Access Point only comes back up if WiFi is properly disconnected on failures.
5 years ago
Rick Watson
e7248c4774
leave WiFi disconnected by default
implement controlled retry - fixed at 60 seconds
5 years ago
Rick Watson
73433586b6
add security to all admin endpoints
5 years ago
Rick Watson
59d2646823
Minor formatting fixes
5 years ago
pcniatic
2131d86224
[ESP8266/ESP32] Problem setting hostname while on dynamic ip. ( #17 )
20 - Device does not change from static IP mode correctly
21 - DHCP hostname is not correctly configured (ESP32 & esp8266)
5 years ago
Mauro De Lucca
b75cee0b30
Improving readIP function
Change logic to first check if JsonVariant is a String.
5 years ago
Mauro De Lucca
5b0c3e29a1
Corrected issues while enabling static IP on web.
For some reason root[key] is false and it always sets INADDR_NONE to _ip.
5 years ago
Rick Watson
14820616a6
Add code and required to support differences between eps32 and esp8266 environments
6 years ago
rjwats@gmail.com
63a639eb22
initial commit of C++ back end and react front end
6 years ago