public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] gatt: Fix sending indications with proxy
@ 2017-10-03 18:35 Yunhan Wang
  2017-10-04 11:19 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 5+ messages in thread
From: Yunhan Wang @ 2017-10-03 18:35 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Yunhan Wang

When using AcquireNotify with indication, the proxy needs to be filled in
send_notification_to_devices so as to get indication confirmation in
applciation.
---
 src/gatt-database.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gatt-database.c b/src/gatt-database.c
index 0c84b2569..47304704a 100644
--- a/src/gatt-database.c
+++ b/src/gatt-database.c
@@ -1831,7 +1831,7 @@ static bool pipe_io_read(struct io *io, void *user_data)
 				buf, bytes_read,
 				gatt_db_attribute_get_handle(chrc->ccc),
 				chrc->props & BT_GATT_CHRC_PROP_INDICATE,
-				NULL);
+				chrc->proxy);
 
 	return true;
 }
-- 
2.14.2.822.g60be5d43e6-goog


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-05 13:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-03 18:35 [PATCH BlueZ] gatt: Fix sending indications with proxy Yunhan Wang
2017-10-04 11:19 ` Luiz Augusto von Dentz
2017-10-04 14:55   ` Yunhan Wang
2017-10-05  8:21     ` Yunhan Wang
2017-10-05 13:41       ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox