Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCHv4 0/3] HOGP fixes and update of test results
@ 2015-02-25 12:22 Mariusz Skamra
  2015-02-25 12:22 ` [PATCHv4 1/3] android/bas: Read battery level characteristic Mariusz Skamra
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mariusz Skamra @ 2015-02-25 12:22 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mariusz Skamra

  I deleted most of the code related to finding include services. This was only used
in situation when HID service as primary service was not found. However according to
SPEC HID device shall implement HID service as primary. Further HOG is called
from hidhost's hog_conn_cb when HID service was found and connection was established using LE.
Now searching for include services is performed because TC_HGDR_RH_BV_01_I requires that.
Finding battery services is performed like before, during primary services discovery.
Compared to v3 I used queue instead of GSList for bas.

  Add a queue of battery services because according to HOGP SPEC there could be more
than one battery services like in TC_HGDC_HH_BV_14_I where there is only one HID service,
and two battery services. So the first found bas was overwritten by the second one and
after reconnection only one bas was attached.

  For test purposes requiring read of battery level read_value_cb was added.

Mariusz Skamra (3):
  android/bas: Read battery level characteristic
  android/hog: Fix find included battery services
  android/pts: Update test results for HOGP

 android/bas.c        | 13 ++++++--
 android/hog.c        | 84 +++++++++++++++++-----------------------------------
 android/pts-hogp.txt |  6 ++--
 3 files changed, 41 insertions(+), 62 deletions(-)

-- 
1.9.1


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

end of thread, other threads:[~2015-02-26 11:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 12:22 [PATCHv4 0/3] HOGP fixes and update of test results Mariusz Skamra
2015-02-25 12:22 ` [PATCHv4 1/3] android/bas: Read battery level characteristic Mariusz Skamra
2015-02-25 12:22 ` [PATCHv4 2/3] android/hog: Fix find included battery services Mariusz Skamra
2015-02-25 12:22 ` [PATCHv4 3/3] android/pts: Update test results for HOGP Mariusz Skamra
2015-02-26 11:51 ` [PATCHv4 0/3] HOGP fixes and update of test results Szymon Janc

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