Linux bluetooth development
 help / color / mirror / Atom feed
From: Sebastian Chlad <sebastianx.chlad@intel.com>
To: linux-bluetooth@vger.kernel.org
Cc: Sebastian Chlad <sebastianx.chlad@intel.com>
Subject: [PATCH 1/2] android/pts: PTS test results for HDP
Date: Tue, 17 Jun 2014 17:53:27 +0300	[thread overview]
Message-ID: <1403016808-18689-1-git-send-email-sebastianx.chlad@intel.com> (raw)

---
 android/pts-hdp.txt | 110 ++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 85 insertions(+), 25 deletions(-)

diff --git a/android/pts-hdp.txt b/android/pts-hdp.txt
index 1dec18c..bdf8eca 100644
--- a/android/pts-hdp.txt
+++ b/android/pts-hdp.txt
@@ -1,7 +1,7 @@
 PTS test results for HDP
 
 PTS version: 5.1
-Tested: not tested
+Tested: 17-June-2014
 Android version: 4.4.2
 
 Results:
@@ -13,18 +13,51 @@ N/A	test is disabled due to PICS setup
 -------------------------------------------------------------------------------
 Test Name		Result	Notes
 -------------------------------------------------------------------------------
-TC_SRC_CON_BV_01_I	INC
-TC_SRC_CON_BV_02_I	INC
-TC_SRC_CON_BV_03_I	INC
-TC_SRC_CON_BV_04_I	INC
-TC_SRC_CON_BV_05_I	INC
-TC_SRC_CON_BV_06_I	INC
-TC_SRC_CON_BV_07_I	INC
-TC_SRC_CON_BV_08_I	INC
-TC_SRC_CON_BV_09_I	INC
-TC_SRC_CON_BV_10_I	INC
-TC_SRC_CC_BV_01_C	INC
-TC_SRC_CC_BV_02_C	INC
+TC_SRC_CON_BV_01_I	PASS	haltest:
+				bluetooth enable
+
+				bluetooth set_adapter_property
+				BT_PROPERTY_ADAPTER_SCAN_MODE
+				BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
+
+				hl register_application <args>
+				for instance:
+				hl register_application health intel heartrate
+				heartrate-monitor 1 BTHL_MDEP_ROLE_SOURCE 4100
+				BTHL_CHANNEL_TYPE_RELIABLE testing
+
+				when prompted:
+				bluetooth ssp_reply <args>
+				for instance:
+				bluetooth ssp_reply <bdaddr>
+				BT_SSP_VARIANT_CONSENT 1
+TC_SRC_CON_BV_02_I	PASS
+TC_SRC_CON_BV_03_I	PASS	when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_04_I	PASS	haltest:
+				hl connect_channel <app_id> <bd_addr>
+				<mdep_cfg_index>
+
+				when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_05_I	PASS	when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_06_I	PASS	haltest:
+				hl connect_channel <app_id> <bd_addr>
+				<mdep_cfg_index>
+
+				when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_07_I	PASS	when prompted: bluetooth start_discovery
+TC_SRC_CON_BV_08_I	PASS	when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_09_I	PASS	haltest:
+				hl connect_channel <app_id> <bd_addr>
+				<mdep_cfg_index>
+
+				when prompted: bluetooth ssp_reply <args>
+TC_SRC_CON_BV_10_I	N/A
+TC_SRC_CC_BV_01_C	PASS	haltest:
+				hl connect_channel <app_id> <bd_addr>
+				<mdep_cfg_index>
+
+				when prompted: bluetooth ssp_reply <args>
+TC_SRC_CC_BV_02_C	PASS	when prompted: bluetooth ssp_reply <args>
 TC_SRC_CC_BV_03_C	INC
 TC_SRC_CC_BV_05_C	INC
 TC_SRC_CC_BV_07_C	INC
@@ -41,18 +74,45 @@ TC_SRC_DE_BV_01_I	INC
 TC_SRC_DE_BV_02_I	INC
 TC_SRC_DEP_BV_01_I	INC
 TC_SRC_DEP_BV_02_I	N/A
-TC_SNK_CON_BV_01_I	INC
-TC_SNK_CON_BV_02_I	INC
-TC_SNK_CON_BV_03_I	INC
-TC_SNK_CON_BV_04_I	INC
-TC_SNK_CON_BV_05_I	INC
-TC_SNK_CON_BV_06_I	INC
-TC_SNK_CON_BV_07_I	INC
-TC_SNK_CON_BV_08_I	INC
-TC_SNK_CON_BV_09_I	INC
-TC_SNK_CON_BV_10_I	INC
-TC_SNK_CC_BV_01_C	INC
-TC_SNK_CC_BV_02_C	INC
+TC_SNK_CON_BV_01_I	PASS	haltest:
+				hl register_application <args>
+				for instance:
+				hl register_application health intel heartrate
+				heartrate-monitor 1 BTHL_MDEP_ROLE_SINK 4100
+				BTHL_CHANNEL_TYPE_RELIABLE testing
+
+				when prompted:
+				bluetooth ssp_reply <args>
+				for instance:
+				bluetooth ssp_reply <bdaddr>
+				BT_SSP_VARIANT_CONSENT 1
+TC_SNK_CON_BV_02_I	PASS
+TC_SNK_CON_BV_03_I	PASS	when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_04_I	PASS	haltest:
+				hl connect_channel <app_id> <bd_addr>
+				<mdep_cfg_index>
+
+				when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_05_I	PASS	when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_06_I	PASS	haltest:
+				hl connect_channel <app_id> <bd_addr>
+				<mdep_cfg_index>
+
+				when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_07_I	PASS	when prompted: bluetooth start_discovery
+TC_SNK_CON_BV_08_I	PASS	when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_09_I	PASS	haltest:
+				hl connect_channel <app_id> <bd_addr>
+				<mdep_cfg_index>
+
+				when prompted: bluetooth ssp_reply <args>
+TC_SNK_CON_BV_10_I	N/A
+TC_SNK_CC_BV_01_C	PASS	haltest:
+				hl connect_channel <app_id> <bd_addr>
+				<mdep_cfg_index>
+
+				when prompted: bluetooth ssp_reply <args>
+TC_SNK_CC_BV_02_C	PASS	when prompted: bluetooth ssp_reply <args>
 TC_SNK_CC_BV_04_C	INC
 TC_SNK_CC_BV_06_C	INC
 TC_SNK_CC_BV_08_C	INC
-- 
1.8.3.2

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


             reply	other threads:[~2014-06-17 14:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-17 14:53 Sebastian Chlad [this message]
2014-06-17 14:53 ` [PATCH 2/2] android/pts: Adjust PICS for HDP Sebastian Chlad
2014-06-17 18:25 ` [PATCH 1/2] android/pts: PTS test results " Szymon Janc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1403016808-18689-1-git-send-email-sebastianx.chlad@intel.com \
    --to=sebastianx.chlad@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox