-
Notifications
You must be signed in to change notification settings - Fork 1k
Issue in AIOBLE #442
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
I suspect the problem here is that MicroPython (and NimBLE) take care of managing the CCCD for you. We should probably raise an error in aioble (or modbluetooth) if you try and register a CCCD yourself. What do you need the CCCD for? |
Hi Jimmo, I'm running into the exact same issue. Any clue what else it could be? EDIT: Sorry, I should have put more thought into posting something, rather than just asking.
The Tuples returned are missing descriptors altogether. |
The example starts working with this patch.
|
I believe this should be fixed in the above merge request by @jimmo . Proposing to close this issue. |
I found one issue if I am running the temp_sensor.py file that is an example file from the AIOBLE. But I added a descriptor, when running the example, it returns an error: IndexError: tuple index out of range on aioble/server.py, line 238.
And I attached the modified temp_sensor.py file
I tried to print out the handles, it only returns 1 handle, I guess it belongs to the characteristic, but not the descriptor.
temp-sensor.zip
The text was updated successfully, but these errors were encountered: