Merge remote-tracking branch 'origin/keymindCascade' into keymindCascade

This commit is contained in:
mikecarper committed 2026-10-23 10:41:27 -07:00
commit 4c0f2acf64
8 files changed
+80 -16

No files matched your search

+7
View File
@@ -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