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
89 stars 22 forks source link

Sending a notification to a specific subscriber #3

Closed aacebedo closed 2 years ago

aacebedo commented 2 years ago

Hi

I am trying to create a small GATT service with a notification char allowing the server to send notification to a given node. Is this possible with bluez_inc ? The binc_application_notify does not have a parameter to specify a destination node.

I don't see a way neither to get the address of a new subscriber in the callback function called when it happens

martijnvanwelie commented 2 years ago

Hi, in Bluez you can't notify to a specific central. It sends the notification to all connected devices.

aacebedo commented 2 years ago

Ok. Thank you for the response !