diff --git a/CHANGELOG.md b/CHANGELOG.md index d103f8938..02630d355 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file. - Berry `path.rename()` (#20840) ### Breaking Changed -- Drop support for old (insecure) fingerprint format +- Drop support for old (insecure) fingerprint format (#20842) ### Changed diff --git a/RELEASENOTES.md b/RELEASENOTES.md index f957a1a79..b9dec6ee3 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -130,6 +130,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm - LVGL and HASPmota typicons font [#20742](https://github.com/arendst/Tasmota/issues/20742) ### Breaking Changed +- Drop support for old (insecure) fingerprint format [#20842](https://github.com/arendst/Tasmota/issues/20842) ### Changed - ESP32 Core3 platform update from 2024.01.12 to 2024.02.10 [#20730](https://github.com/arendst/Tasmota/issues/20730) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_73_3_lora_sx127x.ino b/tasmota/tasmota_xdrv_driver/xdrv_73_3_lora_sx127x.ino index ab789dbea..38edaa337 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_73_3_lora_sx127x.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_73_3_lora_sx127x.ino @@ -46,6 +46,9 @@ void LoraOnCadDoneSx127x(boolean signalDetected) { // this function is called when a complete packet is received by the module void LoraOnReceiveSx127x(int packet_size) { +#ifdef USE_LORA_DEBUG + AddLog(LOG_LEVEL_DEBUG, PSTR("LOR: Packet size %d"), packet_size); +#endif if (0 == packet_size) { return; } // if there's no packet, return if (!Lora.enableInterrupt) { return; } // check if the interrupt is enabled Lora.packet_size = packet_size; // we got a packet, set the flag @@ -65,9 +68,9 @@ int LoraReceiveSx127x(char* data) { data[packet_size++] = sdata; } } - packet_size = (Lora.sendFlag) ? 0 : +1; +// if (Lora.sendFlag) { packet_size = 0; } +// Lora.sendFlag = false; - Lora.sendFlag = false; Lora.packet_size = 0; // reset flag Lora.enableInterrupt = true; // we're ready to receive more packets, enable interrupt service routine @@ -80,7 +83,7 @@ int LoraReceiveSx127x(char* data) { } bool LoraSendSx127x(char* data, uint32_t len) { - Lora.sendFlag = true; +// Lora.sendFlag = true; LoRa.beginPacket(Lora.implicit_header); // start packet LoRa.write((uint8_t*)data, len); // send message LoRa.endPacket(); // finish packet and send it