kevincar / bless

Cross-platform Bluetooth Low Energy Server Python Library
MIT License
78 stars 26 forks source link

Allow to define descriptor for GATT characteristic #134

Closed mklemarczyk closed 3 weeks ago

mklemarczyk commented 4 weeks ago

First implementation for Descriptor in linux. Tested as working feature on Raspberry 4.

Feel free to review and comment.

I noticed that bless library does not expand the uuid from 16 bit and 32 bit form. I put a proposal to use normalize_uuid_str to expand uuid to full value.

kevincar commented 3 weeks ago

Thank you for these additions. I sincerely appreciate that you followed the code style so well. I'll merge this to develop but I won't mark this issue as resolved just yet since I'd like to see if windows and macOS could be implemented too.

Thanks for tackling the DBus backend!

foemre commented 1 week ago

Is it possible to provide a simple example for defining descriptors? @mklemarczyk @kevincar