-
Notifications
You must be signed in to change notification settings - Fork 1k
aioble: Not all characteristics are shown #912
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
Anyone know why this could be or how to configure a higher limit? |
|
Does not look like it: https://github.com/micropython/micropython-lib/blob/master/micropython%2Fbluetooth%2Faioble%2Faioble%2Fserver.py#L71 |
The RPI Pico uses BTStack for Bluetooth. It has a compiled in setting for how much ram is allocated to the services and characteristics DB called If you make this number larger and recompile micropython you'll be able to define more. |
Thanks a lot, this did the trick. |
I have a problem with aioble on my pico w. I have created two services, but at most seven characteristics are displayed. For example, for the truncated code section below, only the seven characteristics up to the
# TODO
comment are displayed. I have already tried lowering the mtu size and creating a third service and registering the characteristics there. Changing the order doesn't solve the problem, i.e. if I moveself.wind
aboveself.colors
, the wind characteristics are advertised, but there are still only seven characteristics in total. If I clear all characteristics values there are still only seven characteristics advertised so I don't think that it is due to size limitations.I stumbled across this issue and even though its for ESP32 and Arduino the issue is the same. I already looked into the definitions of aioble but I did not found anything related to this.
Do you have any suggestions?
The text was updated successfully, but these errors were encountered: