Commit Graph

25 Commits

Author SHA1 Message Date
Jeff Lehman
f3d840f944 Disable ACK by default for sensors #54 2022-07-25 14:01:46 -05:00
Jeff Lehman
269fd335c2 Add LoRa ACK & CRC functionality for sensors #54 2022-07-25 13:28:21 -05:00
Timm Bogner
7cf9ea113d Update fdrs_sensor_config.h 2022-07-24 21:26:25 -05:00
Timm Bogner
7e208cbc9b Merge branch 'main' into dev 2022-07-24 20:28:54 -05:00
Timm Bogner
d04639a865 Finished ping support
Not immediately useful, but it is interesting to know how low an FDRS ping is (in ms). I won't ruin the surprise, but it's pretty low.

More importantly however, I laid out how SystemPackets will work. I might rename those.
2022-07-22 01:37:57 -05:00
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.
2022-07-21 16:24:01 +02: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
d6201fdd6d Update fdrs_sensor.h
Missed one :)
2022-07-21 12:17:16 +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
Timm Bogner
3c3231e4f0 implementing SystemPackets 2022-07-20 23:32:39 -05:00
Timm Bogner
a8339f1136
Merge branch 'main' into dev 2022-07-20 13:40:12 -05:00
Timm Bogner
17e33b82af
Update README.md 2022-07-20 13:28:09 -05:00
Timm Bogner
6a5e7acd13 sensors are go 2022-07-19 08:39:06 -05:00
Timm Bogner
d3e137ab8b unifying gateways etc
more to come
2022-07-18 20:42:42 -05: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
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
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
Timm Bogner
3152062023 moving and shuffling 2022-07-05 09:05:31 -05:00
Sascha
73d09515f3 Clean-up of FDRS datatypes
Moved all local FDRS datatype definitions to a global file
2022-07-03 08:57:59 +02:00
Timm Bogner
b3dd6abf46 added GPS types 2022-07-01 16:47:14 -05:00
theFeiter
a58f13f1b3 Debug Error on Initializing LoRa before going into infinite while loop 2022-07-01 17:26:04 +02:00
Timm Bogner
5331eb479a fixed spi 2022-06-30 14:45:48 -05:00
Timm Bogner
21c1b4be59 housekeeping 2022-06-30 08:30:24 -05:00