openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

[cul] Fix 2s blocking problem after sending FS20 message #5851

Closed MichaelKlemm closed 5 years ago

MichaelKlemm commented 5 years ago

Currently the CUL sending thread will produce a timeout of 2s if a command is sent that will not provide a response. This is the case when sending a FS20 message ("F" prefix). The major purpose of this PR is to provide a generic solution for such commands and only fix the problem for the FS20 protocol as there is no other equipment for testing available.

Additional Minor changes and refactorings:

MichaelKlemm commented 5 years ago

Hi! How to proceed with this PR?