Fix to enrypted uplink

pull/69/head
Dave Akerman 2022-02-02 11:34:09 +00:00
rodzic f1a046c94a
commit a16ee8af25
3 zmienionych plików z 8 dodań i 3 usunięć

Wyświetl plik

@ -252,8 +252,13 @@ Many thanks to David Brooke for coding this feature and the AFC.
Change History Change History
============== ==============
02/02/2022 - V1.8.44
Fix to uplink of encrypted commands.
19/03/2021 - V1.8.43mbb 19/03/2021 - V1.8.43mbb
-------------------- -----------------------
Added radio setting to gateway.txt Added radio setting to gateway.txt
07/03/2021 - V1.8.43 07/03/2021 - V1.8.43

Wyświetl plik

@ -46,7 +46,7 @@
#include "udpclient.h" #include "udpclient.h"
#include "lifo_buffer.h" #include "lifo_buffer.h"
#define VERSION "V1.8.43" #define VERSION "V1.8.44"
bool run = TRUE; bool run = TRUE;
// RFM98 // RFM98

Wyświetl plik

@ -144,7 +144,7 @@ void ProcessJSONClientLine(int connfd, char *line)
if (*Config.UplinkCode) if (*Config.UplinkCode)
{ {
EncryptMessage(Config.UplinkCode, value); EncryptMessage(Config.UplinkCode, value+1);
} }
strcpy(Config.LoRaDevices[channel].UplinkMessage, value); strcpy(Config.LoRaDevices[channel].UplinkMessage, value);