DWilliames / idasen-controller-mac

A Mac App to control your Idasen Desk
MIT License
243 stars 19 forks source link

Bluetooth connection error after Mac wakes from sleep and then attempt to move desk to sit/stand. #3

Closed mattorb closed 2 years ago

mattorb commented 2 years ago

In Desk Controller, everything works initially.

However, if I put my Mac to sleep, come back [hours] later and wake it, then attempt to use Desk Controller to move the desk, it barely moves and then gets stuck. I'm noticing the following error in the console app logs:

API MISUSE: <CBPeripheral: 0x600002ded860, identifier = 208AB335-E052-44BD-A8A8-3C09B1D9478F, name = Desk 4901, mtu = 23, state = disconnected> can only accept commands while in the connected state

After seeing that error, nothing works until I restart Desk Controller, at which point everything starts working normally again.