pts-gap.txt 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. PTS test results for GAP
  2. PTS version: 6.1
  3. Tested: 11-May-2015
  4. Android version: 5.1
  5. Kernel version: 4.1
  6. Results:
  7. PASS test passed
  8. FAIL test failed
  9. INC test is inconclusive
  10. N/A test is disabled due to PICS setup
  11. -------------------------------------------------------------------------------
  12. Test Name Result Notes
  13. -------------------------------------------------------------------------------
  14. TC_MOD_NDIS_BV_01_C PASS IUT must be non-discoverable
  15. TC_MOD_LDIS_BV_01_C PASS btmgmt discov limited 30
  16. TC_MOD_LDIS_BV_02_C PASS btmgmt discov limited 30
  17. TC_MOD_LDIS_BV_03_C PASS btmgmt discov limited 30
  18. TC_MOD_GDIS_BV_01_C PASS IUT must be discoverable
  19. TC_MOD_GDIS_BV_02_C PASS IUT must be discoverable
  20. TC_MOD_NCON_BV_01_C PASS btmgmt connectable off
  21. TC_MOD_CON_BV_01_C PASS btmgmt connectable on
  22. TC_BROB_BCST_BV_01_C N/A
  23. TC_BROB_BCST_BV_02_C N/A
  24. TC_BROB_BCST_BV_03_C N/A
  25. TC_BROB_OBSV_BV_01_C N/A
  26. TC_BROB_OBSV_BV_02_C N/A
  27. TC_BROB_OBSV_BV_03_C N/A
  28. TC_BROB_OBSV_BV_04_C N/A
  29. TC_BROB_OBSV_BV_05_C N/A
  30. TC_DISC_NONM_BV_01_C PASS btmgmt connectable off
  31. btmgmt advertising on
  32. TC_DISC_NONM_BV_02_C PASS btmgmt connectable on
  33. btmgmt discov off
  34. btmgmt advertising on
  35. TC_DISC_LIMM_BV_01_C PASS btmgmt connectable on
  36. btmgmt discov off
  37. <answer NO to non-connectable adv question>
  38. btmgmt discov limited 30
  39. TC_DISC_LIMM_BV_02_C PASS btmgmt connectable on
  40. btmgmt advertising on
  41. btmgmt discov limited 30
  42. TC_DISC_LIMM_BV_03_C PASS btmgmt connectable on
  43. btmgmt discov off
  44. <answer NO to non-connectable adv question>
  45. btmgmt discov limited 30
  46. btmgmt advertising on
  47. TC_DISC_LIMM_BV_04_C PASS btmgmt connectable on
  48. btmgmt discov off
  49. btmgmt power off
  50. btmgmt bredr off
  51. btmgmt power on
  52. btmgmt discov limited 30
  53. btmgmt advertising on
  54. TC_DISC_GENM_BV_01_C PASS btmgmt connectable on
  55. btmgmt discov on
  56. btmgmt advertising on
  57. <answer NO to non-connectable adv question>
  58. TC_DISC_GENM_BV_02_C PASS btmgmt connectable on
  59. btmgmt advertising on
  60. btmgmt discov on
  61. TC_DISC_GENM_BV_03_C PASS btmgmt connectable on
  62. btmgmt discov on
  63. btmgmt advertising on
  64. <answer NO to non-connectable adv question>
  65. TC_DISC_GENM_BV_04_C PASS btmgmt connectable on
  66. btmgmt power off
  67. btmgmt le on
  68. btmgmt bredr off
  69. btmgmt power on
  70. btmgmt discov on
  71. btmgmt advertising on
  72. TC_DISC_LIMP_BV_01_C PASS btmgmt find -l
  73. PTS AD flags must have bit 1 unset and bit 0 set
  74. TC_DISC_LIMP_BV_02_C PASS btmgmt find -l
  75. PTS AD flags must have bit 1 set and bit 0 unset
  76. TC_DISC_LIMP_BV_03_C PASS btmgmt find -l
  77. PTS AD flags must have bit 1 and bit 0 unset
  78. TC_DISC_LIMP_BV_04_C PASS btmgmt find -l
  79. PTS AD flags must have bit 1 and bit 0 unset
  80. TC_DISC_LIMP_BV_05_C PASS btmgmt find -l
  81. PTS AD flags must have bit 1 and bit 0 unset
  82. TC_DISC_GENP_BV_01_C PASS btmgmt find -l
  83. PTS AD flags must have bit 1 set and bit 0 unset
  84. TC_DISC_GENP_BV_02_C PASS btmgmt find -l
  85. PTS AD flags must have bit 1 unset and bit 0 set
  86. TC_DISC_GENP_BV_03_C PASS btmgmt find -l
  87. PTS AD flags must have bit 1 and bit 0 unset
  88. TC_DISC_GENP_BV_04_C PASS btmgmt find -l
  89. PTS AD flags must have bit 1 and bit 0 unset
  90. TC_DISC_GENP_BV_05_C PASS btmgmt find -l
  91. PTS AD flags must have bit 1 and bit 0 unset
  92. TC_IDLE_GIN_BV_01_C PASS Start discovery from IUT
  93. TC_IDLE_LIN_BV_01_C PASS hcitool scan --iac=liac
  94. TC_IDLE_NAMP_BV_01_C PASS haltest: gattc register_client
  95. gattc listen 1
  96. gattc search_service 1 1800
  97. gattc get_characteristic 1 {1800,0,1}
  98. gattc read_characteristic 1 {1800,0,1} {2a00,1}
  99. TC_IDLE_NAMP_BV_02_C PASS btmgmt advertising on
  100. TC_CONN_NCON_BV_01_C PASS btmgmt connectable off
  101. btmgmt advertising on
  102. <answer NO to non-connectable adv question>
  103. TC_CONN_NCON_BV_02_C PASS <answer NO to non-connectable adv question>
  104. Note: non-connectable and discoverable ?
  105. TC_CONN_NCON_BV_03_C PASS <answer NO to non-connectable adv question>
  106. Note: non-connectable and discoverable ?
  107. TC_CONN_DCON_BV_01_C PASS btmgmt connectable on
  108. btmgmt advertising on
  109. TC_CONN_DCON_BV_02_C N/A
  110. TC_CONN_DCON_BV_03_C N/A
  111. TC_CONN_UCON_BV_01_C PASS btmgmt connectable on
  112. btmgmt advertising on
  113. TC_CONN_UCON_BV_02_C PASS btmgmt connectable on
  114. btmgmt discov on
  115. btmgmt advertising on
  116. TC_CONN_UCON_BV_03_C PASS btmgmt connectable on
  117. btmgmt advertising on
  118. btmgmt discov limited 30
  119. TC_CONN_UCON_BV_04_C N/A
  120. TC_CONN_UCON_BV_05_C N/A
  121. TC_CONN_ACEP_BV_01_C PASS 'gattc connect' prior to pressing OK on PTS
  122. TC_CONN_ACEP_BV_02_C N/A
  123. TC_CONN_GCEP_BV_01_C PASS 'gattc connect' prior to pressing OK on PTS
  124. TC_CONN_GCEP_BV_02_C PASS 'gattc connect' prior to pressing OK on PTS
  125. TC_CONN_GCEP_BV_03_C N/A
  126. TC_CONN_GCEP_BV_04_C N/A
  127. TC_CONN_SCEP_BV_01_C PASS 'gattc connect' prior to pressing OK on PTS
  128. TC_CONN_SCEP_BV_02_C N/A
  129. TC_CONN_DCEP_BV_01_C PASS 'gattc connect' prior to pressing OK on PTS
  130. TC_CONN_DCEP_BV_02_C N/A
  131. TC_CONN_DCEP_BV_03_C PASS gattc connect
  132. TC_CONN_DCEP_BV_04_C N/A
  133. TC_CONN_CPUP_BV_01_C PASS btmgmt advertising on
  134. TC_CONN_CPUP_BV_02_C PASS btmgmt advertising on
  135. TC_CONN_CPUP_BV_03_C PASS btmgmt advertising on
  136. TC_CONN_CPUP_BV_04_C PASS gattc register_client
  137. gattc connect
  138. gattc disconnect
  139. TC_CONN_CPUP_BV_05_C PASS gattc register_client
  140. gattc connect
  141. gattc disconnect
  142. TC_CONN_CPUP_BV_06_C PASS gattc register_client
  143. gattc connect 1 <pts_bdaddr>
  144. hcitool lecup <handle> 0x00C8 0x0960 0x0007
  145. 0x0960
  146. gattc disconnect <client_if> <pts_bdaddr>
  147. <conn_id>
  148. TC_CONN_TERM_BV_01_C PASS gattc register_client
  149. gattc listen
  150. gattc disconnect
  151. TC_CONN_PRDA_BV_01_C PASS gattc register_client
  152. gattc listen
  153. gattc disconnect
  154. TC_CONN_PRDA_BV_02_C PASS PTS issue #12950
  155. gattc register_client
  156. gattc connect <pts_bdaddr>
  157. bluetooth create_bond <pts_bdaddr>
  158. gattc connect <pts_bdaddr>
  159. gattc test_command 226 <pts_bdaddr> 0 2
  160. TC_BOND_NBON_BV_01_C PASS haltest:
  161. gattc register_client
  162. gattc connect
  163. gatt disconnect
  164. gattc connect
  165. gatt disconnect
  166. TC_BOND_NBON_BV_02_C PASS haltest: gattc register_client
  167. gattc connect <client_id> <address>
  168. bluetooth create_bond <address>
  169. gattc connect <client_id> <address>
  170. bluetooth create_bond <address>
  171. TC_BOND_NBON_BV_03_C PASS haltest: gattc listen
  172. TC_BOND_BON_BV_01_C PASS PTS issue #12503
  173. haltest:
  174. bluetooth set_adapter_property
  175. BT_PROPERTY_ADAPTER_SCAN_MODE
  176. BT_SCAN_MODE_CONNECTABLE
  177. gattc register_client
  178. gattc listen 1
  179. bluetooth create_bond <pts_address>
  180. TC_BOND_BON_BV_02_C PASS gattc regicter_client
  181. gattc scan
  182. gattc connect
  183. bluetooth create_bond
  184. gattc connect
  185. gattc test_command 226 <addr> <uuid> 1
  186. TC_BOND_BON_BV_03_C PASS gattc register_client
  187. gattc listen 1
  188. TC_BOND_BON_BV_04_C PASS haltest: gattc_register_client
  189. gattc connect <client_id> <address>
  190. gattc disconnect
  191. gattc connect <client_id> <address>
  192. gattc test_command 226 <addr> 0 2
  193. TC_SEC_AUT_BV_11_C PASS haltest: gattc register_client
  194. gatts register_server
  195. gatts add_service 2 <uuid> 3
  196. gatts add_characteristic 2 1b <uuid> 10 68
  197. gatts start_service 2 1b 1
  198. gattc listen 1
  199. PTS asks for handle with Insufficient auth
  200. gatts send_response 1 1 0 1d 0 0x1234
  201. TC_SEC_AUT_BV_12_C PASS haltest: gatts register_server
  202. gatts add_service 1 <uuid> 3
  203. gatts add_characteristic 1 1b <uuid> 10 68
  204. gatts start_service 1 1b 1
  205. gatts connect 1 <addr>
  206. PTS asks for handle with Insufficient auth
  207. gatts send_response 1 1 0 1d 0 0x1234
  208. TC_SEC_AUT_BV_13_C PASS haltest: gatts register_server
  209. gatts add_service 1 <uuid> 3
  210. gatts add_characteristic 1 1b <uuid> 10 68
  211. gatts start_service 1 1b 1
  212. gatts connect 1 <addr>
  213. PTS asks for handle with Insufficient auth
  214. gatts send_response 1 1 0 1d 0 0x1234
  215. TC_SEC_AUT_BV_14_C PASS haltest: gattc register_client
  216. gatts register_server
  217. gatts add_service 2 <uuid> 3
  218. gatts add_characteristic 2 1b <uuid> 10 68
  219. gatts start_service 2 1b 1
  220. gattc listen 1
  221. PTS asks for handle with Insufficient auth
  222. gatts send_response 1 1 0 1d 0 0x1234
  223. TC_SEC_AUT_BV_15_C N/A
  224. TC_SEC_AUT_BV_16_C N/A
  225. TC_SEC_AUT_BV_17_C PASS haltest: gattc register_client
  226. gattc connect
  227. gattc search_service
  228. gattc get_characteristic
  229. gattc read_characteristic
  230. bluetooth create_bond
  231. TC_SEC_AUT_BV_18_C PASS haltest: gattc register_client
  232. gattc listen
  233. gattc search_service
  234. gattc get_characteristic
  235. gattc read_characteristic
  236. bluetooth create_bond
  237. gattc read_characteristic
  238. TC_SEC_AUT_BV_19_C PASS
  239. TC_SEC_AUT_BV_20_C PASS haltest: gattc register_client
  240. gattc listen 1 1
  241. gattc search_service 2
  242. gattc get_characteristic 2 {1801,1,1}
  243. gattc read_characteristic 2 {1801,1,1} {2a05,1}
  244. gattc read_characteristic 2 {1801,1,1} {2a05,1}
  245. 1
  246. TC_SEC_AUT_BV_21_C PASS haltest: gattc register_client
  247. gattc connect
  248. bluetooth create_bond
  249. gattc connect
  250. gattc test_command 226 <addr> 0 1
  251. TC_SEC_AUT_BV_22_C PASS btmgmt io-cap 3
  252. haltest: gattc register_client
  253. gattc listen
  254. gattc test_command 226 <addr> <u1> 1
  255. TC_SEC_AUT_BV_23_C PASS haltest: gattc register_client
  256. gatts register_server
  257. gatts add_service 2 <uuid> 3
  258. gatts add_characteristic 2 1b <uuid> 10 34
  259. gatts start_service 2 1b 1
  260. gattc listen 1
  261. PTS asks for handle with insufficient encryption
  262. gatts send_response 3 1 0 1d 0 0x1234
  263. TC_SEC_AUT_BV_24_C PASS haltest: gatts register_server
  264. gatts add_service 1 <uuid> 3
  265. gatts add_characteristic 1 1d <uuid> 10 34
  266. gatts start_service 1 1d 1
  267. gatts connect
  268. gatts disconnect
  269. gatts connect
  270. PTS asks for handle with insufficient encryption
  271. gatts send_response 2 1 0 1f 0 0x1234
  272. TC_SEC_CSIGN_BV_01_C PASS haltest:
  273. gattc connect
  274. bluetooth create_bond
  275. gattc connect
  276. gattc write_characteristic: <write_type> 4
  277. gattc disconnect
  278. TC_SEC_CSIGN_BV_02_C PASS haltest: gattc register_client
  279. gatts register_server
  280. gatts add_service 2 <uuid> 3
  281. gatts add_characteristic 2 1d <uuid> 66 129
  282. gatts start_service 2 1d 1
  283. gattc listen 1
  284. gatts disconnect
  285. TC_SEC_CSIGN_BI_01_C PASS gattc register_client
  286. gatts register_server
  287. gatts add_service 2 <uuid> 3
  288. gatts add_characteristic 2 1d <uuid> 66 129
  289. gatts start_service 2 1d 1
  290. gattc listen 1
  291. gatts disconnect
  292. gattc disconnect
  293. TC_SEC_CSIGN_BI_02_C PASS gattc register_client
  294. gatts register_server
  295. gatts add_service 2 <uuid> 3
  296. gatts add_characteristic 2 1b <uuid> 66 129
  297. gatts start_service 2 1b 1
  298. gattc listen 1
  299. gatts disconnect
  300. gattc disconnect
  301. TC_SEC_CSIGN_BI_03_C PASS gattc register_client
  302. gatts register_server
  303. gatts add_service 2 <uuid> 3
  304. gatts add_characteristic 2 1b <uuid> 66 129
  305. gatts start_service 2 1b 1
  306. gattc listen 1
  307. gatts disconnect
  308. gattc disconnect
  309. bluetooth remove_bond
  310. TC_SEC_CSIGN_BI_04_C PASS gattc register_client
  311. gatts register_server
  312. gatts add_service 2 <uuid> 3
  313. gatts add_characteristic 2 1b <uuid> 64 256
  314. gatts start_service 2 1b 1
  315. gattc listen 1
  316. gatts disconnect
  317. gattc disconnect
  318. TC_PRIV_CONN_BV_01_C N/A
  319. TC_PRIV_CONN_BV_02_C N/A
  320. TC_PRIV_CONN_BV_03_C N/A
  321. TC_PRIV_CONN_BV_04_C N/A
  322. TC_PRIV_CONN_BV_05_C N/A
  323. TC_PRIV_CONN_BV_06_C N/A
  324. TC_PRIV_CONN_BV_07_C N/A
  325. TC_PRIV_CONN_BV_08_C N/A
  326. TC_PRIV_CONN_BV_09_C N/A
  327. TC_PRIV_CONN_BV_10_C PASS PTS issue #12951
  328. Note: PIXITs required to be changed:
  329. TSPX_using_public_device_address: FALSE
  330. TSPX_using_random_device_address: TRUE
  331. echo 30 > /sys/kernel/debug/bluetooth/hci0/
  332. rpa_timeout
  333. btmgmt power off
  334. btmgmt privacy on
  335. btmgmt power on
  336. TC_PRIV_CONN_BV_11_C INC PTS issue #12952
  337. JIRA #BA-186
  338. TC_ADV_BV_01_C N/A
  339. TC_ADV_BV_02_C PASS gattc register_client
  340. gattc listen 1 1
  341. TC_ADV_BV_03_C PASS gattc register_client
  342. gattc listen 1 1
  343. TC_ADV_BV_04_C N/A
  344. TC_ADV_BV_05_C PASS gattc register_client
  345. gattc listen 1 1
  346. TC_ADV_BV_06_C N/A
  347. TC_ADV_BV_07_C N/A
  348. TC_ADV_BV_08_C N/A
  349. TC_ADV_BV_09_C N/A
  350. TC_ADV_BV_10_C N/A
  351. TC_ADV_BV_11_C N/A
  352. TC_ADV_BV_12_C N/A
  353. TC_ADV_BV_13_C N/A
  354. TC_ADV_BV_14_C N/A
  355. TC_ADV_BV_15_C N/A
  356. TC_ADV_BV_16_C N/A
  357. TC_GAT_BV_01_C PASS haltest:
  358. gattc register_client
  359. gattc listen
  360. TC_GAT_BV_02_C N/A
  361. TC_GAT_BV_03_C N/A
  362. TC_GAT_BV_04_C N/A
  363. TC_GAT_BV_05_C N/A
  364. TC_GAT_BV_06_C N/A
  365. TC_GAT_BV_07_C N/A
  366. TC_GAT_BV_08_C N/A
  367. TC_DM_NCON_BV_01_C PASS bluetooth set_adapter_property
  368. BT_PROPERTY_ADAPTER_SCAN_MODE
  369. BT_SCAN_MODE_NONE
  370. gattc register_client
  371. gattc listen 1
  372. TC_DM_CON_BV_01_C PASS bluetooth set_adapter_property
  373. BT_PROPERTY_ADAPTER_SCAN_MODE
  374. BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
  375. gattc register_client
  376. gattc listen 1
  377. TC_DM_NBON_BV_01_C PASS btmgmt pairable off
  378. btmgmt pair -c 0x04 -t 0x01 <addr>
  379. TC_DM_BON_BV_01_C PASS btmgmt pairable on
  380. btmgmt pair -c 0x04 -t 0x01 <addr>
  381. TC_DM_GIN_BV_01_C PASS
  382. TC_DM_LIN_BV_01_C PASS
  383. TC_DM_NAD_BV_01_C PASS btmgmt find
  384. TC_DM_NAD_BV_02_C PASS
  385. TC_DM_LEP_BV_01_C PASS bluetooth set_adapter_property
  386. BT_PROPERTY_ADAPTER_SCAN_MODE
  387. BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
  388. gattc register_client
  389. gattc listen 1 1
  390. TC_DM_LEP_BV_02_C PASS Use basic rate PTS dongle
  391. haltest:
  392. bluetooth set_adapter_property
  393. TC_DM_LEP_BV_04_C PASS haltest:
  394. gattc connect <PTS bdaddr>
  395. TC_DM_LEP_BV_05_C PASS Use basic rate PTS dongle
  396. btmgmt find -b
  397. l2test -n <PTS bdaddr>
  398. TC_DM_LEP_BV_06_C PASS gattc connect
  399. TC_DM_LEP_BV_07_C PASS bluetooth set_adapter_property
  400. BT_PROPERTY_ADAPTER_SCAN_MODE
  401. BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
  402. gattc register_client
  403. gattc listen 1 1
  404. TC_DM_LEP_BV_08_C PASS bluetooth set_adapter_property
  405. BT_PROPERTY_ADAPTER_SCAN_MODE
  406. BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
  407. gattc register_client
  408. gattc listen 1 1
  409. TC_DM_LEP_BV_09_C PASS haltest:
  410. bluetooth enable
  411. bluetooth set_adapter_property
  412. BT_PROPERTY_ADAPTER_SCAN_MODE
  413. BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
  414. gattc register_client
  415. gattc scan 1
  416. gattc connect <PTS addr>
  417. l2test -n -P 31 <PTS addr>
  418. disconnect
  419. TC_DM_LEP_BV_10_C PASS btmgmt find
  420. l2test -n -P 31 <PTS addr>
  421. TC_DM_LEP_BV_11_C PASS haltest:
  422. bluetooth enable
  423. bluetooth set_adapter_property
  424. BT_PROPERTY_ADAPTER_SCAN_MODE
  425. BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE
  426. gattc register_client
  427. gattc connect
  428. gattc disconnect
  429. -------------------------------------------------------------------------------