bleak icon indicating copy to clipboard operation
bleak copied to clipboard

there are no api to read characteristic name

Open jinxiangwzh opened this issue 3 years ago • 1 comments

  • bleak version:
  • Python version:
  • Operating System:
  • BlueZ version (bluetoothctl -v) in case of Linux:

Description

there are no api to read characteristic name.

lADPJwY7RVoMEDbNBQDNAkA_576_1280

What I Did

It is preferable if an issue contains a Miminal Workable Example. This will otherwise be one of the first questions you will get as a response.

It is also preferable if that example is not dependent on a specific peripheral device, but can be run and reproduced with other BLE peripherals as well.

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here as well.

jinxiangwzh avatar Jan 26 '22 09:01 jinxiangwzh

There is the characteristic.description property that provides this information, if available.

hbldh avatar Jan 26 '22 09:01 hbldh

https://bleak.readthedocs.io/en/latest/api/index.html#bleak.backends.service.BleakGATTService.description

dlech avatar Jul 19 '23 15:07 dlech