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

More details for the bluetooth API #2

Open
PrograMarcol opened this issue May 17, 2024 · 1 comment
Open

More details for the bluetooth API #2

PrograMarcol opened this issue May 17, 2024 · 1 comment

Comments

@PrograMarcol
Copy link

PrograMarcol commented May 17, 2024

Hello,
I'm working on my own controller for Yowu headset (Selkirk3) and I found your documentation very useful, but there are a couple of things I found through experimentation.

In modes 2,3,4, byte 9 does control the duration of the blinking, 0x00 seems to be a default duration, 0x01 is the fastest, 0x0a is about two seconds off/ two seconds on. Things progress linearly from there, 0x14 lasting twice as long and you can make it very very slow.

In modes 1,2,3,4, byte 8 actually controls the brightness. 0x00 being completely dark and 0x30 being max brightness. Anything above that turns off. Be careful though, in my experimentation, the green lights can't go above 0x20 or they shut off, and won't turn back on until you restart the headset. Similarly when R, G, and B are all at 0xFF, if you bring brightness above 0x1E, the green light will turn off, so that seems to be the safe level for all colors.

In mode 4, if your brightness is above 0x20, the color pattern will stop when it reach green, and start back at blue, cycling only through the first few colors. Could be useful for someone maybe.

Byte 10, the checksum, doesn't seem to matter, I was able to control my device fine with it just being 0x00.

Byte 4, the mode byte, can also be set to 0x06 to turn off the lights and 0x07 to turn them back on. No idea if it affects sounds.

@litui
Copy link
Owner

litui commented Aug 8, 2024

Thanks for the updates @PrograMarcol. Apologies for my months-late reply. I'll leave this issue up for now for visitors since I don't know when I'll get around to updating this repo. Cheers!

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

No branches or pull requests

2 participants