Merge pull request 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ęć
src/plugins/esp32

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;