calimero-project / calimero-core

Core library for KNX network access and management
Other
128 stars 65 forks source link

Fix fetching tunneling slot infos from byte stream. #78

Closed ghost closed 5 years ago

ghost commented 5 years ago

The first two bytes denote the max. ADPU length, not the amount of stored tunneling slot infos (KNX AN185 Tunneling v2 Page 22). Fetching the information resulted in an exception thrown and e.g. the discovery service never reported KNXnet/IP V2 tunneling devices.

bmalinowsky commented 5 years ago

Thank you!

lewie commented 5 years ago

@11vm, @bmalinowsky

I have a question about that. How does this exception affect everyday life? Can this exception lead to connection aborts with calimero?

Thank You

bmalinowsky commented 5 years ago

This affects snapshots with code changes to the discoverer over the past few weeks.