Skip to content

Commit

Permalink
Merge branch 'v1' into v1dev
Browse files Browse the repository at this point in the history
  • Loading branch information
traxanos committed Dec 9, 2024
2 parents f3dfbce + ae504e7 commit 096f316
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ See the examples for basic usage options
- increase device object api version to 2 (invalidation of knx flash data stored by older versions)
- add #pragma once to Arduino plattform to allow derived plattforms
- change esp32 plattform to use KNX_NETIF
- fix out-of-boundary write and dereferenced nullpointer access in tunneling support
- fix out-of-boundary write and dereferenced nullpointer access in tunneling support

### 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)
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "knx",
"version": "2.1.1",
"version": "2.1.2",
"dependencies": {
},
"description": "knx stack",
Expand Down
9 changes: 9 additions & 0 deletions src/knx/tpuart_data_link_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,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)
{
Expand Down

0 comments on commit 096f316

Please sign in to comment.