calimero-project / calimero-core

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

T_Disconnect telegrams triples bus activity while programming #77

Closed lewie closed 5 years ago

lewie commented 5 years ago

Hello @bmalinowsky, we have a bad effect while programming devices with the ETS. Please, can you put us on the right track a little? ;-) T_Disconnect telegrams triples bus activity while programming devices.

Discussion: https://github.com/openhab/openhab2-addons/issues/4238

Thank You!

bmalinowsky commented 5 years ago

The disconnects in itself are harmless, but IIRC were meant for a more esoteric condition where client-initiated connections got already closed or addressed by the wrong sender. They become a nuisance in a situation with >1 mgmt clients (of which ETS is one) together in the same mcast group.

I leave this issue open to address it with a less traffic-heavy/polluting send approach.

JoveToo commented 5 years ago

@bmalinowsky The result of the extra traffic on the bus was a consistent firmware download failure, not quite harmless.

lewie commented 5 years ago

I can really confirm the observation. Depending on the hardware device, the T_Disconnect telegrams bother so much that in many cases, the firmware download fails.

bmalinowsky commented 5 years ago

@lewie what happens if you check the compatibility checkbox for slower bus communication in ets? Same result?

lewie commented 5 years ago

@bmalinowsky, many thanks! We are testing now: https://github.com/openhab/openhab2-addons/issues/4238#issuecomment-451381395