Merge pull request #1030 from mc-hamster/StoreAndForward

Support for MeshPacket_Delayed_DELAYED_BROADCAST
1.2-legacy
Jm Casler 2021-12-27 10:03:36 -08:00 zatwierdzone przez GitHub
commit 2818dfc948
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -214,6 +214,10 @@ void StoreForwardPlugin::sendMessage(NodeNum dest, char *str)
p->to = dest;
// FIXME - Determine if the delayed packet is broadcast or delayed. For now, assume
// everything is broadcast.
p->delayed = MeshPacket_Delayed_DELAYED_BROADCAST;
// Let's assume that if the router received the S&F request that the client is in range.
// TODO: Make this configurable.
p->want_ack = false;