mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-03 18:56:15 +00:00
Feat: Adds flood.max.unscoped setting
Before this commit, there was no way to set a different max hop count for unscoped messages. Now with this change, by defaul it tracks the flood.max setting, until a user provides a flood.max.unscoped value, which tax precidence for packets if ROUTE_TYPE_FLOOD is true.
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
#define ADVERT_LOC_SHARE 1
|
||||
#define ADVERT_LOC_PREFS 2
|
||||
|
||||
#define FLOOD_MAX_UNSCOPED_UNSET 0xFF
|
||||
|
||||
#define LOOP_DETECT_OFF 0
|
||||
#define LOOP_DETECT_MINIMAL 1
|
||||
#define LOOP_DETECT_MODERATE 2
|
||||
@@ -40,6 +42,7 @@ struct NodePrefs { // persisted to file
|
||||
uint8_t multi_acks;
|
||||
float bw;
|
||||
uint8_t flood_max;
|
||||
uint8_t flood_max_unscoped;
|
||||
uint8_t interference_threshold;
|
||||
uint8_t agc_reset_interval; // secs / 4
|
||||
// Bridge settings
|
||||
|
||||
Reference in New Issue
Block a user