Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 00/15] thermometer plugin updates
@ 2012-11-09  8:55 Andrzej Kaczmarek
  2012-11-09  8:55 ` [PATCH 01/15] thermometer: Store Temperature Measurement CCC handle in struct Andrzej Kaczmarek
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Andrzej Kaczmarek @ 2012-11-09  8:55 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Andrzej Kaczmarek

Hi,

Here are few patches to update thermometer plugin with features already
implemented in other plugins:
- store attributes handles directly in thermometer structure instead of
  nested lists of structures which we need to traverse later (and we
  only need 3 handles stored to support all use cases)
- register attio handlers for specific handles instead of one ind and
  notif handler globally
- change properties handling to DBus.Properties
- and some minor fixes

This is tested with PTS 4.5.3. There's only problem with patch #9 which
"breaks" testcase TP/THF/CO/BV-09-I - this is because PTS sends invalid
properties for Measurement Interval characteristic (it does not have
indicate property so we do not register ind handler for it). I already
filled issue on PTS.

Comments are welcome.


Andrzej Kaczmarek (15):
  thermometer: Store Temperature Measurement CCC handle in struct
  thermometer: Store Intermediate Temperature CCC handle in struct
  thermometer: Store Measurement Interval value handle in struct
  thermometer: Use dedicated handler for Intermediate Temperature
  thermometer: Use dedicated handler for Temperature Measurement
  thermometer: Use dedicated handler for Measurement Interval
  thermometer: Remove descriptor structure
  thermometer: Remove storage of all discovered characteristics
  thermometer: Discover Measurement Interval descriptors only if needed
  thermometer: Always write CCC value when connecting
  thermometer: Make temp_type array static
  thermometer: Add DBus.Properties support
  thermometer: Remove legacy properties code
  doc: Update thermometer API document
  test: Update test-thermometer for DBus.Properties

 doc/thermometer-api.txt            |   18 -
 profiles/thermometer/thermometer.c | 1008 +++++++++++++++++-------------------
 test/test-thermometer              |   13 +-
 3 files changed, 478 insertions(+), 561 deletions(-)

-- 
1.8.0


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

end of thread, other threads:[~2012-11-30 13:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-09  8:55 [PATCH 00/15] thermometer plugin updates Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 01/15] thermometer: Store Temperature Measurement CCC handle in struct Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 02/15] thermometer: Store Intermediate Temperature " Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 03/15] thermometer: Store Measurement Interval value " Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 04/15] thermometer: Use dedicated handler for Intermediate Temperature Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 05/15] thermometer: Use dedicated handler for Temperature Measurement Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 06/15] thermometer: Use dedicated handler for Measurement Interval Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 07/15] thermometer: Remove descriptor structure Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 08/15] thermometer: Remove storage of all discovered characteristics Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 09/15] thermometer: Discover Measurement Interval descriptors only if needed Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 10/15] thermometer: Always write CCC value when connecting Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 11/15] thermometer: Make temp_type array static Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 12/15] thermometer: Add DBus.Properties support Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 13/15] thermometer: Remove legacy properties code Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 14/15] doc: Update thermometer API document Andrzej Kaczmarek
2012-11-09  8:55 ` [PATCH 15/15] test: Update test-thermometer for DBus.Properties Andrzej Kaczmarek
2012-11-30 13:06 ` [PATCH 00/15] thermometer plugin updates Johan Hedberg

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