Skip to content

adafruit-circuitpython-ble using bleak does not recognize custom StandardUUID #189

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

Open
rlangoy opened this issue Sep 5, 2023 · 0 comments

Comments

@rlangoy
Copy link

rlangoy commented Sep 5, 2023

On Linux and windows the package adafruit-circuitpython-ble custom Services or Characteristics that uses the StandardUUID value that is not in range of the Assigned numbers from the SIG Bluetooth Core Specification is not recognized/found ....

As an example the
uuid = StandardUUID(0xA001) #does not work on windows/linux but is ok in CircuitPython
But the
uuid = VendorUUID("0000a001-0000-1000-8000-00805f9b34fb") #Works everywhere

It would be nice if the package adafruit-circuitpython-ble works in the same way no mather what device it is runned on..
You could argue that the "Custom UUID 0xA000" should be implemented as a new VendorUUID but then it would be nice to gett an error message,,,

BLE Client Program runing on windows and bleak 0.21
https://github.com/rlangoy/tsd3050lab2/blob/main/rpi_ble_conect_address.py

BLE Server Program runing on nRF52840 Dongle (PCA10059) a CircuitPython 8.2.4
https://github.com/rlangoy/tsd3050lab2/blob/main/nrf_ble_read_write.py

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

1 participant