* CommonCLI: new "multi.acks" config setting

This commit is contained in:
Scott Powell 2025-07-16 18:51:18 +10:00
parent 3a0dfc1bf3
commit 6bc8dd28d4
6 changed files with 44 additions and 49 deletions

View file

@ -339,6 +339,9 @@ protected:
int getAGCResetInterval() const override {
return ((int)_prefs.agc_reset_interval) * 4000; // milliseconds
}
uint8_t getExtraAckTransmitCount() const override {
return _prefs.multi_acks;
}
void onAnonDataRecv(mesh::Packet* packet, const uint8_t* secret, const mesh::Identity& sender, uint8_t* data, size_t len) override {
if (packet->getPayloadType() == PAYLOAD_TYPE_ANON_REQ) { // received an initial request by a possible admin client (unknown at this stage)