Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/2] Disable automatic notification/indication for Battery state level
@ 2010-10-07 13:53 Claudio Takahasi
  2010-10-07 13:53 ` [PATCH 2/2] TODO: Implement Client Characteristic Configuration Claudio Takahasi
  2010-10-13 16:32 ` [PATCH 1/2] Disable automatic notification/indication in the attribute server Claudio Takahasi
  0 siblings, 2 replies; 6+ messages in thread
From: Claudio Takahasi @ 2010-10-07 13:53 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Claudio Takahasi

Reports of Battery state attribute in the Attribute sample server is
being disabled while a proper interface between the attribute server
and service implementation is not defined.
---
 TODO             |    7 -------
 attrib/example.c |    2 ++
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/TODO b/TODO
index 271fc45..a9f1339 100644
--- a/TODO
+++ b/TODO
@@ -18,13 +18,6 @@ Background
 ATT/GATT
 ========
 
-- Sample server shouldn't send any indications or notifications without
-  the client requesting them
-
-  Priority: Medium
-  Complexity: C2
-  Owner: Claudio Takahasi <claudio.takahasi@openbossa.org>
-
 - gatttool should have the ability to wait for req responses before
   quitting (some servers require a small sleep even with cmd's). Maybe a
   --delay-exit or --timeout command line switch.
diff --git a/attrib/example.c b/attrib/example.c
index c29e1e4..aa249a8 100644
--- a/attrib/example.c
+++ b/attrib/example.c
@@ -70,7 +70,9 @@ static gboolean change_battery_state(gpointer user_data)
 	/* Battery state is being increased every 10 seconds. */
 	atval[0] = state++;
 	sdp_uuid16_create(&uuid, BATTERY_STATE_UUID);
+#if 0
 	attrib_db_update(0x0110, &uuid, atval, 1);
+#endif
 
 	return TRUE;
 }
-- 
1.7.3.1


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

end of thread, other threads:[~2010-10-13 16:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 13:53 [PATCH 1/2] Disable automatic notification/indication for Battery state level Claudio Takahasi
2010-10-07 13:53 ` [PATCH 2/2] TODO: Implement Client Characteristic Configuration Claudio Takahasi
2010-10-13 16:34   ` Claudio Takahasi
2010-10-13 16:59     ` Johan Hedberg
2010-10-13 16:32 ` [PATCH 1/2] Disable automatic notification/indication in the attribute server Claudio Takahasi
2010-10-13 16:59   ` Johan Hedberg

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