lifeemotions / knx.net

KNX.net provides a KNX API for .NET
MIT License
101 stars 47 forks source link

datagram length false for payload over 1byte length #50

Open Maw-Jung opened 5 years ago

Maw-Jung commented 5 years ago

The apci, reaching over 2bytes, will use the last byte fully, when the payload is greater than 6 bits. The bits are then ignored. Currently the code checks wether the first byte of the payload is using only the lower 6 bits, which is not according to the knx trainee handbook and confirms with the received package in the network.

Greetings, Marcel

Maw-Jung commented 5 years ago

I added a pr for this: #51