kopia lustrzana https://github.com/meshtastic/protobufs
Merge pull request #60 from mc-hamster/master
Update MeshPacket to describe if message was delayed for S&Fpull/62/head
commit
c52c8ef99e
25
mesh.proto
25
mesh.proto
|
@ -588,6 +588,26 @@ message MeshPacket {
|
||||||
MAX = 127;
|
MAX = 127;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Identify if this is a delayed packet
|
||||||
|
*/
|
||||||
|
enum Delayed {
|
||||||
|
/*
|
||||||
|
* If unset, the message is being sent in real time.
|
||||||
|
*/
|
||||||
|
NO_DELAY = 0;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The message is delayed and was originally a broadcast
|
||||||
|
*/
|
||||||
|
DELAYED_BROADCAST = 1;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The message is delayed and was originally a direct message
|
||||||
|
*/
|
||||||
|
DELAYED_DIRECT = 2;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The sending node number.
|
* The sending node number.
|
||||||
* Note: Our crypto implementation uses this field as well.
|
* Note: Our crypto implementation uses this field as well.
|
||||||
|
@ -687,6 +707,11 @@ message MeshPacket {
|
||||||
* rssi of received packet. Only sent to phone for dispay purposes.
|
* rssi of received packet. Only sent to phone for dispay purposes.
|
||||||
*/
|
*/
|
||||||
int32 rx_rssi = 13;
|
int32 rx_rssi = 13;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Describe if this message is delayed
|
||||||
|
*/
|
||||||
|
Delayed delayed = 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Ładowanie…
Reference in New Issue