From f606f6da0d513678b69265514d02ceac4d024fe4 Mon Sep 17 00:00:00 2001 From: Ing-Dom Date: Mon, 16 Sep 2024 20:45:41 +0200 Subject: [PATCH 1/3] V2.1.1 (rq queue bugfix) --- README.md | 3 +++ library.json | 2 +- library.properties | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f84371a..15b436a8 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ See the examples for basic usage options ## Changelog +### V2.1.1 - 2024-09-16 +- fix minor bug in TP-Uart Driver (RX queue out of boundary) + ### V2.1.0 - 2024-07-03 - complete rework of the TPUart DataLinkLayer with support interrupt-based handling and optimized queue handling - added DMA support for RP2040 platform diff --git a/library.json b/library.json index a8ff4f3d..71fe2ebd 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "knx", - "version": "2.1.0", + "version": "2.1.1", "dependencies": { }, "description": "knx stack", diff --git a/library.properties b/library.properties index 8a6dcf82..b32852e0 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=knx -version=2.1.0 +version=2.1.1 author=Thomas Kunze, the OpenKNX Team, et. al. maintainer=OpenKNX Team sentence=knx stack From 8f35b4cf4285141d785dd40990296c10db7035e1 Mon Sep 17 00:00:00 2001 From: Marco Scholl Date: Sun, 8 Dec 2024 23:05:50 +0100 Subject: [PATCH 2/3] adds unicast auto ack --- src/knx/tpuart_data_link_layer.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/knx/tpuart_data_link_layer.cpp b/src/knx/tpuart_data_link_layer.cpp index ac145812..08b0c290 100644 --- a/src/knx/tpuart_data_link_layer.cpp +++ b/src/knx/tpuart_data_link_layer.cpp @@ -649,6 +649,15 @@ void TpUartDataLinkLayer::requestConfig() _platform.writeUart(U_CONFIGURE_REQ | U_CONFIGURE_MARKER_REQ); #endif + // Set Address for AutoACK Unicast + const uint16_t address = _deviceObject.individualAddress(); + _platform.writeUart(U_SET_ADDRESS_REQ); + _platform.writeUart((address >> 8) & 0xFF); + _platform.writeUart(address & 0xFF); +#ifdef NCN5120 + _platform.writeUart(0xFF); // Dummy Byte needed by NCN only +#endif + // Abweichende Config if (_repetitions != 0b00110011) { From ae504e70e3e4378102cf30d474fed46dc1ad6297 Mon Sep 17 00:00:00 2001 From: Marco Scholl Date: Mon, 9 Dec 2024 08:22:45 +0100 Subject: [PATCH 3/3] update library.json and readme.md --- README.md | 3 +++ library.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 15b436a8..fdc06bc7 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ See the examples for basic usage options ## Changelog +### V2.1.2 - 2024-12-09 +- adds unicast auto ack + ### V2.1.1 - 2024-09-16 - fix minor bug in TP-Uart Driver (RX queue out of boundary) diff --git a/library.json b/library.json index 71fe2ebd..b00d5cc0 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "knx", - "version": "2.1.1", + "version": "2.1.2", "dependencies": { }, "description": "knx stack",