From 7441f6c6a96c6f99b303ac93af36b86c267a3384 Mon Sep 17 00:00:00 2001 From: Sebastian Chlad Date: Fri, 20 Jun 2014 12:07:06 +0200 Subject: [PATCH] android/pts: Add test files for DIS --- android/Makefile.am | 5 +++- android/pics-dis.txt | 59 +++++++++++++++++++++++++++++++++++++++++++ android/pixit-dis.txt | 25 ++++++++++++++++++ android/pts-dis.txt | 37 +++++++++++++++++++++++++++ 4 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 android/pics-dis.txt create mode 100644 android/pixit-dis.txt create mode 100644 android/pts-dis.txt diff --git a/android/Makefile.am b/android/Makefile.am index f917b68ca..5845af932 100644 --- a/android/Makefile.am +++ b/android/Makefile.am @@ -261,6 +261,7 @@ EXTRA_DIST += android/Android.mk android/README \ android/pics-mps.txt \ android/pics-hogp.txt \ android/pics-scpp.txt \ + android/pics-dis.txt \ android/pixit-l2cap.txt \ android/pixit-gap.txt \ android/pixit-did.txt \ @@ -282,6 +283,7 @@ EXTRA_DIST += android/Android.mk android/README \ android/pixit-mps.txt \ android/pixit-hogp.txt \ android/pixit-scpp.txt \ + android/pixit-dis.txt \ android/bite-rfcomm.txt \ android/bite-spp.txt \ android/pts-l2cap.txt \ @@ -304,4 +306,5 @@ EXTRA_DIST += android/Android.mk android/README \ android/pts-mps.txt \ android/pts-sm.txt \ android/pts-hogp.txt \ - android/pts-scpp.txt + android/pts-scpp.txt \ + android/pts-dis.txt diff --git a/android/pics-dis.txt b/android/pics-dis.txt new file mode 100644 index 000000000..83ef8f1cd --- /dev/null +++ b/android/pics-dis.txt @@ -0,0 +1,59 @@ +DIS PICS for the PTS tool. + +PTS version: 5.1 + +* - different than PTS defaults + +M - mandatory +O - optional + + Transport Requirements +------------------------------------------------------------------------------- +Parameter Name Selected Description +------------------------------------------------------------------------------- +TSPC_DIS_1_1 False (*) Service supported over BR/EDR (C.1) +TSPC_DIS_1_2 True Service supported over LE (C.1) +------------------------------------------------------------------------------- +C.1: Mandatory to support at least one of 1/1 or 1/2. +------------------------------------------------------------------------------- + + + Service Requirements +------------------------------------------------------------------------------- +Parameter Name Selected Description +------------------------------------------------------------------------------- +TSPC_DIS_2_1 True Device Information Service (M) +TSPC_DIS_2_2 True Manufacturer Name String Characteristic (O) +TSPC_DIS_2_3 True Model Number String Characteristic (O) +TSPC_DIS_2_4 True Serial Number String Characteristic (O) +TSPC_DIS_2_5 True Hardware Revision String Characteristic (O) +TSPC_DIS_2_6 True Firmware Revision String Characteristic (O) +TSPC_DIS_2_7 True Software Revision String Characteristic (O) +TSPC_DIS_2_8 False (*) System ID Characteristic (O) +TSPC_DIS_2_9 False (*) IEEE 11073-20601 Regulatory Certification + Data List Characteristic (O) +TSPC_DIS_2_10 False (*) SDP Interoperability (C.1) +TSPC_DIS_2_11 False (*) PnP ID (O) +------------------------------------------------------------------------------- +C.1: Mandatory if 1/1 (BR/EDR) is supported, otherwise excluded. +------------------------------------------------------------------------------- + + + GATT Requirements +------------------------------------------------------------------------------- +Parameter Name Selected Description +------------------------------------------------------------------------------- +TSPC_DIS_3_1 True Generic Attribute Profile Server (M) +------------------------------------------------------------------------------- + + + SDP Requirements +------------------------------------------------------------------------------- +Parameter Name Selected Description +------------------------------------------------------------------------------- +TSPC_DIS_4_1 False (*) Support for server role (M) +TSPC_DIS_4_2 False (*) ProtocolDescriptorList (M) +TSPC_DIS_4_3 False (*) BrowseGroupList (M) +------------------------------------------------------------------------------- +Note: Marked as False as TSPC_DIS_1_1 is set to False +------------------------------------------------------------------------------- diff --git a/android/pixit-dis.txt b/android/pixit-dis.txt new file mode 100644 index 000000000..366bb5a5c --- /dev/null +++ b/android/pixit-dis.txt @@ -0,0 +1,25 @@ +DIS PIXIT for the PTS tool. + +PTS version: 5.1 + +* - different than PTS defaults +& - should be set to IUT Bluetooth address + + Required PIXIT settings +------------------------------------------------------------------------------- +Parameter Name Value +------------------------------------------------------------------------------- +TSPX_bd_addr_iut 112233445566 (*&) +TSPX_time_guard 180000 +TSPX_use_implicit_send TRUE +TSPX_tester_database_file C:/Program Files/... +TSPX_mtu_size 23 +TSPX_secure_simple_pairing_pass_key_confirmation FALSE +TSPX_delete_link_key FALSE +TSPX_pin_code 0000 +TSPX_use_dynamic_pin FALSE +TSPX_delete_ltk FALSE +TSPX_security_enabled FALSE +TSPX_iut_setup_att_over_br_edr FALSE +TSPX_tester_appearance 0000 +------------------------------------------------------------------------------- diff --git a/android/pts-dis.txt b/android/pts-dis.txt new file mode 100644 index 000000000..526c5e2e6 --- /dev/null +++ b/android/pts-dis.txt @@ -0,0 +1,37 @@ +PTS test results for DIS + +PTS version: 5.1 +Tested: 27-June-2014 +Android version: 4.4.2 + +Results: +PASS test passed +FAIL test failed +INC test is inconclusive +N/A test is disabled due to PICS setup +NONE test result is none + +------------------------------------------------------------------------------- +Test Name Result Notes +------------------------------------------------------------------------------- +TC_SD_BV_01_C PASS +TC_DEC_BV_01_C PASS +TC_DEC_BV_02_C PASS +TC_DEC_BV_03_C PASS +TC_DEC_BV_04_C PASS +TC_DEC_BV_05_C PASS +TC_DEC_BV_06_C PASS +TC_DEC_BV_07_C N/A +TC_DEC_BV_08_C N/A +TC_DEC_BV_09_C N/A +TC_CR_BV_01_C PASS +TC_CR_BV_02_C PASS +TC_CR_BV_03_C PASS +TC_CR_BV_04_C PASS +TC_CR_BV_05_C PASS +TC_CR_BV_06_C PASS +TC_CR_BV_07_C N/A +TC_CR_BV_08_C N/A +TC_CR_BV_09_C N/A +TC_SDP_BV_01_C N/A +-------------------------------------------------------------------------------