Skip to content

Commit ee3c00e

Browse files
authored
Merge pull request #42 from OpenKNX/v1dev
V2.2.2 release
2 parents 1b646c1 + c7fed12 commit ee3c00e

5 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/platform-io.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
# example: [path/to/test/file.c, examples/file.ino, path/to/test/directory]
1212

1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v4
1515
- name: Set up Python
16-
uses: actions/setup-python@v1
16+
uses: actions/setup-python@v5
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ See the examples for basic usage options
1313

1414
## Changelog
1515

16+
### v2.2.2 - 2025-10-21
17+
- Fix: DPT subgroup 0 handling
18+
1619
### v2.2.1 - 2025-08-22
1720
- Fix: Distinguish between tunnel and TP PAs when reading PID_ADDITIONAL_INDIVIDUAL_ADDRESSES. This resulted in a failed PA assignment for 0x091A devices with KNX_TUNNELING
1821
- Fix: set repeat correctly in DataLinkLayer when sending to other mediums as TP (https://github.com/OpenKNX/knx/issues/40)

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "knx",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "knx stack",
55
"homepage": "https://openknx.de",
66
"authors": [

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=knx
2-
version=2.1.2
2+
version=2.2.2
33
author=Thomas Kunze, the OpenKNX Team, et. al.
44
maintainer=OpenKNX Team
55
sentence=knx stack

src/knx/dpt.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ Dpt::Dpt()
88
Dpt::Dpt(short mainGroup, short subGroup, short index /* = 0 */)
99
: mainGroup(mainGroup), subGroup(subGroup), index(index)
1010
{
11-
if (subGroup == 0)
12-
println("WARNING: You used and invalid Dpt *.0");
11+
if ((mainGroup < 14 || mainGroup > 16) &&
12+
subGroup == 0)
13+
println("WARNING: You used an invalid Dpt *.0");
1314
}
1415

1516
bool Dpt::operator==(const Dpt& other) const

0 commit comments

Comments
 (0)