Update MeshPacket to describe if message was delayed for S&F

pull/60/head
Jm Casler 2021-12-19 13:53:08 -05:00
rodzic 946a87f195
commit 334afc28ef
1 zmienionych plików z 25 dodań i 0 usunięć

Wyświetl plik

@ -588,6 +588,26 @@ message MeshPacket {
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.
* 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.
*/
int32 rx_rssi = 13;
/*
* Describe if this message is delayed
*/
Delayed delayed = 15;
}
/*