Commit Graph

374 Commits

Author SHA1 Message Date
anschrammh
0511435edc Updated the CFGFileParser.h to use the new utilities file 2020-12-19 20:43:45 +01:00
anschrammh
7fdb7b256e Created the utilities cpp file containing moved functions that were in the definition.h file 2020-12-19 20:40:08 +01:00
anschrammh
a67354cd84 Added a comment about why not using the strdup c function 2020-12-17 08:20:31 +01:00
anschrammh
2cf047f4ff Updated version history 2020-12-17 08:19:33 +01:00
anschrammh
e1ac857088 Called the TCPKeepAlive feature 2020-12-16 00:43:57 +01:00
anschrammh
19cf9ac678 Updated a changed method name 2020-12-16 00:42:12 +01:00
anschrammh
5627ebde48 Added the new enableTCPKeepAlive method which enable the feature for all new connected client after the call (this fixes a very annoying crash) and I corrected a bug with the maxClient setting 2020-12-16 00:40:54 +01:00
anschrammh
0c622c600b Grouped common class initialization directives in one private method and enabled new TCPKeepAlive setting for WEB and FTP servers 2020-12-15 23:50:41 +01:00
anschrammh
125a02c0e6 Minor modifications 2020-12-15 23:47:35 +01:00
anschrammh
3e193233b4 Changed the file date time adjustements 2020-12-15 00:38:46 +01:00
anschrammh
f57140ca91 Updated version history 2020-12-15 00:15:08 +01:00
anschrammh
89ee88530e Updated due to changes to the monthNumTo3LetterAbbreviation function's prototype 2020-12-15 00:14:38 +01:00
anschrammh
2b0698c7d0 Updated the monthNumTo3LetterAbbreviation function, it is no more needed to declare a buffer to store the 3 letters, instead a uint32_t is used 2020-12-15 00:11:48 +01:00
anschrammh
48991fe12e Removed old sdCard test 2020-12-13 22:00:18 +01:00
anschrammh
1dfe399d56 Added new test to check the TCPServer base class stability 2020-12-13 21:52:29 +01:00
anschrammh
ea0c82d8e4 First part of the WEBServer crash fix :) not finished yet 2020-12-13 21:25:05 +01:00
anschrammh
08576e441e Corrected a grammar mistake 2020-12-13 21:23:19 +01:00
anschrammh
bcc185bf5d Added function description 2020-12-13 21:16:29 +01:00
anschrammh
7d2ceedc9a Adjusted the file date and time format 2020-12-13 21:14:19 +01:00
anschrammh
8191aa640b Added a TCPServer stress test utility developed with the SFML 2020-12-13 20:47:35 +01:00
anschrammh
e5ace8bc16 Added a new SDcard library test program 2020-12-12 15:10:26 +01:00
anschrammh
4cf3b36f8d Added a modified version of the SDFS lib : implemented the setTimeCallback() method :) it is working now 2020-12-12 15:07:01 +01:00
anschrammh
9db06f5be6 Updated the test header as well as other small things 2020-12-12 11:15:07 +01:00
anschrammh
0ead1e5600 Changed port data type from unsigned int to uint16_t as well as removed a redundant port information 2020-12-12 11:11:35 +01:00
anschrammh
e66fd11e68 Added the EventHandler class that monitors button presses 2020-12-09 22:40:53 +01:00
anschrammh
281e07c30a Removed the old way to change the current view and added the EventHandler way to do it 2020-12-09 22:40:00 +01:00
anschrammh
e0bea5fae4 Reworked the way the rssi percentage is computed 2020-12-09 22:36:02 +01:00
anschrammh
58b8891d41 Changed max read buffer from 2500 to 2048 2020-12-08 23:25:42 +01:00
anschrammh
5076864bc2 Updated the version history file 2020-12-08 21:54:41 +01:00
anschrammh
5fd0675044 Removed useless INIT state that was the same as the LINE_BREAK state and added the - character as allowed for parameters and values 2020-12-08 21:54:11 +01:00
5225520669 Fixed potential memory leak :-( 2020-07-21 09:45:40 +02:00
7fbd206742 Mettre à jour 'src/app/Queue.h' 2020-07-17 12:49:08 +02:00
cea2bf8f64 Fixed merge conflicts 2020-07-17 12:29:32 +02:00
92c94c7c88 Renamed an error message 2020-07-17 12:24:55 +02:00
186c74a6ca Added the const specifier 2020-07-17 12:24:20 +02:00
c3812a8a26 Added the Arduino.h include 2020-07-17 12:24:00 +02:00
anschrammh
944c11477b Updated the HttpClient class and the WEBServer class 2020-07-16 22:20:23 +02:00
abed6ebd9b Corrected missing method 2020-07-14 19:07:41 +02:00
0d7c68645b Added a few methods and improved some code, class not finished yet 2020-07-14 19:07:01 +02:00
f76639745f Corrected the isReplyAvailable methode 2020-07-14 11:48:43 +02:00
2f430b305c Modified comments 2020-05-11 14:35:47 +02:00
8556363265 Removed the inclusion of definition.h which was useless 2020-04-27 12:06:21 +02:00
9ee717a41b Added a real begin to the DS1307 begin method 2020-04-27 10:17:57 +02:00
4990a7ff25 Corrected some comments 2020-04-25 12:00:29 +02:00
674577605d Cleaning the object destructor and stop method 2020-04-25 11:59:56 +02:00
anschrammh
c0e5870cb6 Created new class based on the WebSockets server class (no logic yet) 2020-02-26 11:08:20 +01:00
anschrammh
dacfb6d4d1 Added a web socket server instance (no logic yet) 2020-02-26 11:05:50 +01:00
anschrammh
5b11c54635 Added third party library to add web socket connectivity 2020-02-26 11:05:03 +01:00
anschrammh
8866177a37 Exposed the info64 method to get SD card information, not working properly, SD card lib might be at fault again 2020-02-02 21:05:15 +01:00
anschrammh
97eba55e35 Updated the main app, removed old api end points, reworked the flash button actions (long press goes to the previous view) 2020-02-02 21:01:54 +01:00
anschrammh
65d43ae1d1 Removed both sdCardMount and unMount api end points, they are now replaced by a single end point taking a parameter 2020-02-02 20:59:08 +01:00
anschrammh
ab6260a2ac Updated the version history 2020-02-02 20:57:53 +01:00
anschrammh
cb16ab7c41 Replaced return 0 with return 0.0 since it's a double 2020-02-02 20:56:16 +01:00
anschrammh
741eee8f5d Added the forceRefresh method 2020-02-02 20:55:28 +01:00
anschrammh
fe8b51d3a8 Tried to add the time call back function so that files created on the sd card get a correct time and date, not working sadly, the sd card lib might be at fault here 2020-02-02 20:54:10 +01:00
anschrammh
45f22dea3e Forgot to rename a method 2020-01-28 12:53:08 +01:00
anschrammh
a3752b3f8c Now retrieving the file's last modification date and sending it to the FTP client, I still need to figure out how to set the last modification date when a file is modified by the client though 2020-01-28 12:33:01 +01:00
anschrammh
3f77399538 Added a new helper function to get month's 3 letter abbreviation 2020-01-28 12:30:00 +01:00
anschrammh
9e3676a1bb Updated the SD card library by including the new changes from the esp8266 arduino framework 2020-01-28 12:24:19 +01:00
anschrammh
80ed2f2080 Updated the main app by adding the previousDisplay functionality 2020-01-20 08:28:26 +01:00
anschrammh
5fc76ac6a2 Updated the version history 2020-01-20 08:20:59 +01:00
anschrammh
e699b462f9 Updated the ViewLink structure in order to be able to iterate backward 2020-01-20 08:20:23 +01:00
anschrammh
723132a082 Added a new api call to get the nearby access points 2020-01-20 08:14:49 +01:00
anschrammh
cd6af9f99f Renamed a method to run() for consistency 2020-01-20 08:12:38 +01:00
anschrammh
424a135151 Updated the ScreenManager class and added the previousDisplay methods allong with screen refresh rate 2020-01-20 08:10:18 +01:00
anschrammh
6dfee719a9 Renamed a few methods for consistency 2020-01-20 08:03:28 +01:00
anschrammh
d371eeb267 Added a run method which is including run methods from different services 2020-01-20 08:01:25 +01:00
anschrammh
488d442df3 Added the max retries option 2020-01-07 12:22:29 +01:00
anschrammh
e74cf22c71 Added the setString method to the string entity object 2020-01-07 12:20:10 +01:00
anschrammh
57a5f05e29 Updated the version history 2019-12-28 14:14:58 +01:00
anschrammh
5116ea41eb Removed old test tasks, added a new test task 2019-12-28 14:11:33 +01:00
anschrammh
2b32fd68ea Created a new task in order to test the HttpClient class 2019-12-28 14:10:50 +01:00
anschrammh
af25f55089 Updated getHTTPHeader function (increased mime type size) 2019-12-28 14:09:51 +01:00
anschrammh
d0349ea26e Renamed former HtmlClient to HttpClient and implemented the methods 2019-12-28 14:07:40 +01:00
anschrammh
ea60399ea3 Added new helper functions 2019-12-28 14:04:50 +01:00
anschrammh
2d73921bc7 Minor modifications 2019-12-27 10:50:32 +01:00
anschrammh
7b80f7a95c Minor changes to the Dictionary class 2019-12-27 10:48:47 +01:00
anschrammh
9148e61911 Created new HttpConstants class 2019-12-27 10:47:34 +01:00
anschrammh
2cca10ec5a Removed http specific enums, which are now part of the HttpConstants class 2019-12-27 10:47:02 +01:00
anschrammh
c29d4edbd7 Renamed HtmlClient to HttpClient 2019-12-27 10:45:52 +01:00
635273589f Started to define class methods 2019-12-25 21:07:53 +01:00
1eaa1c1361 Added a new state to the state machine for consistency 2019-12-25 21:07:11 +01:00
82db9489f7 Added a debug statement 2019-12-25 21:06:12 +01:00
fafbcc36cf Minor fix because of an issue introduced by the new esp8266 core release 2019-12-25 21:03:21 +01:00
anschrammh
d91f394416 Created new empty class which will be used to do Html queries 2019-12-21 14:59:48 +01:00
anschrammh
c235f7936e Corrected header guards 2019-12-21 14:58:55 +01:00
anschrammh
88b8b757b2 Registered the new api endpoint 2019-11-18 11:45:08 +01:00
anschrammh
ff3d999449 Updated the version history 2019-11-18 10:57:54 +01:00
anschrammh
6ac860861d Added an api endpoint to adjust CPU frequency and used the new injectApiHeader for testing purposes 2019-11-18 10:55:41 +01:00
anschrammh
1db65be493 Added the setCpuFreq() method to change the cpu clock at run time 2019-11-17 20:32:08 +01:00
anschrammh
e7cf2fa020 Added a handy way to retrieve the configuration of a config file without having to instantiate a parser - but I do not like it - might be removed in the future 2019-11-17 19:31:06 +01:00
anschrammh
ef2f986581 Updated the code, the save feature needs to be tested carefully before using it 2019-11-17 19:28:50 +01:00
anschrammh
e9625b909c Implemented the post data parser (only for application/x-www-form-urlencoded), replaced strcpy with memmove, put string that was in ram to flash + other optimizations 2019-11-17 19:25:36 +01:00
anschrammh
28ad4c0342 Added a new method in order to update the value of a parameter 2019-11-17 13:57:01 +01:00
anschrammh
efadce0b41 Added a new getUpTime() method which returns the board running time 2019-11-17 11:02:21 +01:00
anschrammh
cd46e089f1 Changed strcpy to memmove to handle memory overlaps 2019-11-17 10:59:59 +01:00
anschrammh
c19c15dd07 Added a new range attribut in order to handle the http bytes-range command (to be done) 2019-11-17 10:58:43 +01:00
anschrammh
4ee100d16b Minor changes 2019-11-17 10:50:49 +01:00
anschrammh
aa544d307e Corrected some code and improved logic 2019-11-17 10:47:10 +01:00
anschrammh
df1816ca44 Moved the connectivity defines where they belong to (ConnectivityManager.h) 2019-11-17 10:45:00 +01:00