anetczuk / LinakDeskApp

Desktop application that allows control of Linak office desk under Linux
MIT License
143 stars 13 forks source link

Issue connecting to Linak SmartDesk #14

Open roeles opened 2 years ago

roeles commented 2 years ago

I just bought a Linak SmartDesk with the DPG1C controller. Bluetooth works with the official app (off course), but this application has issues connecting.

The connection process appears to hang while reading the MASK characteristic, here: https://github.com/anetczuk/linak_bt_desk/blob/e782cf39b6dd2d255f5e184c60f614ed6b99b3af/linak_dpg_bt/linak_device.py#L375

When I swap the block after that, which retreives the name, that one works fine. Again getting the MASK blocks.

When I comment out the 3 lines getting the MASK (375-377), I get the debug information in the attached log. linak-debug-log.txt

Please let me know what I can do to help solve this issue.