Commit Graph

20 Commits

Author SHA1 Message Date
Jeff Lehman
269fd335c2 Add LoRa ACK & CRC functionality for sensors #54 2022-07-25 13:28:21 -05:00
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.
2022-07-21 14:01:51 +02:00
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.
2022-07-21 12:11:35 +02:00
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.
2022-07-21 11:46:16 +02: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
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
8825396298
Merge pull request #49 from Gulpman/dev
Dev: refactoring GLOBALS to FDRS_GLOBALS
2022-07-07 18:06:01 -05: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
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
Timm Bogner
3152062023 moving and shuffling 2022-07-05 09:05:31 -05:00
Timm Bogner
21c1b4be59 housekeeping 2022-06-30 08:30:24 -05:00
DevilBinder
f06d094d53 fix type 2022-06-24 18:21:39 +02:00
DevilBinder
a0e65ffeff Add macro to enable debugging 2022-06-23 20:36:35 +02:00
DevilBinder
609efe0d40 Move type into its own header file so gateways and sensors can share it 2022-06-21 21:08:31 +02:00
DevilBinder
0529c6a4dc Add credits 2022-06-20 22:48:14 +02:00
DevilBinder
657b845f95 remove dead code 2022-06-20 22:42:46 +02:00
DevilBinder
cdb5e5e0fd Add dependency switch macro 2022-06-20 22:38:28 +02:00
DevilBinder
b16489b42e add LoRa 2022-06-20 22:24:45 +02:00
DevilBinder
33809f569d Condense into a single sensor file 2022-06-20 21:50:02 +02:00