Commit Graph

286 Commits

Author SHA1 Message Date
anschrammh
f632ace6ed Updated the views data structure to display the wifi modes 2019-10-11 12:33:19 +02:00
anschrammh
18e47f22d1 Switched method parameters for the sdCard begin statement 2019-10-11 12:28:15 +02:00
anschrammh
e36fca5326 Displayed state of the AP and/or STA (is it enabled or not) 2019-10-11 12:23:07 +02:00
anschrammh
49a37a34f3 Removed useless include 2019-10-11 09:52:15 +02:00
anschrammh
a824610fb6 Added two new methods to know if the STA and/or AP are enabled or not 2019-10-11 09:36:39 +02:00
anschrammh
29ae07da64 Removed old WEBServerManager class (still present but not used anymore) in order to use the new one 2019-10-10 18:22:07 +02:00
anschrammh
dc21169fbd Solved a bug with tasks that are meant to not trigger right away 2019-10-10 18:20:51 +02:00
anschrammh
45b7a6245c The board is now using the new WEBServer class which can handle more than one client and is non blocking even with big files 2019-10-10 18:19:44 +02:00
anschrammh
63ead30ad0 Moved the HttpRequestData Structure from the WEBClient class to the WEBServer class 2019-10-10 18:16:33 +02:00
anschrammh
3bad569f21 Moved the HttpRequestData Structure from the WEBClient class to the WEBServer class 2019-10-10 18:15:59 +02:00
anschrammh
a95a387d30 Added the getPort() method 2019-10-10 18:13:54 +02:00
6ffe25ec3b Updated code to use the PowerManager class 2019-10-05 18:24:45 +02:00
730460bd99 Added dedicated class for power management 2019-10-05 18:24:08 +02:00
786821b36e Added new version number 2019-10-05 17:23:16 +02:00
3dce4fb00e Switched parameters for the sdcard begin statement 2019-10-05 17:22:55 +02:00
34a847a012 Updated constructor, switched cs pin and spi speed parameters for begin 2019-10-05 17:17:23 +02:00
500a441248 Merge branch 'master' of http://192.168.0.17/git/Th3maz1ng/ESP8266_swiss_army_board 2019-10-04 21:15:42 +02:00
anschrammh
6a035f09a1 Cleaning the connection process 2019-09-28 13:50:21 +02:00
4a98c5ebc6 Developped new multi client tcp server as well as web server 2019-09-13 21:15:53 +02:00
cc8e517920 Minor change to a comment 2019-09-13 21:14:52 +02:00
91f339648c Minor change to a comment 2019-09-13 21:14:09 +02:00
6c24020456 Correcting debug code which was crashing due to a change in the Dictionary class 2019-09-13 21:13:39 +02:00
563664931e Updated Dictionary code 2019-09-08 19:12:57 +02:00
812e891489 Marked destructor as virtual 2019-09-08 19:11:22 +02:00
anschrammh
30a0cc672c Updated software version number 2019-09-05 14:03:56 +02:00
anschrammh
28708ac96c Minor changes 2019-09-05 14:02:21 +02:00
anschrammh
634faad650 Minor changes 2019-09-01 22:52:21 +02:00
anschrammh
8d2df8530d Minor changes 2019-09-01 22:50:56 +02:00
anschrammh
c97db9f6a9 Fixed bug with the 'trigger once and delete' tasks 2019-09-01 22:50:26 +02:00
anschrammh
ae31aac4ee Minor change 2019-09-01 22:49:46 +02:00
anschrammh
c2c95bf339 Renamed method get to getAt and changed the get method logic 2019-09-01 22:48:01 +02:00
anschrammh
90ac468c8e Modified the main app 2019-09-01 21:36:43 +02:00
anschrammh
c79dca197a Updated the version history 2019-09-01 21:36:24 +02:00
anschrammh
6c06233dd6 Reworked the reset and restart api calls 2019-09-01 21:35:52 +02:00
anschrammh
9c030518c5 Moved the battery sensing logic in a task and added a task to reset/restart the module 2019-09-01 21:34:32 +02:00
anschrammh
b93a6f64e8 Corrected a big and nasty memory leak, renamed two methods and added the 'trigger once and delete' functionality 2019-09-01 21:33:24 +02:00
anschrammh
3642367826 Corrected syntax logic 2019-09-01 21:31:45 +02:00
anschrammh
ff7656f5e7 Updated the time/date display format (added leading zero) 2019-09-01 21:30:41 +02:00
anschrammh
0edadee37c Corrected a comment 2019-09-01 21:29:27 +02:00
anschrammh
4e8a898b26 Added a new function to format time with a leading zero 2019-09-01 21:28:30 +02:00
5cc7d1403a Added a debug text in serial 2019-08-24 20:47:55 +02:00
1f849e2336 Added the RX gpio pin as input with internal pull up since the signal it is sensing is in open drain config 2019-08-24 20:46:55 +02:00
anschrammh
9874791ace minor changes 2019-08-19 13:55:00 +02:00
anschrammh
970544025b Added the current soft version on the display 2019-08-19 13:54:39 +02:00
anschrammh
47eb7889d0 Added getSoftVersion method to get the current software version 2019-08-19 13:53:57 +02:00
anschrammh
6f74c10140 Added versions.h file to track software versions 2019-08-19 13:53:09 +02:00
anschrammh
8e832c79fc Updated lib folder 2019-05-08 23:08:15 +02:00
anschrammh
0c19650188 Added sketches to test the software 2019-05-08 23:07:13 +02:00
anschrammh
01303f97bf Added a generic List class 2019-05-08 23:06:13 +02:00
anschrammh
359160fa6d Minor changes 2019-05-08 23:05:31 +02:00
anschrammh
5e3f0dc139 Fixed potential memory leak 2019-05-08 23:05:10 +02:00
anschrammh
3f7c5f369b Fixed memory leak 2019-05-08 23:04:18 +02:00
anschrammh
27385ccab4 Changed baud rate from 9600 to 115200 2019-05-08 10:56:14 +02:00
anschrammh
6182ee5a59 Minor changes 2019-05-08 10:55:15 +02:00
Anatole SCHRAMM
57877050a0 Added three test tasks as well the runTaskScheduler() call 2019-05-02 17:27:44 +02:00
Anatole SCHRAMM
d5e1addbb6 Minor changes for test purposes | this class is going to be rewritten at some point 2019-05-02 17:25:16 +02:00
Anatole SCHRAMM
f0d6486ef0 Added an instance of the TaskSchedulerManager class 2019-05-02 17:24:11 +02:00
Anatole SCHRAMM
50af552499 Added the sleep and wakeUp methods 2019-05-02 17:23:23 +02:00
Anatole SCHRAMM
67174c1f7c Further implementation of the TaskSchedulerManager class 2019-05-02 17:22:40 +02:00
Anatole SCHRAMM
e013103fd1 Added the sleep and wakeUp methods for the ssd1306 oled driver 2019-05-02 17:21:41 +02:00
Anatole SCHRAMM
cfa7192f5f Added the togglePin method to the library 2019-05-02 17:20:52 +02:00
Anatole SCHRAMM
8ab1f45013 Added tasks function definition and implementation files 2019-05-02 17:20:18 +02:00
anschrammh
3b848dd1ac Minor change 2019-05-01 23:31:10 +02:00
anschrammh
111279603e Added RTC Flash memory third party library 2019-05-01 22:25:22 +02:00
2dabcfa334 Started to implement this class 2019-05-01 22:04:53 +02:00
0271d1607c Registered new view + other small things 2019-05-01 22:04:24 +02:00
f2a75745cc Minor change 2019-05-01 22:03:58 +02:00
8fb329e717 Modified the begin method so that it performs a real check on the RTC connection 2019-05-01 22:03:24 +02:00
42fb3f52bc Updated the IOInfo view (added port direction info : Input/Output), added a new error view 2019-05-01 22:02:11 +02:00
b2e9773b2b Moved defines to their respective files 2019-05-01 22:01:02 +02:00
9bd5329d99 Updated Dictionary class, added a new method 2019-05-01 21:59:53 +02:00
513007f2da Bug fixe with the getFilePathByHttpResource() method 2019-05-01 11:38:09 +02:00
Anatole SCHRAMM
4bf746db65 Minor changes 2019-04-30 13:38:58 +02:00
Anatole SCHRAMM
b9ac4ac950 Created the TaskSchedulerManager class (skeleton only, no implementation) 2019-04-30 13:37:47 +02:00
Anatole SCHRAMM
d9005c3ed6 Minor change 2019-04-29 17:50:43 +02:00
anschrammh
6eaffa7fa9 Updated a comment 2019-04-29 07:46:48 +02:00
anschrammh
504022d75a Minor improvements 2019-04-28 15:39:39 +02:00
anschrammh
b141eb24c2 Registered new api call 2019-04-28 15:38:50 +02:00
anschrammh
0d157d680d Added new api call to get the board power info 2019-04-28 15:37:49 +02:00
anschrammh
59b9ae757f Minor updates to the WEBServerManager 2019-04-28 15:36:38 +02:00
anschrammh
1d4ff36e45 Minor changes to the SAB class 2019-04-28 15:35:47 +02:00
anschrammh
f408d79523 Added RSSIPercent method to get the rssi in percent 2019-04-28 15:33:21 +02:00
anschrammh
7637bda305 Added an interrupt to detect io changes 2019-04-24 22:20:36 +02:00
anschrammh
1aa919c6b3 Minor changes 2019-04-24 22:20:04 +02:00
anschrammh
c20e89f1e9 Added api endpoints, IO view and minor other things 2019-04-23 08:04:18 +02:00
anschrammh
ff6f083865 Minor changes 2019-04-23 08:03:31 +02:00
anschrammh
f6e9325edb Minor changes 2019-04-23 08:03:14 +02:00
anschrammh
b3bf8d7f0c Minor changes due to IOManager 2019-04-23 08:02:54 +02:00
anschrammh
efd4ec5fd5 Added a new error definition 2019-04-23 08:01:48 +02:00
anschrammh
1a61a79561 Added a new view with the IO state 2019-04-23 08:01:01 +02:00
anschrammh
8fe8d077bf Added new api calls inrelation to the IO's 2019-04-23 08:00:26 +02:00
anschrammh
81056624b5 Added the IOManager class 2019-04-23 07:59:37 +02:00
anschrammh
e3f6f41fdb Added PCF8574 driver lib 2019-04-23 07:59:05 +02:00
anschrammh
afc11705db Added new utility library to drive a PCF8574/PCF8574A for the SAB 2019-04-20 14:00:07 +02:00
anschrammh
f4c45f62bf Replaced web files with htm files 2019-04-17 23:19:17 +02:00
anschrammh
d487ef2765 Registered the new apis calls 2019-04-17 22:45:09 +02:00
anschrammh
81de1c8752 minor changes 2019-04-17 22:44:18 +02:00
anschrammh
4f143d7bb8 Added new api requests 2019-04-17 22:43:17 +02:00
anschrammh
8cae58706f Improved WEBServerManager responsiveness 2019-04-17 20:26:37 +02:00
anschrammh
fced2942ab Added third party libs (some of them are modified) 2019-04-17 20:22:56 +02:00
Anatole SCHRAMM
73441f6b18 Improved WEBServerManager Speed 2019-04-17 14:55:42 +02:00
Anatole SCHRAMM
7e20eb48bb Added debug infos 2019-04-16 13:44:44 +02:00
Anatole SCHRAMM
bce884ff57 Added comments and todos linked to the web server 2019-04-15 13:50:54 +02:00
Anatole SCHRAMM
97f3f6a977 Added const keyword for the getters 2019-04-15 12:58:08 +02:00
anschrammh
5d95fd223b Minor changes 2019-04-15 08:00:48 +02:00
anschrammh
85539d0ff2 Reworked timeout + other improvements 2019-04-15 08:00:27 +02:00
anschrammh
1c1c8aa327 Added new api queries 2019-04-15 07:57:55 +02:00
anschrammh
f4d4581ebc Added CFGFileParser save method for test purposes 2019-04-13 13:36:36 +02:00
anschrammh
3bcc436096 Removed commented code and added a new MIME type 2019-04-13 13:35:26 +02:00
anschrammh
f7000f777b Added more verifications with the dicionaries and there values 2019-04-13 13:33:33 +02:00
anschrammh
1958188faf Added getters (isQuotedParameter and isQuotedValue) 2019-04-13 13:32:03 +02:00
anschrammh
7598ca9100 Implemented the save method + fixed a hidden bug 2019-04-13 13:30:31 +02:00
anschrammh
26ddbedc55 Improvements and bug fixes 2019-04-09 08:00:45 +02:00
anschrammh
aa95ce16ed Added a new view with memory info only 2019-04-09 07:59:49 +02:00
anschrammh
c1ec325a8b Enhanced the web api 2019-04-09 07:59:05 +02:00
anschrammh
5030d85b98 Splitted StringEntity class and definition functions 2019-04-09 07:57:55 +02:00
Anatole SCHRAMM
8f2d2bcf48 Added new api functions, fixed a memory leak (file open, but not closed on failure), reworked the way data is read and sent, now using chunks, minor other fixes 2019-04-04 17:58:13 +02:00
anschrammh
bd5afe4592 Added Dictionary string entity class for char * manipulation, completed webApi, updated main app and other small things 2019-04-04 07:56:37 +02:00
Anatole SCHRAMM
bd99e8ff27 Added the printing of the AP password in the serial monitor for debug purposes, may be removed later on 2019-04-03 17:19:05 +02:00
Anatole SCHRAMM
a33add50f1 Updated WEBServerManager due to changes in the Dictionary utility class plus bug fixes 2019-04-03 17:16:50 +02:00
Anatole SCHRAMM
b95716c38b Added temporaries debug information 2019-04-03 17:14:47 +02:00
Anatole SCHRAMM
e7e820ab2a Updated class due to changes to the Dictionary utility class 2019-04-03 17:12:25 +02:00
Anatole SCHRAMM
f63e7bf835 Reworked once more the Dictionary utility class 2019-04-03 17:09:52 +02:00
anschrammh
74ee926577 Updated main app with web api integration 2019-04-03 07:59:12 +02:00
anschrammh
78d183d03c Added webApi integration, needs a lot of improvement aka not stable 2019-04-03 07:58:42 +02:00
anschrammh
8110ae00fc Adding web api function declaration files 2019-04-03 07:57:42 +02:00
anschrammh
44e47f2ef8 Minor change 2019-04-01 23:56:04 +02:00
anschrammh
aa12a97adf Renamed addParameter method to add to be more generic 2019-04-01 23:54:34 +02:00
anschrammh
7717fa94e3 Added custom api logic function mechanism 2019-04-01 23:53:32 +02:00
anschrammh
d302ce7e45 Improved WEBServerManager class 2019-03-31 23:34:15 +02:00
anschrammh
92b648fa67 Added new private methods and updated server capabilities 2019-03-31 19:02:40 +02:00
anschrammh
6add78730d Updated constructor definition list 2019-03-31 19:01:52 +02:00
anschrammh
590e989612 Added defines for the SDCard structure 2019-03-31 19:00:12 +02:00
anschrammh
3449e0d947 Updated main view, added heap frag information 2019-03-31 11:03:58 +02:00
anschrammh
080ce45289 Added Web Server run routine call 2019-03-31 11:02:51 +02:00
anschrammh
30f4900609 Added the WEBServerManager class 2019-03-31 11:01:55 +02:00
anschrammh
c512c6b028 Added the Queue utility class 2019-03-31 08:46:33 +02:00
anschrammh
042c11dc97 Changed bool for boolean 2019-03-30 11:41:38 +01:00
anschrammh
3e609ac8ca Minor change 2019-03-30 11:41:13 +01:00
anschrammh
1f7f198582 Updated the other classes accordingly to the changes made to the dictionary class 2019-03-28 00:01:48 +01:00
anschrammh
45fc1e468b Added new class to handle the parameters and values retrieved from the config files 2019-03-28 00:00:52 +01:00
anschrammh
7ae2541999 Entirely reworked the dictionary class with templates 2019-03-27 23:59:53 +01:00
anschrammh
1596394b60 Added wifi signal strength info (RSSI) 2019-03-26 20:29:00 +01:00
anschrammh
b2f9eddebe Corrected parser logic 2019-03-26 06:41:57 +01:00
anschrammh
ab576e8d6f Updated main app 2019-03-26 06:13:44 +01:00
anschrammh
d9de53a137 Reading config from file for STA 2019-03-26 06:13:25 +01:00
anschrammh
f7460aa8ef Added a define for STA error 2019-03-26 06:12:49 +01:00
anschrammh
6ef1551121 Completed the station view 2019-03-26 06:11:54 +01:00
2c7d6390ec Added comments for bug fixes and improvements 2019-03-25 12:56:56 +01:00
anschrammh
aa2c4b0e48 Updated main app accordingly 2019-03-24 23:13:30 +01:00