Merge remote-tracking branch 'origin/keymindCascade' into keymindCascade
This commit is contained in:
commit
4c0f2acf64
8 files changed
+80
-16
No files matched your search
@@ -43,4 +43,11 @@ struct PendingFrame {
|
||||
static constexpr unsigned DeliverySlots = 4;
|
||||
static constexpr unsigned ChatDeliverySlots = DeliverySlots - 1;
|
||||
|
||||
// Text messages get at most 15 transmissions, including the original send.
|
||||
// Lower saved flood retry counts still mean additional transmissions.
|
||||
static constexpr uint8_t MaxMessageAttempts = 15;
|
||||
constexpr uint8_t messageRetryLimit(uint8_t count) {
|
||||
return count < MaxMessageAttempts ? count : MaxMessageAttempts - 1;
|
||||
}
|
||||
|
||||
} } // namespace mesh::mt
|
||||
Reference in new issue
Block a user