-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controller sleep mode / rotate events are not dispatched after 5 min of inactivity #4
Comments
Yes, although I’m not sure of the exact timing. It’s been a while, but you
can try sending heart beat message to the device. Like updating the display
once a minute.
There wasn’t anything obvious to prevent this sleep (nothing in the GATT).
If you just want a dial, check out the Teenage Engineering Ortho Remote. It
uses BLE Midi out of the box, so paint with a mac gives you volume control.
It’s also nicer designed, but there’s no project there :)
…On Thu, Jul 2, 2020 at 15:50 thedriveman ***@***.***> wrote:
I'm building an app that listens to rotate events, and I've noticed that
after about 5 minutes of inactivity (i.e., not touching the controller),
rotate events are not getting dispatched. However, once I press the
controller surface, a select event is getting dispatched, after which
rotate events start dispatching again. It does look like the Bluetooth
connection remains connected during the entire time, as no disconnected
event is dispatched.
Does the controller hardware go to "light" sleep after 5 minutes, where
only a select event wakes it up?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABCAEEZOV3WBUM2356V4RTRZUFMVANCNFSM4OPJTPBQ>
.
|
I've tested it and sending a periodic display update as a "keep alive" indeed keeps the controller from falling asleep. I'm going explore this option further, and also assess what is the battery drainage toll. Thanks a lot! |
Did you really solve this issue? I Did output a character to the display every 10 seconds to keep it alive. No matter how long I wait, sometimes rotation events were created sometimes not. Seems to be random for me. Comments will be appreciated. Thanks |
I'm building an app that listens to rotate events, and I've noticed that after about 5 minutes of inactivity (i.e., not touching the controller), rotate events stop getting dispatched . However, once I press the controller surface, a select event is getting dispatched, after which rotate events start dispatching again. It does look like the Bluetooth connection remains connected during the entire time, as no disconnected event is dispatched.
Does the controller hardware go to "light" sleep after 5 minutes, where only a select event wakes it up?
The text was updated successfully, but these errors were encountered: