Commit Graph

14 Commits (269fd335c27d076c82543dfa2285e8449dd2db22)

Author SHA1 Message Date
Jeff Lehman 0bf0015576 Add LoRa ACK & CRC functionality for gateway #54 2 years ago
Sascha 5027623cb8 Fixing configuration system - part 2: gateways
Further work on #71 :
- Added config code to fdrs_functions.h.
- Commented all local config settings -> global config settings will be taken by default.
- added a debugConfig function, to check from where settings have been taken. May be moved to a place where sensors and gateways can share code as this is needed only once. For the sake of simplicity the function made it into fdrs_sensor.h and fdrs_functions.h Needs to be refined, as there is redundancy right now.
2 years ago
Sascha b73b7a4b1c Added LoRa Debug info for BAND and SF to all nodes for better debugging
As there is still a lot of redundancy in the project, in a first step I added the debug messages in each of the places.
2 years ago
Sascha c0e28b0403 LoRa debug: show band and sf for better debugging 2 years ago
Timm Bogner d3e137ab8b unifying gateways etc
more to come
2 years ago
Sascha 3878c27725 Fixed #59
Fixed #59 with the help of aviateur17. Explanation here: https://github.com/timmbogner/Farm-Data-Relay-System/issues/59#issuecomment-1183915731
2 years ago
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
2 years ago
Timm Bogner 9b9c6a8e64 function junction 2 years ago
Timm Bogner 64bcbf947a
Merge branch 'dev' into create-sd-card-logging 2 years ago
Timm Bogner 8825396298
Merge pull request #49 from Gulpman/dev
Dev: refactoring GLOBALS to FDRS_GLOBALS
2 years ago
theFeiter e74c7f22fe update global fdrs functions 2 years ago
theFeiter 6b51e1c978 add prefixes to defines 2 years ago
Sascha 25fb6b4d26 refactored GLOBALS to FDRS_GLOBALS
Globals is just too... global :)
Could also conflict with other libraries.
2 years ago
Sascha b2423b5265 cleanup of examples folder
- copied fdrs_functions.h to the root dir.
- removed all local occurances of fdrs_sensor.h and included the global <fdrs_sensor.h> instead.
- removed all local occurances of fdrs_functions.h and included the global <fdrs_functions.h> instead.
- made inclusion of fdrs_globals.h the default instead of using the llocal definitions in the file everywhere were FDRS_xxx is defined correctly.
- Fixed the faulty calls to functions where the local defines instead of the FDRS_xxx defines were used, e.G. BAND instead of FDRS_BAND
- For easier debugging I added some variation to the sensor sketches: Humidity values are randomly choosen between 0-100. For ease of view I made the first digit of the temperature values match the Reading_ID
2 years ago