8000 adafruit-circuitpython-ble using bleak does not recognize custom StandardUUID · Issue #189 · adafruit/Adafruit_CircuitPython_BLE · GitHub
[go: up one dir, main page]

Skip to content
adafruit-circuitpython-ble using bleak does not recognize custom StandardUUID #189
Open
@rlangoy

Description

@rlangoy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0