kopia lustrzana https://github.com/meshtastic/protobufs
add a RELIABLE priority
rodzic
0221e83d68
commit
b1aed06442
|
@ -727,7 +727,8 @@ connected directly to the node) can set this parameter if necessary.
|
||||||
| UNSET | 0 | Treated as Priority.DEFAULT |
|
| UNSET | 0 | Treated as Priority.DEFAULT |
|
||||||
| MIN | 1 | |
|
| MIN | 1 | |
|
||||||
| BACKGROUND | 10 | Background position updates are sent with very low priority - if the link is super conjested they might not go out at all |
|
| BACKGROUND | 10 | Background position updates are sent with very low priority - if the link is super conjested they might not go out at all |
|
||||||
| DEFAULT | 64 | This priority is used for all messages that don't have a priority set |
|
| DEFAULT | 64 | This priority is used for most messages that don't have a priority set |
|
||||||
|
| RELIABLE | 70 | If priority is unset but the message is marked as want_ack, assume it is important and use a slightly higher priority |
|
||||||
| ACK | 120 | Ack/naks are sent with very high priority to ensure that retransmission stops as soon as possible |
|
| ACK | 120 | Ack/naks are sent with very high priority to ensure that retransmission stops as soon as possible |
|
||||||
| MAX | 127 | |
|
| MAX | 127 | |
|
||||||
|
|
||||||
|
|
|
@ -274,9 +274,12 @@ message MeshPacket {
|
||||||
/* Background position updates are sent with very low priority - if the link is super conjested they might not go out at all */
|
/* Background position updates are sent with very low priority - if the link is super conjested they might not go out at all */
|
||||||
BACKGROUND = 10;
|
BACKGROUND = 10;
|
||||||
|
|
||||||
/* This priority is used for all messages that don't have a priority set */
|
/* This priority is used for most messages that don't have a priority set */
|
||||||
DEFAULT = 64;
|
DEFAULT = 64;
|
||||||
|
|
||||||
|
/* If priority is unset but the message is marked as want_ack, assume it is important and use a slightly higher priority */
|
||||||
|
RELIABLE = 70;
|
||||||
|
|
||||||
/* Ack/naks are sent with very high priority to ensure that retransmission stops as soon as possible */
|
/* Ack/naks are sent with very high priority to ensure that retransmission stops as soon as possible */
|
||||||
ACK = 120;
|
ACK = 120;
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue