Merge branch 'v1' into v1dev

This commit is contained in:
Marco Scholl 2024-12-09 08:24:12 +01:00
commit 096f316447
No known key found for this signature in database
3 changed files with 14 additions and 2 deletions

View File

@ -32,6 +32,9 @@ See the examples for basic usage options
- change esp32 plattform to use KNX_NETIF
- 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)

View File

@ -1,6 +1,6 @@
{
"name": "knx",
"version": "2.1.1",
"version": "2.1.2",
"dependencies": {
},
"description": "knx stack",

View File

@ -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)
{