Commit Graph

423 Commits

Author SHA1 Message Date
Sascha
0d7c767070 Added example from @Devilbinder to the repo
Added the example sketch.
At the moment this resides in a separate folder but after the Universal_Gateway has been finished this could be moved into the Full_System_Example or a generic Gateway_Examples folder.
2022-07-11 16:47:15 +02:00
Sascha
9ab5be2258 Update keywords.txt
Added further entries to keywords.txt
2022-07-11 16:29:16 +02:00
Sascha
700f87b6a4 houeskeeping in Universal Sensor's config file
Put FDRS_DEBUG to top
Some formatting and further explanations on the settings.
Uncommented local LoRa settings, so by default the global fdrs settings are taken.
This makes the setup process easier and less error-prone.
2022-07-11 16:25:03 +02:00
Sascha
acf53e6ed5 Refactored gateway config files
Refactored fdrs_config.h to fdrs_gateway_config.h
This way it is directly visible from within a folder, what the config is for.
2022-07-11 16:07:46 +02:00
Sascha
249904fbc4 Refactoring for easier understanding while coding
Step one: refactor sensor_setup.h -> fdrs_sensor.h
2022-07-11 15:59:47 +02:00
Sascha
52f0d0c9ce
Merge branch 'timmbogner:dev' into dev 2022-07-11 13:45:23 +02:00
Timm Bogner
3979c09dd7 changed reading_id to uint16_t 2022-07-10 20:38:43 -05:00
Timm Bogner
59196b7829 fixed if/else 2022-07-09 20:22:33 -05:00
Timm Bogner
e10315bc28 used enum to make newData more expressive 2022-07-09 20:05:34 -05:00
Sascha
06036e54e4 Fixed issue with ignored global settings in fdrs_sensor.h
This needs to be checked, especially in the new class-based model of sensors and gateways: First the global settings must be checked and the corresponding local settings for a sensor / gateway commented out.
Then either the one or other is saved in a FDRS_prefix variable. After that checks must soley be done against FDRS_variables.
2022-07-09 19:13:36 +02:00
Timm Bogner
47ba30d167
Merge pull request #45 from thefeiter/spiffs-logging
Create internal flash (LittleFS) logging functionality
2022-07-08 18:59:05 -05:00
Timm Bogner
635977b789
Merge pull request #53 from Gulpman/dev
DEV: Refactored DEBUG and DBG to FDRS_DEBUG and FDRS_DBG
2022-07-08 18:58:19 -05:00
theFeiter
d8317daf83 this just fixed the write speed issue 2022-07-08 11:33:46 +02:00
theFeiter
83c11c27ed Merge branch 'dev' into spiffs-logging 2022-07-08 10:13:17 +02:00
Sascha
9e57a8f299 Refactored DEBUG and DBG to FDRS_DEBUG and FDRS_DBG
Changed those values to be prevent compiling issues with PlatformIO and also as it is good practice not to use names which easily could collide with other libs.
Also removed a duplicate line from keywords.txt
2022-07-08 08:41:58 +02:00
Timm Bogner
9b9c6a8e64 function junction 2022-07-07 23:33:16 -05:00
Timm Bogner
a8e94156dd Updated gateway .ino 2022-07-07 23:29:03 -05:00
Timm Bogner
05bc51ae6c
Merge pull request #42 from thefeiter/create-sd-card-logging
Add a logging function to write incoming Packets to SD card
2022-07-07 21:39:28 -05:00
Timm Bogner
64bcbf947a
Merge branch 'dev' into create-sd-card-logging 2022-07-07 21:19:10 -05:00
Timm Bogner
64eb35a918 fixed macro names 2022-07-07 21:15:50 -05:00
Timm Bogner
8825396298
Merge pull request #49 from Gulpman/dev
Dev: refactoring GLOBALS to FDRS_GLOBALS
2022-07-07 18:06:01 -05:00
Timm Bogner
0da17e0ddb
Merge pull request #50 from thefeiter/add-prefix-to-defines-for-pio
Add prefix to defines and unify SPI initialization
2022-07-07 18:03:32 -05:00
Timm Bogner
8dd4dfec72
Merge pull request #52 from Devilbinder/dependency
Add missing MQTT dependency
2022-07-07 17:59:08 -05:00
Timm Bogner
fd953f8d68
Merge pull request #51 from Devilbinder/dev
Add formal documentation
2022-07-07 17:57:53 -05:00
Binder Tronics
7edfe72742 typo 2022-07-07 19:59:32 +02:00
Binder Tronics
14bfabc7b2 add missing dependency 2022-07-07 19:50:29 +02:00
Binder Tronics
74b2cd33ac add docs 2022-07-07 19:31:11 +02:00
Binder Tronics
d4ce926b12
Merge pull request #10 from timmbogner/dev
Dev
2022-07-07 19:01:15 +02:00
theFeiter
e74c7f22fe update global fdrs functions 2022-07-07 15:29:34 +02:00
theFeiter
2eb8755ce9 add spi Initialization for ESP32 2022-07-07 12:47:30 +02:00
theFeiter
d093128e7c only use defined spi pins on ESP32 2022-07-07 12:38:57 +02:00
theFeiter
6b51e1c978 add prefixes to defines 2022-07-07 12:37:04 +02:00
Sascha
a26346dc86 Update keywords.txt
Added literals and sorted entries for easier maintenance.
2022-07-07 12:32:34 +02:00
theFeiter
d013f38196 apply some compiler suggestions 2022-07-07 11:59:04 +02:00
Sascha
4860d694c3 Update .gitignore 2022-07-07 11:57:54 +02:00
theFeiter
5d4d0d40cc Merge branch 'create-sd-card-logging' into spiffs-logging 2022-07-07 11:55:25 +02:00
theFeiter
5e7f277bcd small corrections 2022-07-07 11:53:37 +02:00
theFeiter
cb47f6c02e use littlefs since spiffs is deprecated 2022-07-07 11:49:57 +02:00
theFeiter
d67e831e64 Revert "use littlefs since spiffs is deprecated"
This reverts commit da4b403246.
2022-07-07 11:45:18 +02:00
theFeiter
da4b403246 use littlefs since spiffs is deprecated
apply some suggestions from the compiler
2022-07-07 11:42:17 +02:00
Sascha
25fb6b4d26 refactored GLOBALS to FDRS_GLOBALS
Globals is just too... global :)
Could also conflict with other libraries.
2022-07-07 11:40:12 +02:00
Sascha
86f0a1c4ef Update .gitignore
Added fdrs_globals.h to .gitignore.
This way one can directly work in the repo and maintain personal configuration without exposing it to the public by accidentially submitting them.
If someone knows a safe way to revert a file in a repo with fully removing the previous commit, I would be glad to hear about a solutin.
2022-07-07 11:17:06 +02:00
theFeiter
9d5a1062dc change filename 2022-07-07 00:48:58 +02:00
theFeiter
5624ac30af create SPIFFS logger function 2022-07-07 00:27:01 +02:00
theFeiter
61d6556373 create SPIFFS logger function 2022-07-07 00:26:55 +02:00
theFeiter
0738fc1e72 rename again to match other 2022-07-06 23:17:04 +02:00
theFeiter
a7ab16d9f7 rename again to match other 2022-07-06 23:14:25 +02:00
theFeiter
abd9593869 rename method 2022-07-06 23:03:28 +02:00
theFeiter
c5ad360ab0 Merge branch 'dev' into create-sd-card-logging 2022-07-06 22:59:21 +02:00
theFeiter
520ce3f050 add column information 2022-07-06 22:58:28 +02:00