All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] android/pics: Add PICS and PIXIT for HSP
@ 2014-02-24 11:54 Sebastian Chlad
  2014-02-24 17:57 ` Marcel Holtmann
  2014-02-25 12:07 ` [v2] " Sebastian Chlad
  0 siblings, 2 replies; 7+ messages in thread
From: Sebastian Chlad @ 2014-02-24 11:54 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Sebastian Chlad

Added PICS and PIXIT target Android 4.4
---
 android/Makefile.am   |   2 +
 android/pics-hsp.txt  | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++
 android/pixit-hsp.txt |  30 +++++++++++++++
 3 files changed, 135 insertions(+)
 create mode 100644 android/pics-hsp.txt
 create mode 100644 android/pixit-hsp.txt

diff --git a/android/Makefile.am b/android/Makefile.am
index 50d0dc0..58cfbae 100644
--- a/android/Makefile.am
+++ b/android/Makefile.am
@@ -188,6 +188,7 @@ EXTRA_DIST += android/Android.mk android/README \
 				android/pics-a2dp.txt \
 				android/pics-avctp.txt \
 				android/pics-avrcp.txt \
+				android/pics-hsp.txt \
 				android/pixit-l2cap.txt \
 				android/pixit-gap.txt \
 				android/pixit-did.txt \
@@ -199,6 +200,7 @@ EXTRA_DIST += android/Android.mk android/README \
 				android/pixit-a2dp.txt \
 				android/pixit-avctp.txt \
 				android/pixit-avrcp.txt \
+				android/pixit-hsp.txt \
 				android/pts-l2cap.txt \
 				android/pts-gap.txt \
 				android/pts-did.txt \
diff --git a/android/pics-hsp.txt b/android/pics-hsp.txt
new file mode 100644
index 0000000..015b619
--- /dev/null
+++ b/android/pics-hsp.txt
@@ -0,0 +1,103 @@
+HSP PICS for the PTS tool.
+
+PTS version: 5.0
+
+* - different than PTS defaults
+# - not yet implemented/supported
+
+M - mandatory
+O - optional
+
+		Version
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_0_1	False		Version: Headset Profile v1.1 (C.1)
+TSPC_HSP_0_2	True		Version: Headset Profile v1.2 (C.1)
+-------------------------------------------------------------------------------
+C.1: Mandatory to support one and only one of these versions.
+-------------------------------------------------------------------------------
+
+
+		Roles
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_1_1	True		Role: Audio Gateway (AG) (C.1)
+TSPC_HSP_1_2	False		Role: Headset (HS) (C.1)
+-------------------------------------------------------------------------------
+C.1: Mandatory to support at least one of the defined roles.
+-------------------------------------------------------------------------------
+
+
+		Audio Gateway Role
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_2_1	True		Incoming audio connection establishment (M)
+TSPC_HSP_2_2	True		Ring (AT command) (C.3)
+TSPC_HSP_2_3	False		Inband ring tone (O)
+TSPC_HSP_2_4	True		Outgoing audio connection establishment (O)
+TSPC_HSP_2_5	True		Audio connection release from HS (C.5)
+TSPC_HSP_2_6	True		Audio connection release from AG (M)
+TSPC_HSP_2_7	True		Audio connection transfer: AG to HS (M)
+TSPC_HSP_2_8	True		Audio connection transfer: HS to AG (M)
+TSPC_HSP_2_9	False		Remote audio volume control (C.1)
+TSPC_HSP_2_10	False		HS informs AG about local changes of audio
+					volume (O)
+TSPC_HSP_2_11	False		Audio volume setting storage by HS (O)
+TSPC_HSP_2_12	False		Remote microphone gain control (C.2)
+TSPC_HSP_2_13	False		HS informs AG about local changes of microphone
+					gain (O)
+TSPC_HSP_2_14	False		Microphone gain setting storage by HS (O)
+TSPC_HSP_2_15	True		Connection handling with Detach/Page (M)
+TSPC_HSP_2_16	False		Connection handling with Park Mode (C.4)
+-------------------------------------------------------------------------------
+C.1: Mandatory if TSPC_HSP_2_10 is supported, otherwise optional
+C:2: Mandatory if TSPC_HSP_2_13 is supported, otherwise optional
+C.3: Excluded if TSPC_HSP_2_3 and TSPC_HSP_4_1 ("Show that in-band
+	ringing and RING are mutually exclusive") are supported,
+	otherwise optional
+C.4: Excluded if TSPC_HSP_0_2 is supported, otherwise optional
+C.5: Mandatory if TSPC_HSP_0_1 is supported, otherwise optional
+-------------------------------------------------------------------------------
+
+
+		Headset Application Features
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_3_1	False		Incoming audio connection establishment (M)
+TSPC_HSP_3_2	False		Ring (AT command) (M)
+TSPC_HSP_3_3	False		Inband ring tone (M)
+TSPC_HSP_3_4	False		Outgoing audio connection establishment (M)
+TSPC_HSP_3_5	False		Audio connection release from HS (M)
+TSPC_HSP_3_6	False		Audio connection release from AG (M)
+TSPC_HSP_3_7	False		Audio connection transfer: AG to HS (M)
+TSPC_HSP_3_8	False		Audio connection transfer: HS to AG (M)
+TSPC_HSP_3_9	False		Remote audio volume control (C.1)
+TSPC_HSP_3_10	False		HS informs AG about local changes of audio
+                                        volume (O)
+TSPC_HSP_3_11	False		Audio volume setting storage by HS (O)
+TSPC_HSP_3_12	False		Remote microphone gain control (C.2)
+TSPC_HSP_3_13	False		HS informs AG about local changes of microphone
+                                        gain (O)
+TSPC_HSP_3_14	False		Microphone gain setting storage by HS (O)
+TSPC_HSP_3_15	False		Connection handling with Detach/Page (M)
+TSPC_HSP_3_16	False		Connection handling with Park Mode (C.3)
+-------------------------------------------------------------------------------
+C.1: Mandatory if TSPC_HSP_3_10 is supported, otherwise optional
+C.2: Mandatory if TSPC_HSP_2_13 is supported, otherwise optional
+C.3: Excluded if TSPC_HSP_0_2 is supported, otherwise optional
+-------------------------------------------------------------------------------
+
+
+		Errata Service Releases
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_4_1	False		Show that in-band ringing and RING are
+					mutually exclusive (C.1)
+-------------------------------------------------------------------------------
+C.1: Excluded if TSPC_HSP_0_2 is supported, otherwise optional
+-------------------------------------------------------------------------------
diff --git a/android/pixit-hsp.txt b/android/pixit-hsp.txt
new file mode 100644
index 0000000..2bda4fa
--- /dev/null
+++ b/android/pixit-hsp.txt
@@ -0,0 +1,30 @@
+HSP PIXIT for the PTS tool.
+
+PTS version: 5.0
+
+* - different than PTS defaults
+& - should be set to IUT Bluetooth address
+
+		Required PIXIT settings
+-------------------------------------------------------------------------------
+Parameter Name						Value
+-------------------------------------------------------------------------------
+TSPX_security_enabled					TRUE
+TSPX_bd_addr_iut					08606E414394 (&)
+TSPX_hs_class_of_device					200404
+TSPX_ag_class_of_device					400204
+TSPX_packet_type_sco					00A0
+TSPX_pin_code						0000
+TSPX_time_guard						20000000
+TSPX_use_implicit_send					TRUE
+TSPX_verbose_implicit_send				FALSE
+TSPX_delete_link_key					FALSE
+TSPX_server_channel_tester				01
+TSPX_server_channel_iut					00
+TSPX_no_fail_verdict					FALSE
+TSPX_remote_audio_volume_control			TRUE
+TSPX_secure_simple_pairing_pass_key_confirmation	FALSE
+TSPX_inband_ring_only					FALSE
+TSPX_no_ring_or_inband_ring_tone			FALSE
+TSPX_iut_establish_audio_before_RING			FALSE
+-------------------------------------------------------------------------------
-- 
1.8.5.3


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

* Re: [PATCH] android/pics: Add PICS and PIXIT for HSP
  2014-02-24 11:54 [PATCH] android/pics: Add PICS and PIXIT for HSP Sebastian Chlad
@ 2014-02-24 17:57 ` Marcel Holtmann
  2014-02-24 19:17   ` Szymon Janc
  2014-02-25 12:07 ` [v2] " Sebastian Chlad
  1 sibling, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2014-02-24 17:57 UTC (permalink / raw)
  To: Sebastian Chlad; +Cc: bluez mailin list (linux-bluetooth@vger.kernel.org)

Hi Sebastian,

> Added PICS and PIXIT target Android 4.4
> ---
> android/Makefile.am   |   2 +
> android/pics-hsp.txt  | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++
> android/pixit-hsp.txt |  30 +++++++++++++++
> 3 files changed, 135 insertions(+)
> create mode 100644 android/pics-hsp.txt
> create mode 100644 android/pixit-hsp.txt

so we are doing Headset profile (HSP) and also Handsfree profile (HFP). I am fine with also doing HSP since it seems that is what Android uses on tablets.

Regards

Marcel


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

* Re: [PATCH] android/pics: Add PICS and PIXIT for HSP
  2014-02-24 17:57 ` Marcel Holtmann
@ 2014-02-24 19:17   ` Szymon Janc
  2014-02-24 19:34     ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Szymon Janc @ 2014-02-24 19:17 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Sebastian Chlad, bluez mailin list (linux-bluetooth@vger.kernel.org)

Hi Marcel,

On Monday 24 February 2014 09:57:14 Marcel Holtmann wrote:
> Hi Sebastian,
> 
> > Added PICS and PIXIT target Android 4.4
> > ---
> > android/Makefile.am   |   2 +
> > android/pics-hsp.txt  | 103
> > ++++++++++++++++++++++++++++++++++++++++++++++++++ android/pixit-hsp.txt
> > |  30 +++++++++++++++
> > 3 files changed, 135 insertions(+)
> > create mode 100644 android/pics-hsp.txt
> > create mode 100644 android/pixit-hsp.txt
> 
> so we are doing Headset profile (HSP) and also Handsfree profile (HFP). I am
> fine with also doing HSP since it seems that is what Android uses on
> tablets.

Both HSP and HFP are handled by handsfree HAL sp we would probably need some 
extra argument in IPC to allow disabling HFP if not required. And some 
configuration (runtime/compile time?) flag for libhal.


-- 
Szymon K. Janc
szymon.janc@gmail.com

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

* Re: [PATCH] android/pics: Add PICS and PIXIT for HSP
  2014-02-24 19:17   ` Szymon Janc
@ 2014-02-24 19:34     ` Marcel Holtmann
  2014-02-24 20:31       ` Szymon Janc
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2014-02-24 19:34 UTC (permalink / raw)
  To: Szymon Janc
  Cc: Sebastian Chlad, bluez mailin list (linux-bluetooth@vger.kernel.org)

Hi Szymon,

>>> Added PICS and PIXIT target Android 4.4
>>> ---
>>> android/Makefile.am   |   2 +
>>> android/pics-hsp.txt  | 103
>>> ++++++++++++++++++++++++++++++++++++++++++++++++++ android/pixit-hsp.txt
>>> |  30 +++++++++++++++
>>> 3 files changed, 135 insertions(+)
>>> create mode 100644 android/pics-hsp.txt
>>> create mode 100644 android/pixit-hsp.txt
>> 
>> so we are doing Headset profile (HSP) and also Handsfree profile (HFP). I am
>> fine with also doing HSP since it seems that is what Android uses on
>> tablets.
> 
> Both HSP and HFP are handled by handsfree HAL sp we would probably need some 
> extra argument in IPC to allow disabling HFP if not required. And some 
> configuration (runtime/compile time?) flag for libhal.

I do not want a compile time option. Is that how Bluedroid handles it. For examples Nexus 4 vs Nexus 7.

The easiest would be to have some IPC option to set HSP and HFP. Meaning that we could have a property that the HAL sets and then just uses that to tell the daemon what to enabled.

I am thinking we might just need a flags parameter to the Register module command in the core service. Or alternatively, have a Set Option command.

Right now I would tend to do the Set Option command. So the HAL can configure certain options.

Regards

Marcel


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

* Re: [PATCH] android/pics: Add PICS and PIXIT for HSP
  2014-02-24 19:34     ` Marcel Holtmann
@ 2014-02-24 20:31       ` Szymon Janc
  0 siblings, 0 replies; 7+ messages in thread
From: Szymon Janc @ 2014-02-24 20:31 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Sebastian Chlad, bluez mailin list (linux-bluetooth@vger.kernel.org)

Hi Marcel,

On Monday 24 February 2014 11:34:26 Marcel Holtmann wrote:
> Hi Szymon,
> 
> >>> Added PICS and PIXIT target Android 4.4
> >>> ---
> >>> android/Makefile.am   |   2 +
> >>> android/pics-hsp.txt  | 103
> >>> ++++++++++++++++++++++++++++++++++++++++++++++++++ android/pixit-hsp.txt
> >>> 
> >>> |  30 +++++++++++++++
> >>> 
> >>> 3 files changed, 135 insertions(+)
> >>> create mode 100644 android/pics-hsp.txt
> >>> create mode 100644 android/pixit-hsp.txt
> >> 
> >> so we are doing Headset profile (HSP) and also Handsfree profile (HFP). I
> >> am fine with also doing HSP since it seems that is what Android uses on
> >> tablets.
> > 
> > Both HSP and HFP are handled by handsfree HAL sp we would probably need
> > some extra argument in IPC to allow disabling HFP if not required. And
> > some configuration (runtime/compile time?) flag for libhal.
> 
> I do not want a compile time option. Is that how Bluedroid handles it. For
> examples Nexus 4 vs Nexus 7.

Yes, Bluedroid is compile-time configured, device that wants to use
non-default options provides those in bdroid_buildcfg.h header eg.

this is defined for Nexus7 (flo), but not for Nexus4 (mako)
#define BTIF_HF_SERVICES (BTA_HSP_SERVICE_MASK)

> 
> The easiest would be to have some IPC option to set HSP and HFP. Meaning
> that we could have a property that the HAL sets and then just uses that to
> tell the daemon what to enabled.
> 
> I am thinking we might just need a flags parameter to the Register module
> command in the core service. Or alternatively, have a Set Option command.
> 
> Right now I would tend to do the Set Option command. So the HAL can
> configure certain options.

I agree, for now we can provide such option command, if it turns out that more 
profiles HALs need configuration we can move to flags in register commands.

-- 
Szymon K. Janc
szymon.janc@gmail.com

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

* [v2] android/pics: Add PICS and PIXIT for HSP
  2014-02-24 11:54 [PATCH] android/pics: Add PICS and PIXIT for HSP Sebastian Chlad
  2014-02-24 17:57 ` Marcel Holtmann
@ 2014-02-25 12:07 ` Sebastian Chlad
  2014-02-28 12:11   ` Szymon Janc
  1 sibling, 1 reply; 7+ messages in thread
From: Sebastian Chlad @ 2014-02-25 12:07 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Sebastian Chlad

Added PICS and PIXIT target Android 4.4
---
 android/Makefile.am   |   2 +
 android/pics-hsp.txt  | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++
 android/pixit-hsp.txt |  30 +++++++++++++++
 3 files changed, 135 insertions(+)
 create mode 100644 android/pics-hsp.txt
 create mode 100644 android/pixit-hsp.txt

diff --git a/android/Makefile.am b/android/Makefile.am
index 50d0dc0..58cfbae 100644
--- a/android/Makefile.am
+++ b/android/Makefile.am
@@ -188,6 +188,7 @@ EXTRA_DIST += android/Android.mk android/README \
 				android/pics-a2dp.txt \
 				android/pics-avctp.txt \
 				android/pics-avrcp.txt \
+				android/pics-hsp.txt \
 				android/pixit-l2cap.txt \
 				android/pixit-gap.txt \
 				android/pixit-did.txt \
@@ -199,6 +200,7 @@ EXTRA_DIST += android/Android.mk android/README \
 				android/pixit-a2dp.txt \
 				android/pixit-avctp.txt \
 				android/pixit-avrcp.txt \
+				android/pixit-hsp.txt \
 				android/pts-l2cap.txt \
 				android/pts-gap.txt \
 				android/pts-did.txt \
diff --git a/android/pics-hsp.txt b/android/pics-hsp.txt
new file mode 100644
index 0000000..3e996ab
--- /dev/null
+++ b/android/pics-hsp.txt
@@ -0,0 +1,103 @@
+HSP PICS for the PTS tool.
+
+PTS version: 5.0
+
+* - different than PTS defaults
+# - not yet implemented/supported
+
+M - mandatory
+O - optional
+
+		Version
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_0_1	False		Version: Headset Profile v1.1 (C.1)
+TSPC_HSP_0_2	True (*)	Version: Headset Profile v1.2 (C.1)
+-------------------------------------------------------------------------------
+C.1: Mandatory to support one and only one of these versions.
+-------------------------------------------------------------------------------
+
+
+		Roles
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_1_1	True (*)	Role: Audio Gateway (AG) (C.1)
+TSPC_HSP_1_2	False		Role: Headset (HS) (C.1)
+-------------------------------------------------------------------------------
+C.1: Mandatory to support at least one of the defined roles.
+-------------------------------------------------------------------------------
+
+
+		Audio Gateway Role
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_2_1	True		Incoming audio connection establishment (M)
+TSPC_HSP_2_2	True (*)	Ring (AT command) (C.3)
+TSPC_HSP_2_3	False 		Inband ring tone (O)
+TSPC_HSP_2_4	True (*)	Outgoing audio connection establishment (O)
+TSPC_HSP_2_5	True (*)	Audio connection release from HS (C.5)
+TSPC_HSP_2_6	True 		Audio connection release from AG (M)
+TSPC_HSP_2_7	True		Audio connection transfer: AG to HS (M)
+TSPC_HSP_2_8	True		Audio connection transfer: HS to AG (M)
+TSPC_HSP_2_9	False		Remote audio volume control (C.1)
+TSPC_HSP_2_10	False		HS informs AG about local changes of audio
+					volume (O)
+TSPC_HSP_2_11	False		Audio volume setting storage by HS (O)
+TSPC_HSP_2_12	False		Remote microphone gain control (C.2)
+TSPC_HSP_2_13	False		HS informs AG about local changes of microphone
+					gain (O)
+TSPC_HSP_2_14	False		Microphone gain setting storage by HS (O)
+TSPC_HSP_2_15	True		Connection handling with Detach/Page (M)
+TSPC_HSP_2_16	False		Connection handling with Park Mode (C.4)
+-------------------------------------------------------------------------------
+C.1: Mandatory if TSPC_HSP_2_10 is supported, otherwise optional
+C:2: Mandatory if TSPC_HSP_2_13 is supported, otherwise optional
+C.3: Excluded if TSPC_HSP_2_3 and TSPC_HSP_4_1 ("Show that in-band
+	ringing and RING are mutually exclusive") are supported,
+	otherwise optional
+C.4: Excluded if TSPC_HSP_0_2 is supported, otherwise optional
+C.5: Mandatory if TSPC_HSP_0_1 is supported, otherwise optional
+-------------------------------------------------------------------------------
+
+
+		Headset Application Features
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_3_1	False (*)	Incoming audio connection establishment (M)
+TSPC_HSP_3_2	False (*)	Ring (AT command) (M)
+TSPC_HSP_3_3	False (*)	Inband ring tone (M)
+TSPC_HSP_3_4	False (*)	Outgoing audio connection establishment (M)
+TSPC_HSP_3_5	False (*)	Audio connection release from HS (M)
+TSPC_HSP_3_6	False (*)	Audio connection release from AG (M)
+TSPC_HSP_3_7	False (*)	Audio connection transfer: AG to HS (M)
+TSPC_HSP_3_8	False (*)	Audio connection transfer: HS to AG (M)
+TSPC_HSP_3_9	False		Remote audio volume control (C.1)
+TSPC_HSP_3_10	False		HS informs AG about local changes of audio
+                                        volume (O)
+TSPC_HSP_3_11	False		Audio volume setting storage by HS (O)
+TSPC_HSP_3_12	False		Remote microphone gain control (C.2)
+TSPC_HSP_3_13	False		HS informs AG about local changes of microphone
+                                        gain (O)
+TSPC_HSP_3_14	False (*)	Microphone gain setting storage by HS (O)
+TSPC_HSP_3_15	False		Connection handling with Detach/Page (M)
+TSPC_HSP_3_16	False		Connection handling with Park Mode (C.3)
+-------------------------------------------------------------------------------
+C.1: Mandatory if TSPC_HSP_3_10 is supported, otherwise optional
+C.2: Mandatory if TSPC_HSP_2_13 is supported, otherwise optional
+C.3: Excluded if TSPC_HSP_0_2 is supported, otherwise optional
+-------------------------------------------------------------------------------
+
+
+		Errata Service Releases
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_HSP_4_1	False		Show that in-band ringing and RING are
+					mutually exclusive (C.1)
+-------------------------------------------------------------------------------
+C.1: Excluded if TSPC_HSP_0_2 is supported, otherwise optional
+-------------------------------------------------------------------------------
diff --git a/android/pixit-hsp.txt b/android/pixit-hsp.txt
new file mode 100644
index 0000000..a2c1181
--- /dev/null
+++ b/android/pixit-hsp.txt
@@ -0,0 +1,30 @@
+HSP PIXIT for the PTS tool.
+
+PTS version: 5.0
+
+* - different than PTS defaults
+& - should be set to IUT Bluetooth address
+
+		Required PIXIT settings
+-------------------------------------------------------------------------------
+Parameter Name						Value
+-------------------------------------------------------------------------------
+TSPX_security_enabled					TRUE
+TSPX_bd_addr_iut					012345678901 (*&)
+TSPX_hs_class_of_device					200404
+TSPX_ag_class_of_device					400204
+TSPX_packet_type_sco					00A0
+TSPX_pin_code						0000
+TSPX_time_guard						20000000
+TSPX_use_implicit_send					TRUE
+TSPX_verbose_implicit_send				FALSE
+TSPX_delete_link_key					FALSE
+TSPX_server_channel_tester				01
+TSPX_server_channel_iut					00
+TSPX_no_fail_verdict					FALSE
+TSPX_remote_audio_volume_control			TRUE
+TSPX_secure_simple_pairing_pass_key_confirmation	FALSE
+TSPX_inband_ring_only					FALSE
+TSPX_no_ring_or_inband_ring_tone			FALSE
+TSPX_iut_establish_audio_before_RING			FALSE
+-------------------------------------------------------------------------------
-- 
1.8.5.3


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

* Re: [v2] android/pics: Add PICS and PIXIT for HSP
  2014-02-25 12:07 ` [v2] " Sebastian Chlad
@ 2014-02-28 12:11   ` Szymon Janc
  0 siblings, 0 replies; 7+ messages in thread
From: Szymon Janc @ 2014-02-28 12:11 UTC (permalink / raw)
  To: Sebastian Chlad; +Cc: linux-bluetooth

Hi Sebastian,

On Tuesday 25 of February 2014 13:07:51 Sebastian Chlad wrote:
> Added PICS and PIXIT target Android 4.4
> ---
>  android/Makefile.am   |   2 +
>  android/pics-hsp.txt  | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  android/pixit-hsp.txt |  30 +++++++++++++++
>  3 files changed, 135 insertions(+)
>  create mode 100644 android/pics-hsp.txt
>  create mode 100644 android/pixit-hsp.txt
> 
> diff --git a/android/Makefile.am b/android/Makefile.am
> index 50d0dc0..58cfbae 100644
> --- a/android/Makefile.am
> +++ b/android/Makefile.am
> @@ -188,6 +188,7 @@ EXTRA_DIST += android/Android.mk android/README \
>  				android/pics-a2dp.txt \
>  				android/pics-avctp.txt \
>  				android/pics-avrcp.txt \
> +				android/pics-hsp.txt \
>  				android/pixit-l2cap.txt \
>  				android/pixit-gap.txt \
>  				android/pixit-did.txt \
> @@ -199,6 +200,7 @@ EXTRA_DIST += android/Android.mk android/README \
>  				android/pixit-a2dp.txt \
>  				android/pixit-avctp.txt \
>  				android/pixit-avrcp.txt \
> +				android/pixit-hsp.txt \
>  				android/pts-l2cap.txt \
>  				android/pts-gap.txt \
>  				android/pts-did.txt \
> diff --git a/android/pics-hsp.txt b/android/pics-hsp.txt
> new file mode 100644
> index 0000000..3e996ab
> --- /dev/null
> +++ b/android/pics-hsp.txt
> @@ -0,0 +1,103 @@
> +HSP PICS for the PTS tool.
> +
> +PTS version: 5.0
> +
> +* - different than PTS defaults
> +# - not yet implemented/supported
> +
> +M - mandatory
> +O - optional
> +
> +		Version
> +-------------------------------------------------------------------------------
> +Parameter Name	Selected	Description
> +-------------------------------------------------------------------------------
> +TSPC_HSP_0_1	False		Version: Headset Profile v1.1 (C.1)
> +TSPC_HSP_0_2	True (*)	Version: Headset Profile v1.2 (C.1)
> +-------------------------------------------------------------------------------
> +C.1: Mandatory to support one and only one of these versions.
> +-------------------------------------------------------------------------------
> +
> +
> +		Roles
> +-------------------------------------------------------------------------------
> +Parameter Name	Selected	Description
> +-------------------------------------------------------------------------------
> +TSPC_HSP_1_1	True (*)	Role: Audio Gateway (AG) (C.1)
> +TSPC_HSP_1_2	False		Role: Headset (HS) (C.1)
> +-------------------------------------------------------------------------------
> +C.1: Mandatory to support at least one of the defined roles.
> +-------------------------------------------------------------------------------
> +
> +
> +		Audio Gateway Role
> +-------------------------------------------------------------------------------
> +Parameter Name	Selected	Description
> +-------------------------------------------------------------------------------
> +TSPC_HSP_2_1	True		Incoming audio connection establishment (M)
> +TSPC_HSP_2_2	True (*)	Ring (AT command) (C.3)
> +TSPC_HSP_2_3	False 		Inband ring tone (O)
> +TSPC_HSP_2_4	True (*)	Outgoing audio connection establishment (O)
> +TSPC_HSP_2_5	True (*)	Audio connection release from HS (C.5)
> +TSPC_HSP_2_6	True 		Audio connection release from AG (M)
> +TSPC_HSP_2_7	True		Audio connection transfer: AG to HS (M)
> +TSPC_HSP_2_8	True		Audio connection transfer: HS to AG (M)
> +TSPC_HSP_2_9	False		Remote audio volume control (C.1)
> +TSPC_HSP_2_10	False		HS informs AG about local changes of audio
> +					volume (O)
> +TSPC_HSP_2_11	False		Audio volume setting storage by HS (O)
> +TSPC_HSP_2_12	False		Remote microphone gain control (C.2)
> +TSPC_HSP_2_13	False		HS informs AG about local changes of microphone
> +					gain (O)
> +TSPC_HSP_2_14	False		Microphone gain setting storage by HS (O)
> +TSPC_HSP_2_15	True		Connection handling with Detach/Page (M)
> +TSPC_HSP_2_16	False		Connection handling with Park Mode (C.4)
> +-------------------------------------------------------------------------------
> +C.1: Mandatory if TSPC_HSP_2_10 is supported, otherwise optional
> +C:2: Mandatory if TSPC_HSP_2_13 is supported, otherwise optional
> +C.3: Excluded if TSPC_HSP_2_3 and TSPC_HSP_4_1 ("Show that in-band
> +	ringing and RING are mutually exclusive") are supported,
> +	otherwise optional
> +C.4: Excluded if TSPC_HSP_0_2 is supported, otherwise optional
> +C.5: Mandatory if TSPC_HSP_0_1 is supported, otherwise optional
> +-------------------------------------------------------------------------------
> +
> +
> +		Headset Application Features
> +-------------------------------------------------------------------------------
> +Parameter Name	Selected	Description
> +-------------------------------------------------------------------------------
> +TSPC_HSP_3_1	False (*)	Incoming audio connection establishment (M)
> +TSPC_HSP_3_2	False (*)	Ring (AT command) (M)
> +TSPC_HSP_3_3	False (*)	Inband ring tone (M)
> +TSPC_HSP_3_4	False (*)	Outgoing audio connection establishment (M)
> +TSPC_HSP_3_5	False (*)	Audio connection release from HS (M)
> +TSPC_HSP_3_6	False (*)	Audio connection release from AG (M)
> +TSPC_HSP_3_7	False (*)	Audio connection transfer: AG to HS (M)
> +TSPC_HSP_3_8	False (*)	Audio connection transfer: HS to AG (M)
> +TSPC_HSP_3_9	False		Remote audio volume control (C.1)
> +TSPC_HSP_3_10	False		HS informs AG about local changes of audio
> +                                        volume (O)
> +TSPC_HSP_3_11	False		Audio volume setting storage by HS (O)
> +TSPC_HSP_3_12	False		Remote microphone gain control (C.2)
> +TSPC_HSP_3_13	False		HS informs AG about local changes of microphone
> +                                        gain (O)
> +TSPC_HSP_3_14	False (*)	Microphone gain setting storage by HS (O)
> +TSPC_HSP_3_15	False		Connection handling with Detach/Page (M)
> +TSPC_HSP_3_16	False		Connection handling with Park Mode (C.3)
> +-------------------------------------------------------------------------------
> +C.1: Mandatory if TSPC_HSP_3_10 is supported, otherwise optional
> +C.2: Mandatory if TSPC_HSP_2_13 is supported, otherwise optional
> +C.3: Excluded if TSPC_HSP_0_2 is supported, otherwise optional
> +-------------------------------------------------------------------------------
> +
> +
> +		Errata Service Releases
> +-------------------------------------------------------------------------------
> +Parameter Name	Selected	Description
> +-------------------------------------------------------------------------------
> +TSPC_HSP_4_1	False		Show that in-band ringing and RING are
> +					mutually exclusive (C.1)
> +-------------------------------------------------------------------------------
> +C.1: Excluded if TSPC_HSP_0_2 is supported, otherwise optional
> +-------------------------------------------------------------------------------
> diff --git a/android/pixit-hsp.txt b/android/pixit-hsp.txt
> new file mode 100644
> index 0000000..a2c1181
> --- /dev/null
> +++ b/android/pixit-hsp.txt
> @@ -0,0 +1,30 @@
> +HSP PIXIT for the PTS tool.
> +
> +PTS version: 5.0
> +
> +* - different than PTS defaults
> +& - should be set to IUT Bluetooth address
> +
> +		Required PIXIT settings
> +-------------------------------------------------------------------------------
> +Parameter Name						Value
> +-------------------------------------------------------------------------------
> +TSPX_security_enabled					TRUE
> +TSPX_bd_addr_iut					012345678901 (*&)
> +TSPX_hs_class_of_device					200404
> +TSPX_ag_class_of_device					400204
> +TSPX_packet_type_sco					00A0
> +TSPX_pin_code						0000
> +TSPX_time_guard						20000000
> +TSPX_use_implicit_send					TRUE
> +TSPX_verbose_implicit_send				FALSE
> +TSPX_delete_link_key					FALSE
> +TSPX_server_channel_tester				01
> +TSPX_server_channel_iut					00
> +TSPX_no_fail_verdict					FALSE
> +TSPX_remote_audio_volume_control			TRUE
> +TSPX_secure_simple_pairing_pass_key_confirmation	FALSE
> +TSPX_inband_ring_only					FALSE
> +TSPX_no_ring_or_inband_ring_tone			FALSE
> +TSPX_iut_establish_audio_before_RING			FALSE
> +-------------------------------------------------------------------------------
> 

Applied, thanks.

-- 
Best regards, 
Szymon Janc

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

end of thread, other threads:[~2014-02-28 12:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-24 11:54 [PATCH] android/pics: Add PICS and PIXIT for HSP Sebastian Chlad
2014-02-24 17:57 ` Marcel Holtmann
2014-02-24 19:17   ` Szymon Janc
2014-02-24 19:34     ` Marcel Holtmann
2014-02-24 20:31       ` Szymon Janc
2014-02-25 12:07 ` [v2] " Sebastian Chlad
2014-02-28 12:11   ` Szymon Janc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.