kopia lustrzana https://github.com/PiInTheSky/lora-gateway
V1.8.33 - Fix to extra bytes sent to client when using implicit mode
rodzic
2f294918f3
commit
62a28b89cf
47
README.md
47
README.md
|
@ -114,8 +114,8 @@ The global options are:
|
||||||
|
|
||||||
and the channel-specific options are:
|
and the channel-specific options are:
|
||||||
|
|
||||||
frequency_<n>=<freq in MHz>. This sets the frequency for LoRa module <n> (0 for first, 1 for second). e.g. frequency_0=434.450
|
frequency_<n>=<freq in MHz>. This sets the frequency for LoRa module <n> (0 for first, 1 for second). e.g. frequency_0=434.450
|
||||||
|
|
||||||
PPM_<n>=<Parts per million offset of LoRa module.
|
PPM_<n>=<Parts per million offset of LoRa module.
|
||||||
|
|
||||||
AFC_<n>=<Y/N>. Enables or disables automatic frequency control (retunes by the frequency error of last received packet).
|
AFC_<n>=<Y/N>. Enables or disables automatic frequency control (retunes by the frequency error of last received packet).
|
||||||
|
@ -232,29 +232,34 @@ Many thanks to David Brooke for coding this feature and the AFC.
|
||||||
Change History
|
Change History
|
||||||
==============
|
==============
|
||||||
|
|
||||||
|
03/02/2020 - V1.8.33
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
Set length of received buffer with strlen() instead of using rx byte count, to avoid sending dross to clients (by Steve Randall)
|
||||||
|
|
||||||
19/01/2020 - V1.8.32
|
19/01/2020 - V1.8.32
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
By proboscide99:
|
By proboscide99:
|
||||||
|
|
||||||
Parameters received in a calling mode packet are saved. If the channel is also used for UpLink, saved
|
Parameters received in a calling mode packet are saved. If the channel is also used for UpLink, saved
|
||||||
parameters will be restored after transmission. This allows immediate reception with correct parameters
|
parameters will be restored after transmission. This allows immediate reception with correct parameters
|
||||||
without having to wait for a new calling mode packet.
|
without having to wait for a new calling mode packet.
|
||||||
|
|
||||||
Fixed bug that forced 255 bytes in missing SSDV packet request (UpLink mode) even with 'explicit headers'
|
Fixed bug that forced 255 bytes in missing SSDV packet request (UpLink mode) even with 'explicit headers'
|
||||||
|
|
||||||
When 'implicit headers' are used for UpLink mode, buffer is NULL terminated to prevent the tracker
|
When 'implicit headers' are used for UpLink mode, buffer is NULL terminated to prevent the tracker
|
||||||
from processing garbage (danger)
|
from processing garbage (danger)
|
||||||
|
|
||||||
Both channels may be used for UpLink mode using different timing in the uplink slot (leave 1-2 secs gap)
|
Both channels may be used for UpLink mode using different timing in the uplink slot (leave 1-2 secs gap)
|
||||||
Timeout for seeking for missing SSDV file 'uplink.txt' reduced from 2sec to 300ms to allow small gap
|
Timeout for seeking for missing SSDV file 'uplink.txt' reduced from 2sec to 300ms to allow small gap
|
||||||
between channels (see above)
|
between channels (see above)
|
||||||
|
|
||||||
Fixed bug measured frequency offset was retained when AFC timeout occurs (affects value set by keys)
|
Fixed bug measured frequency offset was retained when AFC timeout occurs (affects value set by keys)
|
||||||
|
|
||||||
Fixed bug that prevented listener from being uploaded to map (longitude comparison)
|
Fixed bug that prevented listener from being uploaded to map (longitude comparison)
|
||||||
|
|
||||||
Channel number display added to many messages on log console
|
Channel number display added to many messages on log console
|
||||||
|
|
||||||
|
|
||||||
08/01/2020 - V1.8.31
|
08/01/2020 - V1.8.31
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
#include "udpclient.h"
|
#include "udpclient.h"
|
||||||
#include "lifo_buffer.h"
|
#include "lifo_buffer.h"
|
||||||
|
|
||||||
#define VERSION "V1.8.32"
|
#define VERSION "V1.8.33"
|
||||||
bool run = TRUE;
|
bool run = TRUE;
|
||||||
|
|
||||||
// RFM98
|
// RFM98
|
||||||
|
@ -1672,7 +1672,7 @@ void DIO0_Interrupt( int Channel )
|
||||||
CheckForChatContent(Channel, Repeated, Config.LoRaDevices[Channel].Telemetry);
|
CheckForChatContent(Channel, Repeated, Config.LoRaDevices[Channel].Telemetry);
|
||||||
strcpy(Config.LoRaDevices[Channel].LocalDataBuffer, Received.UKHASstring);
|
strcpy(Config.LoRaDevices[Channel].LocalDataBuffer, Received.UKHASstring);
|
||||||
strcat(Config.LoRaDevices[Channel].LocalDataBuffer, "\r\n");
|
strcat(Config.LoRaDevices[Channel].LocalDataBuffer, "\r\n");
|
||||||
Config.LoRaDevices[Channel].LocalDataCount = Received.Bytes;
|
Config.LoRaDevices[Channel].LocalDataCount = strlen(Config.LoRaDevices[Channel].LocalDataBuffer);
|
||||||
}
|
}
|
||||||
else if ( Received.Message[0] == '>' )
|
else if ( Received.Message[0] == '>' )
|
||||||
{
|
{
|
||||||
|
@ -1683,7 +1683,7 @@ void DIO0_Interrupt( int Channel )
|
||||||
LogMessage("Local Data %d bytes = %s", Received.Bytes, Received.Message);
|
LogMessage("Local Data %d bytes = %s", Received.Bytes, Received.Message);
|
||||||
strcpy(Config.LoRaDevices[Channel].LocalDataBuffer, Received.Message);
|
strcpy(Config.LoRaDevices[Channel].LocalDataBuffer, Received.Message);
|
||||||
strcat(Config.LoRaDevices[Channel].LocalDataBuffer, "\r\n");
|
strcat(Config.LoRaDevices[Channel].LocalDataBuffer, "\r\n");
|
||||||
Config.LoRaDevices[Channel].LocalDataCount = Received.Bytes;
|
Config.LoRaDevices[Channel].LocalDataCount = strlen(Config.LoRaDevices[Channel].LocalDataBuffer);
|
||||||
}
|
}
|
||||||
else if ( Received.Message[0] == '*' )
|
else if ( Received.Message[0] == '*' )
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue