Merge pull request #571 from GUVWAF/highPrio

Add RESPONSE priority for responses to a request
This commit is contained in:
Ben Meadors 2024-09-01 08:51:58 -05:00 committed by GitHub
commit 5f7c91adb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1020,6 +1020,12 @@ message MeshPacket {
*/
RELIABLE = 70;
/*
* If priority is unset but the packet is a response to a request, we want it to get there relatively quickly.
* Furthermore, responses stop relaying packets directed to a node early.
*/
RESPONSE = 80;
/*
* Higher priority for specific message types (portnums) to distinguish between other reliable packets.
*/