Skip to content
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

Turn off the LED #1

Closed
wants to merge 1 commit into from
Closed

Turn off the LED #1

wants to merge 1 commit into from

Conversation

bobo1on1
Copy link

@bobo1on1 bobo1on1 commented Oct 5, 2018

The PowerMate Bluetooth leaves the LED on at low brightness unless it's turned off, also it will automatically disconnect after about 5 minutes.
To fix this, a delay after the connect is needed, to allow the PowerMate Bluetooth to send a Connection Parameter Update Request, after that the LED_VAL_HND (0x29) should be written to 0.
Writing LED_VAL_HND (0x29) before that does not work for some reason.

…nnecting.

The PowerMate Bluetooth sends a connection parameter update request 5 seconds after connecting.
Only after this has been done, can the led be turned off, if anything is written before this, turning off the led won't work.
@bobo1on1
Copy link
Author

bobo1on1 commented Oct 5, 2018

Discovered this doesn't work good enough yet, it still disconnects after 20 minutes or so, after which you have to wait 10 seconds before it works again.

@bobo1on1 bobo1on1 closed this Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant