mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
add NO_INTERFACE error reason
in support of https://github.com/meshtastic/Meshtastic-device/issues/677
This commit is contained in:
parent
c9ad10d7e2
commit
fcda45a3cc
1 changed files with 8 additions and 3 deletions
11
mesh.proto
11
mesh.proto
|
|
@ -136,8 +136,9 @@ message RouteDiscovery {
|
|||
repeated int32 route = 2;
|
||||
}
|
||||
|
||||
enum RouteError {
|
||||
enum ErrorReason {
|
||||
|
||||
/** This message is not a failure */
|
||||
NONE = 0;
|
||||
|
||||
/*
|
||||
|
|
@ -151,6 +152,9 @@ enum RouteError {
|
|||
GOT_NAK = 2;
|
||||
|
||||
TIMEOUT = 3;
|
||||
|
||||
/* No suitable interface could be found for delivering this packet */
|
||||
NO_INTERFACE = 4;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -179,9 +183,10 @@ message SubPacket {
|
|||
RouteDiscovery route_reply = 7;
|
||||
|
||||
/*
|
||||
* A failure in a routed message
|
||||
* A failure in delivering a message (usually used for routing control messages, but might be provided in addition to ack.fail_id to provide
|
||||
* details on the type of failure).
|
||||
*/
|
||||
RouteError route_error = 13;
|
||||
ErrorReason error_reason = 13;
|
||||
|
||||
/*
|
||||
* Prior to 1.20 positions were communicated as a special payload type, now they are GPS_POSITION_APP Data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue