weliem / bluez_inc

A C library for Bluez (BLE) that hides all DBus communication. It doesn't get easier than this. This library can also be used in C++.
MIT License
84 stars 19 forks source link

binc_device_stop_notify #34

Closed charlesnicholson closed 5 months ago

charlesnicholson commented 5 months ago

There exists a function binc_device_start_notify but not the equivalent binc_device_stop_notify. For users to stop expressing interest in notifications on a specific characteristic, they had to use the functional-but-asymmetrical binc_characteristic_stop_notify function.

This PR adds a very simple binc_device_stop_notify method, for symmetry.

(If you don't want it, that's cool; the c'stic interface works just fine)

weliem commented 5 months ago

Thanks!