Commit Graph

52 Commits

Author SHA1 Message Date
Jeff Lehman
0bf0015576 Add LoRa ACK & CRC functionality for gateway #54 2022-07-25 13:06:14 -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
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
d3e137ab8b unifying gateways etc
more to come
2022-07-18 20:42:42 -05:00
Sascha
087b9f30c8 house keeping
Added some comments for easier browsing through the source and corrected a type.
2022-07-15 14:09:40 +02:00
theFeiter
d1872b1d53 replace external ntp with internal ntp 2022-07-12 21:32:27 +02:00
theFeiter
92c17d3567 release logbuffer every 10 seconds if not empty 2022-07-11 12:50:52 +02:00
theFeiter
48d2a6f012 only count seconds_since_reset when logging is enabled 2022-07-11 12:15:55 +02:00
theFeiter
f29e7ce916 add defined filename 2022-07-10 19:50:47 +02:00
theFeiter
107c1413a1 use buffering for all logs 2022-07-10 19:26:45 +02: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
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
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
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
theFeiter
2eb8755ce9 add spi Initialization for ESP32 2022-07-07 12:47:30 +02:00
theFeiter
6b51e1c978 add prefixes to defines 2022-07-07 12:37:04 +02:00
theFeiter
d013f38196 apply some compiler suggestions 2022-07-07 11:59:04 +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
theFeiter
9d5a1062dc change filename 2022-07-07 00:48:58 +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
4ae1b18cfb added ntp time keeping 2022-07-06 22:42:59 +02:00
theFeiter
50500d0188 filename defined on function call 2022-07-06 16:06:35 +02:00
theFeiter
2b14e3171b add space 2022-07-06 15:40:37 +02:00
theFeiter
c49fe47bd8 move overload method 2022-07-06 15:38:56 +02:00
theFeiter
e867cbc9e7 use csv format on sd log 2022-07-06 15:36:10 +02:00
theFeiter
b7dcadf011 if sending mqtt fails, log to sd 2022-07-04 21:54:39 +02:00
theFeiter
60242ab2cd dont log when sending serial,
dont try to init sd if not in use
2022-07-04 20:01:17 +02:00
theFeiter
f6debe8f00 added crude timestamp method 2022-07-03 20:23:12 +02:00
theFeiter
04e253566d go into endless loop when sd init fails 2022-07-03 19:21:58 +02:00
theFeiter
60e6c66cea make filename configurable, dont do anything when sd not in use 2022-07-03 18:50:41 +02:00
theFeiter
78478b977c move and remove functions 2022-07-03 18:09:48 +02:00
theFeiter
7632203d60 SPI seems to work simultaniously 2022-07-03 18:03:32 +02:00
theFeiter
ec3bb4dc86 working prototype 2022-07-03 17:55:16 +02:00
theFeiter
c509883322 missing semi 2022-07-03 17:24:24 +02:00
theFeiter
d0862ad05b first draft of function structure, not tested 2022-07-03 12:00:46 +02:00