* [PATCH 2/5] android/avdtptest: Verify data before processing rtp header
2014-09-03 13:13 [PATCH 1/5] android/avdtptest: Enable delay reporting Szymon Janc
@ 2014-09-03 13:13 ` Szymon Janc
2014-09-03 13:13 ` [PATCH 3/5] android/avdtptest: Print info when matching SEP was found Szymon Janc
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Szymon Janc @ 2014-09-03 13:13 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Szymon Janc
---
android/avdtptest.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/android/avdtptest.c b/android/avdtptest.c
index d520bc0..92312fa 100644
--- a/android/avdtptest.c
+++ b/android/avdtptest.c
@@ -244,16 +244,22 @@ static gboolean media_reader(GIOChannel *source, GIOCondition condition,
struct rtp_header *rtp = (void *) buf;
static bool decode = false;
uint16_t imtu;
- int fd;
+ int fd, ret;
if (!avdtp_stream_get_transport(avdtp_stream, &fd, &imtu, NULL, NULL))
return TRUE;
- if (read(fd, buf, imtu) < 0) {
+ ret = read(fd, buf, imtu);
+ if (ret < 0) {
printf("Reading failed (%s)\n", strerror(errno));
return TRUE;
}
+ if (ret < (int) sizeof(*rtp)) {
+ printf("Not enough media data received (%u bytes)", ret);
+ return TRUE;
+ }
+
if (!decode) {
printf("V=%u P=%u X=%u CC=%u M=%u PT=%u SeqNr=%d\n",
rtp->v, rtp->p, rtp->x, rtp->cc, rtp->m, rtp->pt,
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/5] android/avdtptest: Print info when matching SEP was found
2014-09-03 13:13 [PATCH 1/5] android/avdtptest: Enable delay reporting Szymon Janc
2014-09-03 13:13 ` [PATCH 2/5] android/avdtptest: Verify data before processing rtp header Szymon Janc
@ 2014-09-03 13:13 ` Szymon Janc
2014-09-03 13:13 ` [PATCH 4/5] android/pts: PICS and PIXIT setting for AVDTP Szymon Janc
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Szymon Janc @ 2014-09-03 13:13 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Szymon Janc
---
android/avdtptest.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/android/avdtptest.c b/android/avdtptest.c
index 92312fa..a56b9c0 100644
--- a/android/avdtptest.c
+++ b/android/avdtptest.c
@@ -350,6 +350,8 @@ static void discover_cb(struct avdtp *session, GSList *seps,
return;
}
+ printf("Matching endpoint found\n");
+
service = avdtp_service_cap_new(AVDTP_MEDIA_TRANSPORT, NULL, 0);
caps = g_slist_append(caps, service);
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/5] android/pts: PICS and PIXIT setting for AVDTP
2014-09-03 13:13 [PATCH 1/5] android/avdtptest: Enable delay reporting Szymon Janc
2014-09-03 13:13 ` [PATCH 2/5] android/avdtptest: Verify data before processing rtp header Szymon Janc
2014-09-03 13:13 ` [PATCH 3/5] android/avdtptest: Print info when matching SEP was found Szymon Janc
@ 2014-09-03 13:13 ` Szymon Janc
2014-09-03 13:13 ` [PATCH 5/5] android/pts: Update AVDTP tests results Szymon Janc
2014-09-03 14:57 ` [PATCH 1/5] android/avdtptest: Enable delay reporting Szymon Janc
4 siblings, 0 replies; 6+ messages in thread
From: Szymon Janc @ 2014-09-03 13:13 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Sebastian Chlad
From: Sebastian Chlad <sebastian.chlad@tieto.com>
---
android/pics-avdtp.txt | 68 ++++++++++++++++++++++++-------------------------
android/pixit-avdtp.txt | 2 +-
2 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/android/pics-avdtp.txt b/android/pics-avdtp.txt
index be96321..4909367 100644
--- a/android/pics-avdtp.txt
+++ b/android/pics-avdtp.txt
@@ -14,7 +14,7 @@ Parameter Name Selected Description
-------------------------------------------------------------------------------
TSPC_AVDTP_0_1 False AVDTP 1.0 (C.1)
TSPC_AVDTP_0_2 False AVDTP 1.2 (C.1)
-TSPC_AVDTP_0_3 False AVDTP 1.3 (C.1)
+TSPC_AVDTP_0_3 True (*) AVDTP 1.3 (C.1)
-------------------------------------------------------------------------------
C.1: It is mandatory to select only one of the protocol versions.
-------------------------------------------------------------------------------
@@ -24,10 +24,10 @@ C.1: It is mandatory to select only one of the protocol versions.
-------------------------------------------------------------------------------
Parameter Name Selected Description
-------------------------------------------------------------------------------
-TSPC_AVDTP_1_1 False Source (C.1)
-TSPC_AVDTP_1_2 False Sink (C.1)
-TSPC_AVDTP_1_3 False Initiator (C.2)
-TSPC_AVDTP_1_4 False Aceptor (C.2)
+TSPC_AVDTP_1_1 True (*) Source (C.1)
+TSPC_AVDTP_1_2 True (*) Sink (C.1)
+TSPC_AVDTP_1_3 True (*) Initiator (C.2)
+TSPC_AVDTP_1_4 True (*) Aceptor (C.2)
-------------------------------------------------------------------------------
C.1: It is mandatory to support at least one of the defined roles.
C.2: It is within the scope of profiles using the AVDTP specification to
@@ -51,8 +51,8 @@ TSPC_AVDTP_2_4 True Signal identifier (M)
-------------------------------------------------------------------------------
Parameter Name Selected Description
-------------------------------------------------------------------------------
-TSPC_AVDTP_3_1 False Establish signaling channel (O)
-TSPC_AVDTP_3_2 False Disconnect signaling channel (O)
+TSPC_AVDTP_3_1 True (*) Establish signaling channel (O)
+TSPC_AVDTP_3_2 True (*) Disconnect signaling channel (O)
-------------------------------------------------------------------------------
@@ -60,12 +60,12 @@ TSPC_AVDTP_3_2 False Disconnect signaling channel (O)
-------------------------------------------------------------------------------
Parameter Name Selected Description
-------------------------------------------------------------------------------
-TSPC_AVDTP_4_1 False Stream discover command (O)
-TSPC_AVDTP_4_2 False Stream get capabilities command (C.2)
-TSPC_AVDTP_4_3 False Set configuration command (O)
-TSPC_AVDTP_4_4 False Get configuration command (O)
+TSPC_AVDTP_4_1 True (*) Stream discover command (O)
+TSPC_AVDTP_4_2 True (*) Stream get capabilities command (C.2)
+TSPC_AVDTP_4_3 True (*) Set configuration command (O)
+TSPC_AVDTP_4_4 True (*) Get configuration command (O)
TSPC_AVDTP_4_5 False Reconfigure command (O)
-TSPC_AVDTP_4_6 False Stream get all capabilities command (C.1)
+TSPC_AVDTP_4_6 True (*) Stream get all capabilities command (C.1)
-------------------------------------------------------------------------------
C.1: It is optional to support if AVDTP 1.3 is supported, otherwise excluded.
C.2: Mandatory to support if TSPC_AVDTP_4_6 is supported, otherwise Optional.
@@ -76,11 +76,11 @@ C.2: Mandatory to support if TSPC_AVDTP_4_6 is supported, otherwise Optional.
-------------------------------------------------------------------------------
Parameter Name Selected Description
-------------------------------------------------------------------------------
-TSPC_AVDTP_5_1 False Open stream command (O)
-TSPC_AVDTP_5_2 False Start stream command (O)
-TSPC_AVDTP_5_3 False Close stream command (O)
-TSPC_AVDTP_5_4 False Suspend command (O)
-TSPC_AVDTP_5_5 False Abort stream command (O)
+TSPC_AVDTP_5_1 True (*) Open stream command (O)
+TSPC_AVDTP_5_2 True (*) Start stream command (O)
+TSPC_AVDTP_5_3 True (*) Close stream command (O)
+TSPC_AVDTP_5_4 True (*) Suspend command (O)
+TSPC_AVDTP_5_5 True (*) Abort stream command (O)
-------------------------------------------------------------------------------
@@ -115,8 +115,8 @@ TSPC_AVDTP_8_4 True Signal identifier (M)
-------------------------------------------------------------------------------
Parameter Name Selected Description
-------------------------------------------------------------------------------
-TSPC_AVDTP_9_1 False Establish signaling channel (O)
-TSPC_AVDTP_9_1 False Disconnect signaling channel (O)
+TSPC_AVDTP_9_1 True (*) Establish signaling channel (O)
+TSPC_AVDTP_9_1 True (*) Disconnect signaling channel (O)
-------------------------------------------------------------------------------
@@ -124,12 +124,12 @@ TSPC_AVDTP_9_1 False Disconnect signaling channel (O)
-------------------------------------------------------------------------------
Parameter Name Selected Description
-------------------------------------------------------------------------------
-TSPC_AVDTP_10_1 False Stream discover response (O)
-TSPC_AVDTP_10_2 False Stream get capabilities response (C.2)
-TSPC_AVDTP_10_3 False Set configuration response (O)
-TSPC_AVDTP_10_4 False Get configuration response (O)
-TSPC_AVDTP_10_5 False Reconfigure response (O)
-TSPC_AVDTP_10_6 False Stream get all capabilities response (C.1)
+TSPC_AVDTP_10_1 True (*) Stream discover response (O)
+TSPC_AVDTP_10_2 True (*) Stream get capabilities response (C.2)
+TSPC_AVDTP_10_3 True (*) Set configuration response (O)
+TSPC_AVDTP_10_4 True (*) Get configuration response (O)
+TSPC_AVDTP_10_5 False Reconfigure response (O)
+TSPC_AVDTP_10_6 True (*) Stream get all capabilities response (C.1)
-------------------------------------------------------------------------------
C.1: It is optional to support if AVDTP 1.3 is supported, otherwise excluded.
C.2: It is Mandatory to support if TSPC_AVDTP_10_6 is supported, otherwise
@@ -141,12 +141,12 @@ C.2: It is Mandatory to support if TSPC_AVDTP_10_6 is supported, otherwise
-------------------------------------------------------------------------------
Parameter Name Selected Description
-------------------------------------------------------------------------------
-TSPC_AVDTP_11_1 False Open stream response (O)
-TSPC_AVDTP_11_2 False Start stream response (O)
-TSPC_AVDTP_11_3 False Close stream response (O)
-TSPC_AVDTP_11_4 False Suspend response (O)
-TSPC_AVDTP_11_5 False Abort stream response (O)
-TSPC_AVDTP_11_6 False General reject message (O)
+TSPC_AVDTP_11_1 True (*) Open stream response (O)
+TSPC_AVDTP_11_2 True (*) Start stream response (O)
+TSPC_AVDTP_11_3 True (*) Close stream response (O)
+TSPC_AVDTP_11_4 True (*) Suspend response (O)
+TSPC_AVDTP_11_5 True (*) Abort stream response (O)
+TSPC_AVDTP_11_6 True (*) General reject message (O)
-------------------------------------------------------------------------------
@@ -175,7 +175,7 @@ TSPC_AVDTP_14_2 False Reporting service support (O)
TSPC_AVDTP_14_3 False Recovery service support (O)
TSPC_AVDTP_14_4 False Multiplexing service support (O)
TSPC_AVDTP_14_5 False Robust header compression service support (O)
-TSPC_AVDTP_14_6 False Delay Reporting (C.1)
+TSPC_AVDTP_14_6 True (*) Delay Reporting (C.1)
-------------------------------------------------------------------------------
C.1: It is optional to support if AVDTP 1.3 is supported, else excluded.
-------------------------------------------------------------------------------
@@ -190,7 +190,7 @@ TSPC_AVDTP_15_2 False Reporting service support (O)
TSPC_AVDTP_15_3 False Recovery service support (O)
TSPC_AVDTP_15_4 False Multiplexing service support (O)
TSPC_AVDTP_15_5 False Robust header compression service support (O)
-TSPC_AVDTP_15_6 False Delay Reporting (C.1)
+TSPC_AVDTP_15_6 True (*) Delay Reporting (C.1)
-------------------------------------------------------------------------------
C.1: It is optional to support if AVDTP 1.3 is supported, else excluded.
-------------------------------------------------------------------------------
@@ -202,7 +202,7 @@ Parameter Name Selected Description
-------------------------------------------------------------------------------
TSPC_AVDTP_16_1 False Reporting Capability Error (C.1)
TSPC_AVDTP_16_2 False Reject Corrupted Messages (C.2)
-TSPC_AVDTP_16_3 False General Reject Response Includes Signal ID (C.3)
+TSPC_AVDTP_16_3 True (*) General Reject Response Includes Signal ID (C.3)
-------------------------------------------------------------------------------
C.1: Optional if TSPC_AVDTP_0_2 or TSPC_AVDTP_0_3 supported, excluded
otherwise.
diff --git a/android/pixit-avdtp.txt b/android/pixit-avdtp.txt
index 504a126..922f373 100644
--- a/android/pixit-avdtp.txt
+++ b/android/pixit-avdtp.txt
@@ -20,7 +20,7 @@ TSPX_media_directory
TSPX_bd_addr_iut 11223344556677 (*&)
TSPX_delete_link_key FALSE
TSPX_pin_code 1234
-TSPX_security_enabled FALSE
+TSPX_security_enabled TRUE (*)
TSPX_time_guard 300000
TSPX_use_implicit_send TRUE
TSPX_auth_password 0000
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 5/5] android/pts: Update AVDTP tests results
2014-09-03 13:13 [PATCH 1/5] android/avdtptest: Enable delay reporting Szymon Janc
` (2 preceding siblings ...)
2014-09-03 13:13 ` [PATCH 4/5] android/pts: PICS and PIXIT setting for AVDTP Szymon Janc
@ 2014-09-03 13:13 ` Szymon Janc
2014-09-03 14:57 ` [PATCH 1/5] android/avdtptest: Enable delay reporting Szymon Janc
4 siblings, 0 replies; 6+ messages in thread
From: Szymon Janc @ 2014-09-03 13:13 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Szymon Janc
---
android/pts-avdtp.txt | 184 +++++++++++++++++++++++++-------------------------
1 file changed, 93 insertions(+), 91 deletions(-)
diff --git a/android/pts-avdtp.txt b/android/pts-avdtp.txt
index db5702f..9ced3ac 100644
--- a/android/pts-avdtp.txt
+++ b/android/pts-avdtp.txt
@@ -1,8 +1,8 @@
PTS test results for AVDTP
-PTS version:
-Tested: not tested
-Android version:
+PTS version: 5.2
+Tested: 03-September-2014
+Android version: 4.4.4
Results:
PASS test passed
@@ -18,49 +18,49 @@ TC_ACP_SNK_SIG_FRA_BV_01_C N/A
TC_ACP_SNK_SIG_FRA_BV_02_C N/A
TC_ACP_SNK_SIG_SEC_BI_01_C N/A
TC_ACP_SNK_SIG_SEC_BV_02_C N/A
-TC_ACP_SNK_SIG_SMG_BV_06_C N/A
-TC_ACP_SNK_SIG_SMG_BV_08_C N/A
-TC_ACP_SNK_SIG_SMG_BV_10_C N/A
-TC_ACP_SNK_SIG_SMG_BV_12_C N/A
+TC_ACP_SNK_SIG_SMG_BV_06_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SMG_BV_08_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SMG_BV_10_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SMG_BV_12_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_BV_14_C N/A
-TC_ACP_SNK_SIG_SMG_BV_16_C N/A
-TC_ACP_SNK_SIG_SMG_BV_18_C N/A
-TC_ACP_SNK_SIG_SMG_BV_20_C N/A
-TC_ACP_SNK_SIG_SMG_BV_22_C N/A
-TC_ACP_SNK_SIG_SMG_BV_24_C N/A
-TC_ACP_SNK_SIG_SMG_BV_26_C N/A
-TC_ACP_SNK_SIG_SMG_BV_27_C N/A
+TC_ACP_SNK_SIG_SMG_BV_16_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SMG_BV_18_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SMG_BV_20_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SMG_BV_22_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SMG_BV_24_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SMG_BV_26_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SMG_BV_27_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_ESR05_BV_14_C N/A
TC_ACP_SNK_SIG_SMG_BI_02_C N/A
TC_ACP_SNK_SIG_SMG_BI_03_C N/A
-TC_ACP_SNK_SIG_SMG_BI_05_C N/A
+TC_ACP_SNK_SIG_SMG_BI_05_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_BI_06_C N/A
-TC_ACP_SNK_SIG_SMG_BI_08_C N/A
+TC_ACP_SNK_SIG_SMG_BI_08_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_BI_09_C N/A
-TC_ACP_SNK_SIG_SMG_BI_11_C N/A
+TC_ACP_SNK_SIG_SMG_BI_11_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_BI_12_C N/A
TC_ACP_SNK_SIG_SMG_BI_14_C N/A
TC_ACP_SNK_SIG_SMG_BI_15_C N/A
-TC_ACP_SNK_SIG_SMG_BI_17_C N/A
+TC_ACP_SNK_SIG_SMG_BI_17_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_BI_18_C N/A
-TC_ACP_SNK_SIG_SMG_BI_20_C N/A
+TC_ACP_SNK_SIG_SMG_BI_20_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_BI_21_C N/A
-TC_ACP_SNK_SIG_SMG_BI_23_C N/A
+TC_ACP_SNK_SIG_SMG_BI_23_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_BI_24_C N/A
-TC_ACP_SNK_SIG_SMG_BI_26_C N/A
+TC_ACP_SNK_SIG_SMG_BI_26_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_BI_27_C N/A
TC_ACP_SNK_SIG_SMG_BI_28_C N/A
TC_ACP_SNK_SIG_SMG_BI_29_C N/A
-TC_ACP_SNK_SIG_SMG_BI_33_C N/A
+TC_ACP_SNK_SIG_SMG_BI_33_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_BI_34_C N/A
-TC_ACP_SNK_SIG_SMG_ESR04_BI_28_C N/A
+TC_ACP_SNK_SIG_SMG_ESR04_BI_28_C PASS avdtptest -d SINK -l
TC_ACP_SNK_SIG_SMG_ESR05_BI_15_C N/A
-TC_ACP_SNK_SIG_SYN_BV_01_C N/A
-TC_ACP_SNK_SIG_SYN_BV_02_C N/A
-TC_ACP_SNK_SIG_SYN_BV_03_C N/A
-TC_ACP_SNK_SIG_SYN_BV_04_C N/A
-TC_ACP_SNK_TRA_BTR_BI_01_C N/A
-TC_ACP_SNK_TRA_BTR_BV_02_C N/A
+TC_ACP_SNK_SIG_SYN_BV_01_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SYN_BV_02_C PASS avdtptest -d SINK -l -p
+TC_ACP_SNK_SIG_SYN_BV_03_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_SIG_SYN_BV_04_C PASS avdtptest -d SINK -l -p
+TC_ACP_SNK_TRA_BTR_BI_01_C PASS avdtptest -d SINK -l
+TC_ACP_SNK_TRA_BTR_BV_02_C PASS avdtptest -d SINK -l
TC_ACP_SNK_TRA_MUX_BI_01_C N/A
TC_ACP_SNK_TRA_MUX_BV_05_C N/A
TC_ACP_SNK_TRA_MUX_BV_06_C N/A
@@ -79,47 +79,47 @@ TC_ACP_SRC_SIG_FRA_BV_01_C N/A
TC_ACP_SRC_SIG_FRA_BV_02_C N/A
TC_ACP_SRC_SIG_SEC_BI_01_C N/A
TC_ACP_SRC_SIG_SEC_BV_02_C N/A
-TC_ACP_SRC_SIG_SMG_BV_06_C N/A
-TC_ACP_SRC_SIG_SMG_BV_08_C N/A
-TC_ACP_SRC_SIG_SMG_BV_10_C N/A
-TC_ACP_SRC_SIG_SMG_BV_12_C N/A
+TC_ACP_SRC_SIG_SMG_BV_06_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SMG_BV_08_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SMG_BV_10_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SMG_BV_12_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_BV_14_C N/A
-TC_ACP_SRC_SIG_SMG_BV_16_C N/A
-TC_ACP_SRC_SIG_SMG_BV_18_C N/A
-TC_ACP_SRC_SIG_SMG_BV_20_C N/A
-TC_ACP_SRC_SIG_SMG_BV_22_C N/A
-TC_ACP_SRC_SIG_SMG_BV_24_C N/A
-TC_ACP_SRC_SIG_SMG_BV_26_C N/A
-TC_ACP_SRC_SIG_SMG_BV_27_C N/A
+TC_ACP_SRC_SIG_SMG_BV_16_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SMG_BV_18_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SMG_BV_20_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SMG_BV_22_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SMG_BV_24_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SMG_BV_26_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SMG_BV_27_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_ESR05_BV_14_C N/A
TC_ACP_SRC_SIG_SMG_BI_02_C N/A
TC_ACP_SRC_SIG_SMG_BI_03_C N/A
-TC_ACP_SRC_SIG_SMG_BI_05_C N/A
+TC_ACP_SRC_SIG_SMG_BI_05_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_BI_06_C N/A
-TC_ACP_SRC_SIG_SMG_BI_08_C N/A
+TC_ACP_SRC_SIG_SMG_BI_08_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_BI_09_C N/A
-TC_ACP_SRC_SIG_SMG_BI_11_C N/A
+TC_ACP_SRC_SIG_SMG_BI_11_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_BI_12_C N/A
TC_ACP_SRC_SIG_SMG_BI_14_C N/A
TC_ACP_SRC_SIG_SMG_BI_15_C N/A
-TC_ACP_SRC_SIG_SMG_BI_17_C N/A
+TC_ACP_SRC_SIG_SMG_BI_17_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_BI_18_C N/A
-TC_ACP_SRC_SIG_SMG_BI_20_C N/A
+TC_ACP_SRC_SIG_SMG_BI_20_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_BI_21_C N/A
-TC_ACP_SRC_SIG_SMG_BI_23_C N/A
+TC_ACP_SRC_SIG_SMG_BI_23_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_BI_24_C N/A
-TC_ACP_SRC_SIG_SMG_BI_26_C N/A
+TC_ACP_SRC_SIG_SMG_BI_26_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_BI_27_C N/A
TC_ACP_SRC_SIG_SMG_BI_28_C N/A
TC_ACP_SRC_SIG_SMG_BI_29_C N/A
-TC_ACP_SRC_SIG_SMG_BI_33_C N/A
+TC_ACP_SRC_SIG_SMG_BI_33_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_BI_34_C N/A
-TC_ACP_SRC_SIG_SMG_ESR04_BI_28_C N/A
+TC_ACP_SRC_SIG_SMG_ESR04_BI_28_C PASS avdtptest -d SRC -l
TC_ACP_SRC_SIG_SMG_ESR05_BI_15_C N/A
-TC_ACP_SRC_SIG_SYN_BV_05_C N/A
-TC_ACP_SRC_SIG_SYN_BV_06_C N/A
-TC_ACP_SRC_TRA_BTR_BI_01_C N/A
-TC_ACP_SRC_TRA_BTR_BV_01_C N/A
+TC_ACP_SRC_SIG_SYN_BV_05_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_SIG_SYN_BV_06_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_TRA_BTR_BI_01_C PASS avdtptest -d SRC -l
+TC_ACP_SRC_TRA_BTR_BV_01_C PASS avdtptest -d SRC -l -p -s start
TC_ACP_SRC_TRA_MUX_BI_01_C N/A
TC_ACP_SRC_TRA_MUX_BV_05_C N/A
TC_ACP_SRC_TRA_MUX_BV_06_C N/A
@@ -138,17 +138,18 @@ TC_INT_SNK_L2C_BM_BV_06_C N/A
TC_INT_SNK_SIG_FRA_BV_01_C N/A
TC_INT_SNK_SIG_FRA_BV_02_C N/A
TC_INT_SNK_SIG_SEC_BV_01_C N/A
-TC_INT_SNK_SIG_SMG_BV_05_C N/A
-TC_INT_SNK_SIG_SMG_BV_07_C N/A
-TC_INT_SNK_SIG_SMG_BV_09_C N/A
-TC_INT_SNK_SIG_SMG_BV_11_C N/A
+TC_INT_SNK_SIG_SMG_BV_05_C PASS avdtptest -d SINK -l -p
+TC_INT_SNK_SIG_SMG_BV_07_C PASS avdtptest -d SINK -l -p
+ -v 0x0100
+TC_INT_SNK_SIG_SMG_BV_09_C PASS avdtptest -d SINK -l -p
+TC_INT_SNK_SIG_SMG_BV_11_C PASS avdtptest -d SINK -l -s getconf
TC_INT_SNK_SIG_SMG_BV_13_C N/A
-TC_INT_SNK_SIG_SMG_BV_15_C N/A
-TC_INT_SNK_SIG_SMG_BV_19_C N/A
-TC_INT_SNK_SIG_SMG_BV_23_C N/A
-TC_INT_SNK_SIG_SMG_BV_25_C N/A
-TC_INT_SNK_SIG_SMG_BV_28_C N/A
-TC_INT_SNK_SIG_SMG_BV_31_C N/A
+TC_INT_SNK_SIG_SMG_BV_15_C PASS avdtptest -d SINK -l -p
+TC_INT_SNK_SIG_SMG_BV_19_C PASS avdtptest -d SINK -l -s close
+TC_INT_SNK_SIG_SMG_BV_23_C PASS avdtptest -d SINK -l -p -s abort
+TC_INT_SNK_SIG_SMG_BV_25_C PASS avdtptest -d SINK -l -p
+TC_INT_SNK_SIG_SMG_BV_28_C PASS avdtptest -d SINK -l -p
+TC_INT_SNK_SIG_SMG_BV_31_C PASS avdtptest -d SINK -l -p
TC_INT_SNK_SIG_SMG_ESR05_BV_13_C N/A
TC_INT_SNK_SIG_SMG_BI_01_C N/A
TC_INT_SNK_SIG_SMG_BI_04_C N/A
@@ -159,17 +160,18 @@ TC_INT_SNK_SIG_SMG_BI_16_C N/A
TC_INT_SNK_SIG_SMG_BI_19_C N/A
TC_INT_SNK_SIG_SMG_BI_22_C N/A
TC_INT_SNK_SIG_SMG_BI_25_C N/A
-TC_INT_SNK_SIG_SMG_BI_30_C N/A
+TC_INT_SNK_SIG_SMG_BI_30_C PASS avdtptest -d SINK -l -p
+ -v 0x0100
TC_INT_SNK_SIG_SMG_BI_32_C N/A
-TC_INT_SNK_SIG_SMG_BI_35_C N/A
-TC_INT_SNK_SIG_SMG_BI_36_C N/A
+TC_INT_SNK_SIG_SMG_BI_35_C PASS avdtptest -d SINK -l -p
+TC_INT_SNK_SIG_SMG_BI_36_C PASS avdtptest -d SINK -l -p
TC_INT_SNK_SIG_SMG_ESR05_BI_13_C N/A
-TC_INT_SNK_SIG_SYN_BV_01_C N/A
-TC_INT_SNK_SIG_SYN_BV_02_C N/A
-TC_INT_SNK_SIG_SYN_BV_03_C N/A
-TC_INT_SNK_SIG_SYN_BV_04_C N/A
-TC_INT_SNK_TRA_BTR_BI_01_C N/A
-TC_INT_SNK_TRA_BTR_BV_02_C N/A
+TC_INT_SNK_SIG_SYN_BV_01_C PASS avdtptest -d SINK -l -p
+TC_INT_SNK_SIG_SYN_BV_02_C PASS avdtptest -d SINK -l -p
+TC_INT_SNK_SIG_SYN_BV_03_C PASS avdtptest -d SINK -l
+TC_INT_SNK_SIG_SYN_BV_04_C PASS avdtptest -d SINK -l -p
+TC_INT_SNK_TRA_BTR_BI_01_C PASS avdtptest -d SINK -l
+TC_INT_SNK_TRA_BTR_BV_02_C PASS avdtptest -d SINK -l
TC_INT_SNK_TRA_MUX_BI_01_C N/A
TC_INT_SNK_TRA_MUX_BV_05_C N/A
TC_INT_SNK_TRA_MUX_BV_06_C N/A
@@ -188,19 +190,19 @@ TC_INT_SRC_L2C_BM_BV_06_C N/A
TC_INT_SRC_SIG_FRA_BV_01_C N/A
TC_INT_SRC_SIG_FRA_BV_02_C N/A
TC_INT_SRC_SIG_SEC_BV_01_C N/A
-TC_INT_SRC_SIG_SMG_BV_05_C N/A
-TC_INT_SRC_SIG_SMG_BV_07_C N/A
-TC_INT_SRC_SIG_SMG_BV_09_C N/A
-TC_INT_SRC_SIG_SMG_BV_11_C N/A
+TC_INT_SRC_SIG_SMG_BV_05_C PASS avdtptest -d SRC -l -p
+TC_INT_SRC_SIG_SMG_BV_07_C PASS avdtptest -d SRC -l -p -v 0x0100
+TC_INT_SRC_SIG_SMG_BV_09_C PASS avdtptest -d SRC -l -p
+TC_INT_SRC_SIG_SMG_BV_11_C PASS avdtptest -d SRC -l -s getconf
TC_INT_SRC_SIG_SMG_BV_13_C N/A
-TC_INT_SRC_SIG_SMG_BV_15_C N/A
-TC_INT_SRC_SIG_SMG_BV_17_C N/A
-TC_INT_SRC_SIG_SMG_BV_19_C N/A
-TC_INT_SRC_SIG_SMG_BV_21_C N/A
-TC_INT_SRC_SIG_SMG_BV_23_C N/A
-TC_INT_SRC_SIG_SMG_BV_25_C N/A
-TC_INT_SRC_SIG_SMG_BV_28_C N/A
-TC_INT_SRC_SIG_SMG_BV_31_C N/A
+TC_INT_SRC_SIG_SMG_BV_15_C PASS avdtptest -d SRC -l -p
+TC_INT_SRC_SIG_SMG_BV_17_C PASS avdtptest -d SRC -l -p -s start
+TC_INT_SRC_SIG_SMG_BV_19_C PASS avdtptest -d SRC -l -s close
+TC_INT_SRC_SIG_SMG_BV_21_C PASS avdtptest -d SRC -l -s suspend
+TC_INT_SRC_SIG_SMG_BV_23_C PASS avdtptest -d SRC -l -p -s abort
+TC_INT_SRC_SIG_SMG_BV_25_C PASS avdtptest -d SRC -l -p
+TC_INT_SRC_SIG_SMG_BV_28_C PASS avdtptest -d SRC -l -p
+TC_INT_SRC_SIG_SMG_BV_31_C PASS avdtptest -d SRC -l -p
TC_INT_SRC_SIG_SMG_ESR05_BV_13_C N/A
TC_INT_SRC_SIG_SMG_BI_01_C N/A
TC_INT_SRC_SIG_SMG_BI_04_C N/A
@@ -211,15 +213,15 @@ TC_INT_SRC_SIG_SMG_BI_16_C N/A
TC_INT_SRC_SIG_SMG_BI_19_C N/A
TC_INT_SRC_SIG_SMG_BI_22_C N/A
TC_INT_SRC_SIG_SMG_BI_25_C N/A
-TC_INT_SRC_SIG_SMG_BI_30_C N/A
+TC_INT_SRC_SIG_SMG_BI_30_C PASS avdtptest -d SRC -l -p -v 0x0100
TC_INT_SRC_SIG_SMG_BI_32_C N/A
-TC_INT_SRC_SIG_SMG_BI_35_C N/A
-TC_INT_SRC_SIG_SMG_BI_36_C N/A
+TC_INT_SRC_SIG_SMG_BI_35_C PASS avdtptest -d SRC -l -p
+TC_INT_SRC_SIG_SMG_BI_36_C PASS avdtptest -d SRC -l -p
TC_INT_SRC_SIG_SMG_ESR05_BI_13_C N/A
-TC_INT_SRC_SIG_SYN_BV_05_C N/A
-TC_INT_SRC_SIG_SYN_BV_06_C N/A
-TC_INT_SRC_TRA_BTR_BI_01_C N/A
-TC_INT_SRC_TRA_BTR_BV_01_C N/A
+TC_INT_SRC_SIG_SYN_BV_05_C PASS avdtptest -d SRC -l
+TC_INT_SRC_SIG_SYN_BV_06_C PASS avdtptest -d SRC -l
+TC_INT_SRC_TRA_BTR_BI_01_C PASS avdtptest -d SRC -l
+TC_INT_SRC_TRA_BTR_BV_01_C PASS avdtptest -d SRC -l -p -s start
TC_INT_SRC_TRA_MUX_BI_01_C N/A
TC_INT_SRC_TRA_MUX_BV_05_C N/A
TC_INT_SRC_TRA_MUX_BV_06_C N/A
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/5] android/avdtptest: Enable delay reporting
2014-09-03 13:13 [PATCH 1/5] android/avdtptest: Enable delay reporting Szymon Janc
` (3 preceding siblings ...)
2014-09-03 13:13 ` [PATCH 5/5] android/pts: Update AVDTP tests results Szymon Janc
@ 2014-09-03 14:57 ` Szymon Janc
4 siblings, 0 replies; 6+ messages in thread
From: Szymon Janc @ 2014-09-03 14:57 UTC (permalink / raw)
To: linux-bluetooth
On Wednesday 03 of September 2014 15:13:43 Szymon Janc wrote:
> ---
> android/avdtptest.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/avdtptest.c b/android/avdtptest.c
> index d1f2ef4..d520bc0 100644
> --- a/android/avdtptest.c
> +++ b/android/avdtptest.c
> @@ -856,7 +856,7 @@ int main(int argc, char *argv[])
> }
>
> local_sep = avdtp_register_sep(dev_role, AVDTP_MEDIA_TYPE_AUDIO,
> - 0x00, FALSE, &sep_ind, &sep_cfm, NULL);
> + 0x00, TRUE, &sep_ind, &sep_cfm, NULL);
> if (!local_sep) {
> printf("Failed to register sep\n");
> exit(0);
>
Pushed.
--
Best regards,
Szymon Janc
^ permalink raw reply [flat|nested] 6+ messages in thread