Replies: 3 comments 9 replies
-
Thanks for using Meshtastic! Let's move this out of the bug tracker into a discussion so we can get more eyes on it and have a broader-ranging chat about what we have right now and the potential options. |
Beta Was this translation helpful? Give feedback.
-
Here are the current priorities from the code:
|
Beta Was this translation helpful? Give feedback.
-
@swdrumm , may I ask a bit about the desired behaviour? Imagine the scenario where higher priority message is send and received by the intended recipient, but the ACK is not received by the sender. Should the sender keep sending that message as a priority even if it means no other or fewer (lower priority) messages are sent? |
Beta Was this translation helpful? Give feedback.
-
Platform
Linux Native
Description
Summary: Add a priority bit to the message header which modifies the order in which queued messages are (re)transmitted.
Proposal: While messages should always be sent immediately, there's no guarantee that a message is delivered on the first try. When a number of messages are being held in queue (i.e. in the case of retransmissions or when a node requests a download of messages from store-and-forward) it would be desirable to receive the queued messages in priority order - i.e. the most important / urgent messages first.
One way to do this would be to set a priority bit in the header for all messages.
Inspiration: US naval messages are sent with four precedence levels: Routine (R), Priority (P), Immediate (O), and Flash (Z) to indicate urgency.
Routine (R): This level is for standard day-to-day operations that do not require immediate attention. Messages are expected to be delivered within 6 hours.
Priority (P): Used for important tasks that require timely coordination and should be actioned before routine messages. These messages are typically delivered within 3 hours.
Immediate (O): This level indicates that the message requires rapid action or decision. Immediate messages are to be delivered within 30 minutes.
Flash (Z): The highest level of precedence, reserved for messages of extreme urgency, such as those vital to national survival. Flash messages are to be delivered within 10 minutes.
The symbols R, P, O, and Z are used to designate these precedence levels. The timeline for each level of precedence indicates the maximum time allowed for a message to be delivered after its release by the originating station.
Beta Was this translation helpful? Give feedback.
All reactions