mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* repeater and room server: new CLI setting "agc.reset.interval" (seconds)
This commit is contained in:
parent
f7dcf01e81
commit
32ca3dc9d0
8 changed files with 40 additions and 4 deletions
|
|
@ -337,6 +337,9 @@ protected:
|
|||
int getInterferenceThreshold() const override {
|
||||
return _prefs.interference_threshold;
|
||||
}
|
||||
int getAGCResetInterval() const override {
|
||||
return ((int)_prefs.agc_reset_interval) * 4000; // milliseconds
|
||||
}
|
||||
|
||||
void onAnonDataRecv(mesh::Packet* packet, uint8_t type, const mesh::Identity& sender, uint8_t* data, size_t len) override {
|
||||
if (type == PAYLOAD_TYPE_ANON_REQ) { // received an initial request by a possible admin client (unknown at this stage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue