-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ToneService inoperative on Clue? #6786
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
Comments
Some experimentation with modifying This seems quite confusing and mysterious. I wasn't able to find an obvious way that the corresponding Arduino libraries work around this issue, if they do. |
This is confusing because we certainly tested it, and it used to work. It might be interesting to try it with the last CircuitPython 6.x.x, with libraries from the 6.x bundle: https://learn.adafruit.com/welcome-to-circuitpython/frequently-asked-questions#faq-3105289 |
Tested with There don't seem to be any relevant differences from the latest code in |
There have been various changes in the nRF BLe code, so this does sound like a core problem, not a library problem. I'll transfer this issue to CircuitPython itself. |
I think this also counts as a regression from 6.x to 7.x, and should probably be labeled as such. |
I found the build artifacts, and successfully tested the tone service against iOS Bluefruit Playground and the Web Bluefruit Dashboard. Thanks! You might want to manually link this issue to #6800, because GitHub didn't do it automatically. (The PR is not targeted at the default branch of the repository, etc.) |
Hm, that didn't close it? Let's see if this does. |
This might be a larger issue, but the Clue is the only BLE-capable board that I have at the moment.
The
ToneService
part of the Bluefruit Playground example doesn't seem to work when connecting with the Bluefruit Playground iOS app. It also doesn't seem to work with the Web Bluetooth Dashboard. The corresponding service in the Arduino version of the Bluefruit Playground firmware does seem to work.Adding debugging
print
statements to show the value oftone_svc.tone
seems to show that it's alwaysNone
.A stripped-down script that only advertises
ToneService
also does not work.Does this work on other boards? Any debugging hints?
The main difference I can see by reading the code is that
ToneService
uses a fixed-length characteristic, whileAddressiblePixelService
is not fixed-length.The text was updated successfully, but these errors were encountered: