Thread (3 messages) flat view 3 messages, 2 authors, 2017-02-17

Fwd: How to receive Notifications?

From: Dave Beal <hidden>
Date: 2017-02-17 02:56:35

Thank you, Luiz.  My code is now able to receive notifications.  Is
there any way to register for *indications* in the current version of
BlueZ?


---------- Forwarded message ----------
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: Tue, Feb 14, 2017 at 11:17 AM
Subject: Re: How to receive Notifications?
To: Dave Beal <redacted>
Cc: "linux-bluetooth@vger.kernel.org" <redacted>


Hi Dave,

On Tue, Feb 14, 2017 at 2:28 AM, Dave Beal [off-list ref] wrote:
Hello -

I'm using the GATT API of BlueZ 5.43 via libdbus.  I've successfully
registered for notifications with the remote GATT server by calling
the StartNotify method on the characteristic.  I know that the
registration worked, because I see the remote server processing in.
How does my GATT client code get informed when a notification arrives?
That should arrive as PropertiesChanged("Value", data) signals.


--
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help