muka / go-bluetooth

Golang bluetooth client based on bluez DBus interfaces
Apache License 2.0
653 stars 123 forks source link

Missing OnNotification handler #156

Closed skast96 closed 2 years ago

skast96 commented 2 years ago

Hey

is there a way to determine if a characteristic that is served by me is notifying the client? The repo https://github.com/tinygo-org/bluetooth is starting a go-routine, which is running no matter the notification status. I wanted to add a handler, which is only running if the client has notified to my characteristic. Is there already a handler or channel for that in your lib?

skast96 commented 2 years ago

Fixed it in https://github.com/muka/go-bluetooth/pull/157