Commit Graph

568 Commits

Author SHA1 Message Date
anschrammh
4841bb8dff Added the wifi network scan interface 2022-09-28 23:27:55 +02:00
5dd667e1d5 Mise à jour de 'README.md' 2022-09-27 08:15:04 +02:00
anschrammh
e3e01da80b Added the OTAUpdater class which wraps the ESP8266httpUpdate to be compatible with my OTA service php file 2022-09-27 08:05:35 +02:00
anschrammh
2eb604d24d Changed default LWIP option to use the Low memory no features one due to issues with OTA updates when using the Low memory one (OTA binary is slow to be received and times out) 2022-09-27 08:04:25 +02:00
anschrammh
04a5eb9643 Registered a new rest api endpoint for remote OTA updates, renamed getIoManager to getIOManager 2022-09-27 08:02:30 +02:00
anschrammh
9988b03306 Updated the soft version from 1.6.15 to 1.7.0 2022-09-27 08:00:52 +02:00
anschrammh
beefe8e355 Added OTA events callbacks 2022-09-27 08:00:19 +02:00
anschrammh
967e5ccdbe Added new api endpoint to query and apply OTA updates, renamed getIoManager to getIOManager 2022-09-27 07:35:48 +02:00
anschrammh
09aee48f27 Added more information about the system (ie dev mac address + current software version) and added OTA checks (querying the update server for available updates) 2022-09-27 07:34:18 +02:00
anschrammh
0dcb532007 Added the public key used for signed binary verification downloaded when doing OTA updates. Not yet in use. 2022-09-27 07:31:26 +02:00
anschrammh
63b6cf626f Added the use of the OTAManager class in the SAB class 2022-09-27 07:29:48 +02:00
anschrammh
d0d5df2b98 Added 2 new settings which indicates which root folder to use for the web and ftp server. This config file is not used yet in the app, will come soon 2022-09-27 07:29:10 +02:00
anschrammh
86452fb1b8 Added a new config file used to store OTA settings 2022-09-27 07:27:00 +02:00
anschrammh
f547c8fc07 Added a new OTAManager class which wraps the OTAUpdater class and configures it using parameters read from a cfg file 2022-09-27 07:26:12 +02:00
anschrammh
ab493ef6d8 Did some cleaning, added the flush statement to make sure the request is sent when needed and added some methodes to retrieve and reset the connection retry count 2022-09-27 07:24:22 +02:00
anschrammh
636acb1be1 Allowed more characters to be parsed between quoted values (added '.' and '/' 2022-09-27 07:21:36 +02:00
anschrammh
ff16dbcfce Now using strcasecmp to make case insensitive string compariso 2022-09-27 07:18:56 +02:00
anschrammh
636c3093de Added the on board LED Pin attribute 2022-09-27 07:17:33 +02:00
263d47d8d0 Mise à jour de 'README.md' 2022-09-25 17:57:02 +02:00
3fe5946d49 Mise à jour de 'README.md' 2022-09-25 17:53:28 +02:00
anschrammh
cabfdfcfb3 Added the const qualifier to some methods. When I have time, I SHOULD MAKE A PASS to add all needed const qualifier 2022-09-23 14:39:36 +02:00
anschrammh
bbcc262ac5 Added the -e (export binary) option when compiling as well as a user prompt to ask for the serial port when flashing 2022-09-23 14:37:03 +02:00
ae973dd8ed Renamed end point 2022-06-11 12:08:21 +02:00
0687f05bc0 Removed a warning in the WEBServer.h file and added a new api endpoint to get the software version 2022-06-11 12:05:56 +02:00
007dcbdaa4 Temporarily disabled the overloaded fillDataBuffer method which introduces issues ... 2022-06-11 11:46:53 +02:00
anschrammh
65370571d6 Added the build directory to ignored folder list 2022-05-01 22:36:28 +02:00
8efd06fdbd Minor changes due to the way system time is now handled 2022-05-01 16:28:56 +02:00
380539e57e Reworking the way the post body content is handled, not done yet 2022-05-01 16:27:36 +02:00
eb0a370cda Reworked how the time is tracked by the system in general. The external RTC is now only used to set the internal time once. This also allows cleaner File System time handling since we don't need to define a custom callback anymore 2022-05-01 16:25:56 +02:00
Anatole SCHRAMM
720f2e9579 Removed the unused variable warning in the new WEB API endpoint, changed the way sent files are handled regarding the sent bytes count both for the FTPServer and WEBServer 2022-04-29 09:58:15 +02:00
anschrammh
9247d261cf Added new WEB API end point which will later be used to perform OTA Updates 2022-04-29 07:54:45 +02:00
anschrammh
306bb3a932 Changed a debug printf statement and added a new API end point which will be used for ota updates 2022-04-29 07:52:01 +02:00
anschrammh
966177a209 The WEB Server root directory is now copied so that the parameter doesn't have to live during the whole life of the program 2022-04-29 07:50:33 +02:00
anschrammh
2449ab6013 Removed useless new line 2022-04-29 07:48:49 +02:00
anschrammh
95ae6927e8 The FTP root directory string is now copied so that the parameter doesn't have to live during the whole life of the program 2022-04-29 07:48:07 +02:00
anschrammh
714b167aef Corrected indentation 2022-04-29 07:44:58 +02:00
anschrammh
a4da8959e9 Cleaned the way config parameters are applied 2022-04-25 21:25:32 +02:00
f96ccfd8a1 Reworked the auto off implementation as well as changed the way the screen config parameters are applied from the SDCard 2022-04-24 17:35:15 +02:00
a950b5b28e Fixed typo 2022-04-24 17:33:59 +02:00
c6d4a9b111 Changed SSID_HIDDEN parameter name to HIDE_SSID 2022-04-24 17:33:21 +02:00
71c69e1a16 Reworked the way the screen goes in and out from sleep, so checking if the screen is enable or not does not make any sense anymore 2022-04-24 17:31:50 +02:00
511dcbbfd8 Mise à jour de 'sdCard_content/CONFIG/AP.CFG' 2022-04-24 13:36:57 +02:00
898a5a1c66 Mise à jour de 'sdCard_content/CONFIG/SCREEN.CFG' 2022-04-24 13:35:18 +02:00
6cbe3de785 Mise à jour de 'README.md' 2022-04-24 08:50:15 +02:00
df344464b3 Updated version history 2022-04-23 22:58:10 +02:00
4635f4daaa Added the new mallocWithFallback function which tries to allocate the specified size and falls back to a smaller size when fails 2022-04-23 22:51:52 +02:00
d9dfc15f21 Added the IP address of the device when in AP mode in the task_sys_info task 2022-04-23 22:49:47 +02:00
6130e8cd71 Reworked the way the main send buffer buffer is allocated. This is not done on the stack anymore because it led to a nasty stackoverflow. Changed some debug statements, finished the sendDirectoryListing method which is now working fine. Txt files are now sent as text/plain data. 2022-04-23 22:48:26 +02:00
16cae233bb Changed attribute type from uint64_t to size_t 2022-04-23 22:44:16 +02:00
057c058ca3 Renamed FtpMsgCode to FTPMsgCode, Added new state in the FileTransferStatus enum : MALLOC_ERROR, reworked the way the send and receive buffer is allocated, this is not done on the stack anymore which led to a silent stack overflow :-(. Changed the way the IP address is retrieved to open the passive connection 2022-04-23 22:39:46 +02:00