Commit Graph

25 Commits (56cc65c4a1956a8a2d1cf14f738deebb6a79cd6d)

Author SHA1 Message Date
Jeff Lehman e26d44ff44 Merge branch 'dev' of https://github.com/aviateur17/Farm-Data-Relay-System into dev 2 years ago
Jeff Lehman eed87ac84c Validate CRC when sensor does not want ACK - improvement #54 2 years ago
Timm Bogner 90ac7148fe
Merge branch 'dev' into dev 2 years ago
Jeff Lehman 269fd335c2 Add LoRa ACK & CRC functionality for sensors #54 2 years ago
Sascha 62c247275a Applied changes to FDRS_Sensor and FDRS_Gateway folders 2 years ago
Sascha 5e85269373 Clean up of #72
- moved configuration checkup to external file to make sensor and gateway files smaller.
- for sensors the config now only is shown if the sensor does NOT return from Deep Sleep. For example when pressing the reset button or after a crash.
- for gateways the configuration is shown once and also can be forced to be shown with a reset. Code should work for ESP32 and ESP8266 - have only tested it with ESP32.
- fixed issue in fdrs_functions.h - if MQTT_AUTH was enabled but WIFI disabled, the compile crashed.
2 years ago
Sascha cfa57e388b Fixing configuration system - part 1: sensors
Fixed the configuration system for sensor nodes. Gateway nodes are still to be fixed (work still in process :) )
This has been addressed in #71

Important: For this system to work and make the onboarding easier for new users, global settings must be used by default and therefore local settings must be commented out by default.
2 years ago
Sascha c27bffe1ec Further debug enhancements
Added Id and data content to debug message.
Also changed the order to meet the serial debug output of the gateway - this way it is much easier to check if what has been sent is what has been received.
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 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.
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 8825396298
Merge pull request #49 from Gulpman/dev
Dev: refactoring GLOBALS to FDRS_GLOBALS
2 years ago
theFeiter d093128e7c only use defined spi pins on ESP32 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
Timm Bogner 3152062023 moving and shuffling 2 years ago
Timm Bogner 21c1b4be59 housekeeping 2 years ago
DevilBinder f06d094d53 fix type 2 years ago
DevilBinder a0e65ffeff Add macro to enable debugging 2 years ago
DevilBinder 609efe0d40 Move type into its own header file so gateways and sensors can share it 2 years ago
DevilBinder 0529c6a4dc Add credits 2 years ago
DevilBinder 657b845f95 remove dead code 2 years ago
DevilBinder cdb5e5e0fd Add dependency switch macro 2 years ago
DevilBinder b16489b42e add LoRa 2 years ago
DevilBinder 33809f569d Condense into a single sensor file 2 years ago