Balboa-Binding: port to OH5 and implement improvements

ok - as far as I (and my Claude) can see, the deadlocks are still present in the current release you mentioned.
After fighting with github for a while, I created two PRs against your “real” repo:

  1. fixing the deadlocks
  2. adding functionality

ad 1)

simple => just added the changes here to prevent deadlocks from happening: writer against protocol and reconnect against protocol. there’s also a new BalboaProtocolDeadlockTest included, which should test for those.

ad 2)

added some new features around the clock, reading states and writing stuff like filters, etc. all described in the PR - and also tests for it.

runs on my environment over the weekend without problems.

hey cool. The changes are really usefull.
And Claude confirms that the changes from you and Claude really improve the binding which is made by Claude :rofl:
I merged everything and created a new 5.2.1.7.
Please test and tell me if it works for you. I just changed to this version and it seems to work within my system.

it’s basically running since friday. But I’ll update it with your 5.2.1.7 to be sure.

for others following: it’s an AI-improved version of the initial Balboa-binding, now without two potential errors and improved functionalities (e.g. more channels and clock syncronisation), current release: