Merge pull request #60 from mc-hamster/master

Update MeshPacket to describe if message was delayed for S&F
pull/62/head
Jm Casler 2021-12-19 13:54:31 -05:00 zatwierdzone przez GitHub
commit c52c8ef99e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 25 dodań i 0 usunięć

Wyświetl plik

@ -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;
} }
/* /*