pts-gatt.txt 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422
  1. PTS test results for GATT
  2. PTS version: 6.1
  3. Tested: 24-April-2015
  4. Android version: 5.1
  5. Results:
  6. PASS test passed
  7. FAIL test failed
  8. INC test is inconclusive
  9. N/A test is disabled due to PICS setup
  10. -------------------------------------------------------------------------------
  11. Test Name Result Notes
  12. -------------------------------------------------------------------------------
  13. TC_GAC_CL_BV_01_C PASS haltest:
  14. gattc scan
  15. gattc search_service <conn_id>
  16. gattc get_characteristic <conn_id> <svc_uuid>
  17. gattc write_characteristic: type 3
  18. TC_GAC_SR_BV_01_C PASS PTS issue #13073
  19. TSE #6271
  20. haltest:
  21. gatts add_service
  22. gatts add_chaaracteristic:
  23. <properties> 10 <permissions> 17
  24. gatts start_service
  25. gatts send_response:
  26. <data> value greater than MTU
  27. repeat with correct offset
  28. gatts send_response:
  29. <data> value greater than MTU
  30. repeat with correct offset
  31. TC_GAD_CL_BV_01_C PASS haltest:
  32. NOTE: Repeat following steps if asked
  33. gattc connect <client_id> <PTS addr>
  34. gattc search_service <conn_id>
  35. gattc disconnect <client_if> <PTS bdaddr>
  36. <conn_id>
  37. TC_GAD_CL_BV_02_C PASS haltest:
  38. NOTE: Repeat following steps if asked
  39. gattc connect <client_id> <PTS addr>
  40. gattc search_service <conn_id> <uuid>
  41. gattc disconnect <client_if> <PTS bdaddr>
  42. <conn_id>
  43. TC_GAD_CL_BV_03_C PASS haltest:
  44. NOTE: Repeat following steps if asked
  45. gattc connect <client_id> <PTS addr>
  46. gattc test_command 0xe0 <PTS addr> 0x2802 0x08
  47. 0x0001 0xffff
  48. NOTE: Keep on mind MTU size
  49. (some att rsp could not fit)
  50. gattc_disconnect <client_if> <PTS bdaddr>
  51. <conn_id>
  52. TC_GAD_CL_BV_04_C PASS haltest:
  53. NOTE: Repeat following steps if asked
  54. gattc connect <client id> <PTS addr>
  55. gattc search_service <conn_id>
  56. gattc get_characteristic <conn_id> <svc uuid>
  57. TC_GAD_CL_BV_05_C PASS haltest:
  58. NOTE: Repeat following steps if asked
  59. gattc connect <client id> <PTS addr>
  60. gattc test_command 0xe0 <PTS addr> 0x2803 0x08
  61. <start hdl> <end hdl>
  62. gattc disconnect <client_id> <PTS addr>
  63. <conn_id>
  64. TC_GAD_CL_BV_06_C PASS haltest:
  65. NOTE: Repeat following steps if asked
  66. gattc connect <client id> <PTS addr>
  67. gattc search_service <conn_id>
  68. gattc get_characteristic <conn_id> <svc uuid>
  69. gattc get_descriptor <conn_id> <svc_id>
  70. <char_id>
  71. gattc disconnect <client_id> <PTS addr>
  72. <conn_id>
  73. TC_GAD_CL_BV_07_C PASS haltest:
  74. NOTE: Repeat following step if asked
  75. bluetooth get_remote_services
  76. TC_GAD_CL_BV_08_C PASS haltest:
  77. NOTE: Repear following step if asked
  78. bluetooth get_remote_services
  79. TC_GAD_SR_BV_01_C PASS haltest:
  80. gattc register_client
  81. gattc listen
  82. TC_GAD_SR_BV_02_C PASS haltest:
  83. gattc register_client
  84. gattc listen
  85. TC_GAD_SR_BV_03_C PASS haltest:
  86. gattc register_client
  87. gattc listen
  88. gatts register_server
  89. gatts add_service
  90. gatts start_service
  91. gatts add_service
  92. gatts add_included_service
  93. gatts start_service
  94. TC_GAD_SR_BV_04_C PASS haltest:
  95. gattc register_client
  96. gattc listen
  97. TC_GAD_SR_BV_05_C PASS haltest:
  98. gattc register_client
  99. gattc listen
  100. TC_GAD_SR_BV_06_C PASS haltest:
  101. gattc register_client
  102. gattc listen
  103. TC_GAD_SR_BV_07_C PASS haltest:
  104. when requested:
  105. bluetooth get_remote_services
  106. NOTE: check if found requested service
  107. TC_GAD_SR_BV_08_C PASS haltest:
  108. when requested:
  109. bluetooth get_remote_services
  110. NOTE: check if found requested service
  111. TC_GAR_CL_BV_01_C PASS haltest:
  112. gattc connect <client id> <PTS addr>
  113. gattc search_service <conn_id>
  114. gattc get_characteristic <conn_id> <svc uuid>
  115. gattc read_characteristic <client_id> <svc_id>
  116. <char_id>
  117. gattc disconnect <client_id> <PTS addr>
  118. <conn_id>
  119. TC_GAR_CL_BI_01_C PASS haltest:
  120. gattc connect <client id> <PTS addr>
  121. gattc test_command 0xe0 <PTS addr> 0x0000
  122. 0x0a <invalid char hdl>
  123. gattc disconnect <client_id> <PTS addr>
  124. <conn_id>
  125. TC_GAR_CL_BI_02_C PASS haltest:
  126. gattc connect <client id> <PTS addr>
  127. gattc search_service <conn_id>
  128. gattc get_characteristic <conn_id> <svc uuid>
  129. gattc read_characteristic <client_id> <svc_id>
  130. <char_id>
  131. gattc disconnect <client_id> <PTS addr>
  132. <conn_id>
  133. TC_GAR_CL_BI_03_C PASS haltest:
  134. gattc connect <client id> <PTS addr>
  135. gattc test_command 0xe0 <PTS addr> 0x0000
  136. 0x0a <inf. auth. att hdl>
  137. gattc disconnect <client_id> <PTS addr>
  138. <conn_id>
  139. TC_GAR_CL_BI_04_C PASS haltest:
  140. gattc connect <client id> <PTS addr>
  141. gattc test_command 0xe0 <PTS addr> 0x0000
  142. 0x0a <inf. auth. att hdl>
  143. gattc disconnect <client_id> <PTS addr>
  144. <conn_id>
  145. TC_GAR_CL_BI_05_C PASS haltest:
  146. gattc connect <client id> <PTS addr>
  147. gattc search_service <conn_id>
  148. gattc get_characteristic <conn_id> <svc uuid>
  149. gattc read_characteristic <client_id> <svc_id>
  150. <char_id>
  151. gattc disconnect <client_id> <PTS addr>
  152. <conn_id>
  153. TC_GAR_CL_BV_03_C PASS haltest:
  154. gattc connect <client id> <PTS addr>
  155. gattc test_command 0xe0 <PTS addr> <char_uuid>
  156. 0x08 0x0001 0xffff
  157. gattc disconnect <client_id> <PTS addr>
  158. <conn_id>
  159. TC_GAR_CL_BI_06_C PASS haltest:
  160. gattc connect <client id> <PTS addr>
  161. gattc test_command 0xe0 <PTS addr> <char_uuid>
  162. 0x08 <start_hdl> <end_hdl>
  163. gattc disconnect <client_id> <PTS addr>
  164. <conn_id>
  165. TC_GAR_CL_BI_07_C PASS haltest:
  166. gattc connect <client id> <PTS addr>
  167. gattc test_command 0xe0 <PTS addr> <char_uuid>
  168. 0x08 <start_hdl> <end_hdl>
  169. gattc disconnect <client_id> <PTS addr>
  170. <conn_id>
  171. TC_GAR_CL_BI_09_C PASS haltest:
  172. gattc connect <client id> <PTS addr>
  173. gattc test_command 0xe0 <PTS addr> <char_uuid>
  174. 0x08 <start_hdl> <end_hdl>
  175. gattc disconnect <client_id> <PTS addr>
  176. <conn_id>
  177. TC_GAR_CL_BI_10_C PASS haltest:
  178. gattc connect <client id> <PTS addr>
  179. gattc test_command 0xe0 <PTS addr> <char_uuid>
  180. 0x08 <start_hdl> <end_hdl>
  181. gattc disconnect <client_id> <PTS addr>
  182. <conn_id>
  183. TC_GAR_CL_BI_11_C PASS haltest:
  184. gattc connect <client id> <PTS addr>
  185. gattc test_command 0xe0 <PTS addr> <char_uuid>
  186. 0x08 <start_hdl> <end_hdl>
  187. gattc disconnect <client_id> <PTS addr>
  188. <conn_id>
  189. TC_GAR_CL_BV_04_C PASS haltest:
  190. gattc connect <client id> <PTS addr>
  191. gattc search_service <conn_id>
  192. NOTE: Repeat following steps if asked
  193. gattc get_characteristic <conn_id> <svc uuid>
  194. gattc read_characteristic <client_id> <svc_id>
  195. <char_id>
  196. NOTE: After reading all characteristics
  197. gattc disconnect <client_id> <PTS addr>
  198. <conn_id>
  199. TC_GAR_CL_BI_12_C PASS haltest:
  200. gattc connect <client id> <PTS addr>
  201. gattc search_service <conn_id>
  202. gattc get_characteristic <conn_id> <svc uuid>
  203. gattc read_characteristic <client_id> <svc_id>
  204. <char_id>
  205. gattc disconnect <client_id> <PTS addr>
  206. <conn_id>
  207. TC_GAR_CL_BI_13_C PASS haltest:
  208. gattc connect <client id> <PTS addr>
  209. gattc test_command 0xe0 <PTS addr> 0x0000
  210. 0x0c <handle> <offset>
  211. gattc disconnect <client_id> <PTS addr>
  212. <conn_id>
  213. TC_GAR_CL_BI_14_C PASS haltest:
  214. gattc connect <client id> <PTS addr>
  215. gattc test_command 0xe0 <PTS addr> 0x0000
  216. 0x0a <char_hdl>
  217. gattc disconnect <client_id> <PTS addr>
  218. <conn_id>
  219. TC_GAR_CL_BI_15_C PASS haltest:
  220. gattc connect <client id> <PTS addr>
  221. gattc search_service <conn_id>
  222. gattc get_characteristic <conn_id> <svc uuid>
  223. gattc read_characteristic <client_id> <svc_id>
  224. <char_id>
  225. gattc disconnect <client_id> <PTS addr>
  226. <conn_id>
  227. TC_GAR_CL_BI_16_C PASS haltest:
  228. gattc connect <client id> <PTS addr>
  229. gattc search_service <conn_id>
  230. gattc get_characteristic <conn_id> <svc uuid>
  231. gattc read_characteristic <client_id> <svc_id>
  232. <char_id>
  233. gattc disconnect <client_id> <PTS addr>
  234. <conn_id>
  235. TC_GAR_CL_BI_17_C PASS haltest:
  236. gattc connect <client id> <PTS addr>
  237. gattc search_service <conn_id>
  238. gattc get_characteristic <conn_id> <svc uuid>
  239. gattc read_characteristic <client_id> <svc_id>
  240. <char_id>
  241. gattc disconnect <client_id> <PTS addr>
  242. <conn_id>
  243. TC_GAR_CL_BV_05_C N/A
  244. TC_GAR_CL_BI_18_C N/A
  245. TC_GAR_CL_BI_19_C N/A
  246. TC_GAR_CL_BI_20_C N/A
  247. TC_GAR_CL_BI_21_C N/A
  248. TC_GAR_CL_BI_22_C N/A
  249. TC_GAR_CL_BV_06_C PASS haltest:
  250. gattc connect <client id> <PTS addr>
  251. gattc search_service <conn_id>
  252. gattc get_characteristic <conn_id> <svc uuid>
  253. gattc get_descriptor <client_id> <svc_id>
  254. <char_id>
  255. gattc read_descriptor <client_id> <svc_id>
  256. <char_id> <desc_id>
  257. gattc disconnect <client_id> <PTS addr>
  258. <conn_id>
  259. TC_GAR_CL_BI_23_C PASS haltest:
  260. gattc connect <client id> <PTS addr>
  261. gattc search_service <conn_id>
  262. gattc get_characteristic <conn_id> <svc uuid>
  263. gattc get_descriptor <client_id> <svc_id>
  264. <char_id>
  265. gattc read_descriptor <client_id> <svc_id>
  266. <char_id> <desc_id>
  267. gattc disconnect <client_id> <PTS addr>
  268. <conn_id>
  269. TC_GAR_CL_BI_24_C PASS haltest:
  270. gattc connect <client id> <PTS addr>
  271. gattc test_command 0xe0 <PTS addr> 0x0000
  272. 0x0a <desc_hdl>
  273. gattc disconnect <client_id> <PTS addr>
  274. <conn_id>
  275. TC_GAR_CL_BI_25_C PASS haltest:
  276. gattc connect <client id> <PTS addr>
  277. gattc search_service <conn_id>
  278. gattc get_characteristic <conn_id> <svc uuid>
  279. gattc get_descriptor <client_id> <svc_id>
  280. <char_id>
  281. gattc read_descriptor <client_id> <svc_id>
  282. <char_id> <desc_id>
  283. gattc disconnect <client_id> <PTS addr>
  284. <conn_id>
  285. TC_GAR_CL_BI_26_C PASS haltest:
  286. gattc connect <client id> <PTS addr>
  287. gattc search_service <conn_id>
  288. gattc get_characteristic <conn_id> <svc uuid>
  289. gattc get_descriptor <client_id> <svc_id>
  290. <char_id>
  291. gattc read_descriptor <client_id> <svc_id>
  292. <char_id> <desc_id>
  293. gattc disconnect <client_id> <PTS addr>
  294. <conn_id>
  295. TC_GAR_CL_BI_27_C PASS haltest:
  296. gattc connect <client id> <PTS addr>
  297. gattc search_service <conn_id>
  298. gattc get_characteristic <conn_id> <svc uuid>
  299. gattc get_descriptor <client_id> <svc_id>
  300. <char_id>
  301. gattc read_descriptor <client_id> <svc_id>
  302. <char_id> <desc_id>
  303. gattc disconnect <client_id> <PTS addr>
  304. <conn_id>
  305. TC_GAR_CL_BV_07_C PASS haltest:
  306. gattc connect <client id> <PTS addr>
  307. gattc search_service <conn_id>
  308. NOTE: Repeat following step if asked
  309. gattc get_characteristic <conn_id> <svc uuid>
  310. gattc get_descriptor <client_id> <svc_id>
  311. <char_id>
  312. gattc read_descriptor <client_id> <svc_id>
  313. <char_id> <desc_id>
  314. NOTE: After reading all characteristics
  315. gattc disconnect <client_id> <PTS addr>
  316. <conn_id>
  317. TC_GAR_CL_BI_28_C PASS haltest:
  318. gattc connect <client id> <PTS addr>
  319. gattc search_service <conn_id>
  320. gattc get_characteristic <conn_id> <svc uuid>
  321. gattc get_descriptor <client_id> <svc_id>
  322. <char_id>
  323. gattc read_descriptor <client_id> <svc_id>
  324. <char_id> <desc_id>
  325. gattc disconnect <client_id> <PTS addr>
  326. <conn_id>
  327. TC_GAR_CL_BI_29_C PASS haltest:
  328. gattc connect <client id> <PTS addr>
  329. gattc test_command 0xe0 <PTS addr> 0x0000
  330. 0x0c <handle> <offset>
  331. gattc disconnect <client_id> <PTS addr>
  332. <conn_id>
  333. TC_GAR_CL_BI_30_C PASS haltest:
  334. gattc connect <client id> <PTS addr>
  335. gattc test_command 0xe0 <PTS addr> 0x0000
  336. 0x0a <desc_hdl>
  337. gattc disconnect <client_id> <PTS addr>
  338. <conn_id>
  339. TC_GAR_CL_BI_31_C PASS haltest:
  340. gattc connect <client id> <PTS addr>
  341. gattc search_service <conn_id>
  342. gattc get_characteristic <conn_id> <svc uuid>
  343. gattc get_descriptor <client_id> <svc_id>
  344. <char_id>
  345. gattc read_descriptor <client_id> <svc_id>
  346. <char_id> <desc_id>
  347. gattc disconnect <client_id> <PTS addr>
  348. <conn_id>
  349. TC_GAR_CL_BI_32_C PASS haltest:
  350. gattc connect <client id> <PTS addr>
  351. gattc search_service <conn_id>
  352. gattc get_characteristic <conn_id> <svc uuid>
  353. gattc get_descriptor <client_id> <svc_id>
  354. <char_id>
  355. gattc read_descriptor <client_id> <svc_id>
  356. <char_id> <desc_id>
  357. gattc disconnect <client_id> <PTS addr>
  358. <conn_id>
  359. TC_GAR_CL_BI_33_C PASS haltest:
  360. gattc connect <client id> <PTS addr>
  361. gattc search_service <conn_id>
  362. gattc get_characteristic <conn_id> <svc uuid>
  363. gattc get_descriptor <client_id> <svc_id>
  364. <char_id>
  365. gattc read_descriptor <client_id> <svc_id>
  366. <char_id> <desc_id>
  367. gattc disconnect <client_id> <PTS addr>
  368. <conn_id>
  369. TC_GAR_CL_BI_34_C PASS haltest:
  370. gattc connect
  371. gattc test_command 224 <addr> 0 0x0a <handle>
  372. gattc disconnect
  373. TC_GAR_CL_BI_35_C PASS haltest:
  374. gattc connect <client id> <PTS addr>
  375. gattc search_service <conn_id>
  376. gattc get_characteristic <conn_id> <svc uuid>
  377. gattc read_characteristic <client_id> <svc_id>
  378. <char_id>
  379. gattc disconnect <client_id> <PTS addr>
  380. <conn_id>
  381. TC_GAR_SR_BV_01_C PASS
  382. TC_GAR_SR_BI_01_C PASS
  383. TC_GAR_SR_BI_02_C PASS
  384. TC_GAR_SR_BI_03_C PASS haltest:
  385. gatts add_service
  386. gatts add_characteristic:
  387. <properties> 2 <permissions> 1
  388. gatts start_service
  389. gatts send_response: <status> 8
  390. TC_GAR_SR_BI_04_C PASS haltest:
  391. gatts add_service
  392. gatts add_chaaracteristic:
  393. <properties> 2 <permissions> 3
  394. gatts start_service
  395. gatts send_response
  396. TC_GAR_SR_BI_05_C PASS haltest:
  397. gatts add_service
  398. gatts add_characteristic:
  399. <properties> 2 <permissions> 1
  400. gatts start_service
  401. gatts send_response: <status> 12
  402. TC_GAR_SR_BV_03_C PASS
  403. TC_GAR_SR_BI_06_C PASS haltest:
  404. gatts add_service
  405. gatts add_chaaracteristic:
  406. <properties> 2 <permissions> 16
  407. gatts start_service
  408. TC_GAR_SR_BI_07_C PASS
  409. TC_GAR_SR_BI_08_C PASS
  410. TC_GAR_SR_BI_09_C PASS haltest:
  411. gatts add_service
  412. gatts add_chaaracteristic:
  413. <properties> 2 <permissions> 1
  414. gatts start_service
  415. gatts send_response: <status> 8
  416. TC_GAR_SR_BI_10_C PASS haltest:
  417. gatts add_service
  418. gatts add_chaaracteristic:
  419. <properties> 2 <permissions> 1
  420. gatts start_service
  421. gatts send_response: <status> 5
  422. TC_GAR_SR_BI_11_C PASS haltest:
  423. gatts add_service
  424. gatts add_chaaracteristic:
  425. <properties> 2 <permissions> 1
  426. gatts start_service
  427. gatts send_response: <status> 12
  428. TC_GAR_SR_BV_04_C PASS haltest:
  429. gatts add_service
  430. gatts add_chaaracteristic:
  431. <properties> 2 <permissions> 1
  432. gatts start_service
  433. gatts send_response:
  434. <data> value greater than MTU
  435. repeat with correct offset
  436. TC_GAR_SR_BI_12_C PASS haltest:
  437. gatts add_service
  438. gatts add_chaaracteristic:
  439. <properties> 8 <permissions> 16
  440. gatts start_service
  441. gatts send_response
  442. TC_GAR_SR_BI_13_C PASS haltest:
  443. gatts add_service
  444. gatts add_chaaracteristic:
  445. <properties> 2 <permissions> 1
  446. gatts start_service
  447. gatts send_response:
  448. <data> value greater than MTU
  449. repeat with correct offset
  450. gatts send_response: <status> 7
  451. TC_GAR_SR_BI_14_C PASS haltest:
  452. gatts add_service
  453. gatts add_characteristic:
  454. <properties> 2 <permissions> 1
  455. gatts start_service
  456. gatts send_response: <status> 1
  457. TC_GAR_SR_BI_15_C PASS haltest:
  458. gatts add_service
  459. gatts add_characteristic:
  460. <properties> 2 <permissions> 1
  461. gatts start_service
  462. gatts send_response: <status> 8
  463. TC_GAR_SR_BI_16_C PASS haltest:
  464. gatts add_service
  465. gatts add_characteristic:
  466. <properties> 2 <permissions> 1
  467. gatts start_service
  468. gatts send_response: <status> 5
  469. TC_GAR_SR_BI_17_C PASS haltest:
  470. gatts add_service
  471. gatts add_characteristic:
  472. <properties> 2 <permissions> 1
  473. gatts start_service
  474. gatts send_response: <status> 12
  475. TC_GAR_SR_BV_05_C N/A
  476. TC_GAR_SR_BI_18_C N/A
  477. TC_GAR_SR_BI_19_C N/A
  478. TC_GAR_SR_BI_20_C N/A
  479. TC_GAR_SR_BI_21_C N/A
  480. TC_GAR_SR_BI_22_C N/A
  481. TC_GAR_SR_BV_06_C PASS haltest:
  482. gatts add_service
  483. gatts add_characteristic:
  484. <properties> 2 <permissions> 1
  485. gatts add_descriptor
  486. gatts start_service
  487. gatts send_response
  488. TC_GAR_SR_BI_23_C PASS haltest:
  489. gatts add_service
  490. gatts add_chaaracteristic:
  491. <properties> 2 <permissions> 1
  492. gatts add_descriptor: <permissions> 16
  493. gatts start_service
  494. TC_GAR_SR_BI_24_C PASS haltest:
  495. gatts add_service
  496. gatts add_characteristic:
  497. <properties> 2 <permissions> 1
  498. gatts add_descriptor
  499. gatts start_service
  500. gatts send_response: <status> 1
  501. TC_GAR_SR_BI_25_C PASS haltest:
  502. gatts add_service
  503. gatts add_chaaracteristic:
  504. <properties> 2 <permissions> 1
  505. gatts add_descriptor: <permissions> 1
  506. gatts start_service
  507. gatts send_response: <status> 8
  508. TC_GAR_SR_BI_26_C PASS haltest:
  509. gatts add_service
  510. gatts add_chaaracteristic:
  511. <properties> 2 <permissions> 1
  512. gatts add_descriptor: <permissions> 1
  513. gatts start_service
  514. gatts send_response: <status> 5
  515. TC_GAR_SR_BI_27_C PASS haltest:
  516. gatts add_service
  517. gatts add_chaaracteristic:
  518. <properties> 2 <permissions> 1
  519. gatts add_descriptor: <permissions> 1
  520. gatts start_service
  521. gatts send_response: <status> 12
  522. TC_GAR_SR_BV_07_C PASS haltest:
  523. gatts add_service
  524. gatts add_chaaracteristic:
  525. <properties> 2 <permissions> 1
  526. gatts add_descriptor: <permissions> 1
  527. gatts start_service
  528. gatts send_response:
  529. <data> value greater than MTU
  530. repeat with correct offset
  531. TC_GAR_SR_BV_08_C PASS haltest:
  532. gatts add_service
  533. gatts add_chaaracteristic:
  534. <properties> 2 <permissions> 1
  535. gatts add_descriptor: <permissions> 1
  536. gatts start_service
  537. gatts send_response:
  538. <data> value greater than MTU
  539. repeat with correct offset
  540. TC_GAR_SR_BI_28_C PASS haltest:
  541. gatts add_service
  542. gatts add_chaaracteristic:
  543. <properties> 2 <permissions> 1
  544. gatts add_descriptor: <permissions> 16
  545. gatts start_service
  546. TC_GAR_SR_BI_29_C PASS haltest:
  547. gatts add_service
  548. gatts add_chaaracteristic:
  549. <properties> 2 <permissions> 1
  550. gatts add_descriptor: <permissions> 1
  551. gatts start_service
  552. gatts send_response:
  553. <data> value greater than MTU
  554. repeat with correct offset
  555. gatts send_response: <status> 7
  556. TC_GAR_SR_BI_30_C PASS haltest:
  557. gatts add_service
  558. gatts add_chaaracteristic:
  559. <properties> 2 <permissions> 1
  560. gatts add_descriptor: <permissions> 1
  561. gatts start_service
  562. gatts send_response: <status> 1
  563. TC_GAR_SR_BI_31_C PASS haltest:
  564. gatts add_service
  565. gatts add_chaaracteristic:
  566. <properties> 2 <permissions> 1
  567. gatts add_descriptor: <permissions> 1
  568. gatts start_service
  569. gatts send_response: <status> 8
  570. TC_GAR_SR_BI_32_C PASS haltest:
  571. gatts add_service
  572. gatts add_chaaracteristic:
  573. <properties> 2 <permissions> 1
  574. gatts add_descriptor: <permissions> 1
  575. gatts start_service
  576. gatts send_response: <status> 5
  577. TC_GAR_SR_BI_33_C PASS haltest:
  578. gatts add_service
  579. gatts add_chaaracteristic:
  580. <properties> 2 <permissions> 1
  581. gatts add_descriptor: <permissions> 1
  582. gatts start_service
  583. gatts send_response: <status> 12
  584. TC_GAR_SR_BI_34_C PASS haltest:
  585. gatts add_service
  586. gatts add_characteristic
  587. gatts start_service
  588. gatts send_response <status> 0x80-0x9F
  589. TC_GAR_SR_BI_35_C PASS haltest:
  590. gatts add_service
  591. gatts add_characteristic
  592. gatts start_service
  593. gatts send_response <status> 0x80-0x9F
  594. TC_GAW_CL_BV_01_C PASS haltest:
  595. gattc connect <client id> <PTS addr>
  596. gattc search_service <conn_id>
  597. gattc get_characteristic <conn_id> <svc uuid>
  598. gattc write_characteristic <client_id> <svc_id>
  599. <char_id> 1 <value>
  600. gattc disconnect <client_id> <PTS addr>
  601. <conn_id>
  602. TC_GAW_CL_BV_02_C PASS haltest:
  603. gattc connect <client id> <PTS addr>
  604. gattc search_service <conn_id>
  605. gattc get_characteristic <conn_id> <svc uuid>
  606. gattc write_characteristic <client_id> <svc_id>
  607. <char_id> 4 <value>
  608. gattc disconnect <client_id> <PTS addr>
  609. <conn_id>
  610. TC_GAW_CL_BV_03_C PASS haltest:
  611. gattc connect <client id> <PTS addr>
  612. gattc search_service <conn_id>
  613. gattc get_characteristic <conn_id> <svc uuid>
  614. gattc write_characteristic <client_id> <svc_id>
  615. <char_id> 2 <value>
  616. gattc disconnect <client_id> <PTS addr>
  617. <conn_id>
  618. TC_GAW_CL_BI_02_C PASS haltest:
  619. gattc connect <client id> <PTS addr>
  620. gattc test_command 0xe1 <PTS addr> 0x0000 0x12
  621. <char_hdl> <data>
  622. gattc disconnect <client_id> <PTS addr>
  623. <conn_id>
  624. TC_GAW_CL_BI_03_C PASS haltest:
  625. gattc connect <client id> <PTS addr>
  626. gattc search_service <conn_id>
  627. gattc get_characteristic <conn_id> <svc uuid>
  628. gattc write_characteristic <client_id> <svc_id>
  629. <char_id> 2 <value>
  630. gattc disconnect <client_id> <PTS addr>
  631. <conn_id>
  632. TC_GAW_CL_BI_04_C PASS haltest:
  633. gattc connect <client id> <PTS addr>
  634. gattc search_service <conn_id>
  635. gattc get_characteristic <conn_id> <svc uuid>
  636. gattc write_characteristic <client_id> <svc_id>
  637. <char_id> 2 <value>
  638. gattc disconnect <client_id> <PTS addr>
  639. <conn_id>
  640. TC_GAW_CL_BI_05_C PASS haltest:
  641. gattc connect <client id> <PTS addr>
  642. gattc search_service <conn_id>
  643. gattc get_characteristic <conn_id> <svc uuid>
  644. gattc write_characteristic <client_id> <svc_id>
  645. <char_id> 2 <value>
  646. gattc disconnect <client_id> <PTS addr>
  647. <conn_id>
  648. TC_GAW_CL_BI_06_C PASS haltest:
  649. gattc connect <client id> <PTS addr>
  650. gattc search_service <conn_id>
  651. gattc get_characteristic <conn_id> <svc uuid>
  652. gattc write_characteristic <client_id> <svc_id>
  653. <char_id> 2 <value>
  654. gattc disconnect <client_id> <PTS addr>
  655. <conn_id>
  656. TC_GAW_CL_BV_05_C PASS haltest:
  657. gattc connect <client id> <PTS addr>
  658. gattc search_service <conn_id>
  659. gattc get_characteristic <conn_id> <svc uuid>
  660. gattc write_characteristic <client_id> <svc_id>
  661. <char_id> 3 <value>
  662. gattc execute_write <conn_id> 1
  663. gattc disconnect <client_id> <PTS addr>
  664. <conn_id>
  665. TC_GAW_CL_BI_07_C PASS haltest:
  666. gattc connect <client id> <PTS addr>
  667. gattc test_command 0xe1 <PTS addr> 0x0000 0x12
  668. <char_hdl> <data>
  669. gattc disconnect <client_id> <PTS addr>
  670. <conn_id>
  671. TC_GAW_CL_BI_08_C PASS haltest:
  672. gattc connect <client id> <PTS addr>
  673. gattc search_service <conn_id>
  674. gattc get_characteristic <conn_id> <svc uuid>
  675. gattc write_characteristic <client_id> <svc_id>
  676. <char_id> 3 <value>
  677. gattc execute_write <conn_id> 1
  678. gattc disconnect <client_id> <PTS addr>
  679. <conn_id>
  680. TC_GAW_CL_BI_09_C PASS haltest:
  681. gattc connect <client id> <PTS addr>
  682. gattc test_command 0xe1 <PTS addr> 0x0000 0x16
  683. <char_hdl> <offset> <data>
  684. gattc test_command 0xe1 <PTS addr> 0x0000 0x18 1
  685. gattc disconnect <client_id> <PTS addr>
  686. <conn_id>
  687. TC_GAW_CL_BI_11_C PASS haltest:
  688. gattc connect <client id> <PTS addr>
  689. gattc search_service <conn_id>
  690. gattc get_characteristic <conn_id> <svc uuid>
  691. gattc write_characteristic <client_id> <svc_id>
  692. <char_id> 3 <value>
  693. gattc disconnect <client_id> <PTS addr>
  694. <conn_id>
  695. TC_GAW_CL_BI_12_C PASS haltest:
  696. gattc connect <client id> <PTS addr>
  697. gattc search_service <conn_id>
  698. gattc get_characteristic <conn_id> <svc uuid>
  699. gattc write_characteristic <client_id> <svc_id>
  700. <char_id> 3 <value>
  701. gattc disconnect <client_id> <PTS addr>
  702. <conn_id>
  703. TC_GAW_CL_BI_13_C PASS haltest:
  704. gattc connect <client id> <PTS addr>
  705. gattc search_service <conn_id>
  706. gattc get_characteristic <conn_id> <svc uuid>
  707. gattc write_characteristic <client_id> <svc_id>
  708. <char_id> 3 <value>
  709. gattc disconnect <client_id> <PTS addr>
  710. <conn_id>
  711. TC_GAW_CL_BV_06_C PASS haltest:
  712. gattc connect <client id> <PTS addr>
  713. gattc search_service <conn_id>
  714. gattc get_characteristic <conn_id> <svc uuid>
  715. gattc write_characteristic <client_id> <svc_id>
  716. <char_id> 3 <value>
  717. gattc execute_write <conn_id> 1
  718. gattc disconnect <client_id> <PTS addr>
  719. <conn_id>
  720. TC_GAW_CL_BI_14_C PASS haltest:
  721. gattc connect <client id> <PTS addr>
  722. gattc test_command 0xe1 <PTS addr> 0x0000 0x16
  723. <char_hdl> <offset> <data>
  724. gattc disconnect <client_id> <PTS addr>
  725. <conn_id>
  726. TC_GAW_CL_BI_15_C PASS haltest:
  727. gattc connect <client id> <PTS addr>
  728. gattc search_service <conn_id>
  729. gattc get_characteristic <conn_id> <svc uuid>
  730. gattc write_characteristic <client_id> <svc_id>
  731. <char_id> 3 <value>
  732. gattc disconnect <client_id> <PTS addr>
  733. <conn_id>
  734. TC_GAW_CL_BI_17_C PASS haltest:
  735. gattc connect <client id> <PTS addr>
  736. gattc search_service <conn_id>
  737. gattc get_characteristic <conn_id> <svc uuid>
  738. gattc write_characteristic <client_id> <svc_id>
  739. <char_id> 3 <value>
  740. gattc disconnect <client_id> <PTS addr>
  741. <conn_id>
  742. TC_GAW_CL_BI_18_C PASS haltest:
  743. gattc connect <client id> <PTS addr>
  744. gattc search_service <conn_id>
  745. gattc get_characteristic <conn_id> <svc uuid>
  746. gattc write_characteristic <client_id> <svc_id>
  747. <char_id> 3 <value>
  748. gattc disconnect <client_id> <PTS addr>
  749. <conn_id>
  750. TC_GAW_CL_BI_19_C PASS haltest:
  751. gattc connect <client id> <PTS addr>
  752. gattc search_service <conn_id>
  753. gattc get_characteristic <conn_id> <svc uuid>
  754. gattc write_characteristic <client_id> <svc_id>
  755. <char_id> 3 <value>
  756. gattc disconnect <client_id> <PTS addr>
  757. <conn_id>
  758. TC_GAW_CL_BV_08_C PASS haltest:
  759. gattc connect <client id> <PTS addr>
  760. gattc search_service <conn_id>
  761. gattc get_characteristic <conn_id> <svc uuid>
  762. gattc get_descriptor <client_id> <svc_id>
  763. <char_id>
  764. gattc write_descriptor <client_id> <svc_id>
  765. <desc_id> 2 <data>
  766. gattc disconnect <client_id> <PTS addr>
  767. <conn_id>
  768. TC_GAW_CL_BI_20_C PASS haltest:
  769. gattc connect <client id> <PTS addr>
  770. gattc test_command 0xe1 <PTS addr> 0x0000 0x12
  771. <char_hdl> <data>
  772. gattc disconnect <client_id> <PTS addr>
  773. <conn_id>
  774. TC_GAW_CL_BI_21_C PASS haltest:
  775. gattc connect <client id> <PTS addr>
  776. gattc search_service <conn_id>
  777. gattc get_characteristic <conn_id> <svc uuid>
  778. gattc get_descriptor <client_id> <svc_id>
  779. <char_id>
  780. gattc write_descriptor <client_id> <svc_id>
  781. <desc_id> 2 <data>
  782. gattc disconnect <client_id> <PTS addr>
  783. <conn_id>
  784. TC_GAW_CL_BI_22_C PASS haltest:
  785. gattc connect <client id> <PTS addr>
  786. gattc search_service <conn_id>
  787. gattc get_characteristic <conn_id> <svc uuid>
  788. gattc get_descriptor <client_id> <svc_id>
  789. <char_id>
  790. gattc write_descriptor <client_id> <svc_id>
  791. <desc_id> 2 <data>
  792. gattc disconnect <client_id> <PTS addr>
  793. <conn_id>
  794. TC_GAW_CL_BI_23_C PASS haltest:
  795. gattc connect <client id> <PTS addr>
  796. gattc search_service <conn_id>
  797. gattc get_characteristic <conn_id> <svc uuid>
  798. gattc get_descriptor <client_id> <svc_id>
  799. <char_id>
  800. gattc write_descriptor <client_id> <svc_id>
  801. <desc_id> 2 <data>
  802. gattc disconnect <client_id> <PTS addr>
  803. <conn_id>
  804. TC_GAW_CL_BI_24_C PASS haltest:
  805. gattc connect <client id> <PTS addr>
  806. gattc search_service <conn_id>
  807. gattc get_characteristic <conn_id> <svc uuid>
  808. gattc get_descriptor <client_id> <svc_id>
  809. <char_id>
  810. gattc write_descriptor <client_id> <svc_id>
  811. <desc_id> 2 <data>
  812. gattc disconnect <client_id> <PTS addr>
  813. <conn_id>
  814. TC_GAW_CL_BV_09_C PASS haltest:
  815. gattc connect <client id> <PTS addr>
  816. gattc search_service <conn_id>
  817. gattc get_characteristic <conn_id> <svc uuid>
  818. gattc get_descriptor <client_id> <svc_id>
  819. <char_id>
  820. gattc write_descriptor <client_id> <svc_id>
  821. <desc_id> 3 <data>
  822. gattc execute_write <conn_id> 1
  823. gattc disconnect <client_id> <PTS addr>
  824. <conn_id>
  825. TC_GAW_CL_BI_25_C PASS haltest:
  826. gattc connect <client id> <PTS addr>
  827. gattc test_command 0xe1 <PTS addr> 0x0000 0x16
  828. <char_hdl> <offset> <data>
  829. gattc disconnect <client_id> <PTS addr>
  830. <conn_id>
  831. TC_GAW_CL_BI_26_C PASS haltest:
  832. gattc connect <client id> <PTS addr>
  833. gattc search_service <conn_id>
  834. gattc get_characteristic <conn_id> <svc uuid>
  835. gattc get_descriptor <client_id> <svc_id>
  836. <char_id>
  837. gattc write_descriptor <client_id> <svc_id>
  838. <desc_id> 3 <data>
  839. gattc disconnect <client_id> <PTS addr>
  840. <conn_id>
  841. TC_GAW_CL_BI_27_C PASS haltest:
  842. gattc connect <client id> <PTS addr>
  843. gattc test_command 0xe1 <PTS addr> 0x0000 0x16
  844. <char_hdl> <offset> <data>
  845. gattc test_command 0xe1 <PTS addr> 0x0000 0x18 1
  846. gattc disconnect <client_id> <PTS addr>
  847. <conn_id>
  848. TC_GAW_CL_BI_29_C PASS haltest:
  849. gattc connect <client id> <PTS addr>
  850. gattc search_service <conn_id>
  851. gattc get_characteristic <conn_id> <svc uuid>
  852. gattc get_descriptor <client_id> <svc_id>
  853. <char_id>
  854. gattc write_descriptor <client_id> <svc_id>
  855. <desc_id> 3 <data>
  856. gattc disconnect <client_id> <PTS addr>
  857. <conn_id>
  858. TC_GAW_CL_BI_30_C PASS haltest:
  859. gattc connect <client id> <PTS addr>
  860. gattc search_service <conn_id>
  861. gattc get_characteristic <conn_id> <svc uuid>
  862. gattc get_descriptor <client_id> <svc_id>
  863. <char_id>
  864. gattc write_descriptor <client_id> <svc_id>
  865. <desc_id> 3 <data>
  866. gattc disconnect <client_id> <PTS addr>
  867. <conn_id>
  868. TC_GAW_CL_BI_31_C PASS haltest:
  869. gattc connect <client id> <PTS addr>
  870. gattc test_command 0xe1 <PTS addr> 0x0000 0x16
  871. <desc_hdl> 0x0000 <data>
  872. gattc disconnect <client_id> <PTS addr>
  873. <conn_id>
  874. TC_GAW_CL_BI_32_C PASS haltest:
  875. gattc connect <client id> <PTS addr>
  876. gattc test_command 0xe1 <PTS addr> 0x0000 0x16
  877. <desc_hdl> <offset> <data>
  878. gattc test_command 0xe1 <PTS addr> 0x0000 0x18 0
  879. gattc disconnect <client_id> <PTS addr>
  880. <conn_id>
  881. TC_GAW_CL_BI_33_C PASS haltest:
  882. gattc connect <client id> <PTS addr>
  883. gattc search_service <conn_id>
  884. gattc get_characteristic <conn_id> <svc uuid>
  885. gattc write_characteristic <client_id> <svc_id>
  886. <char_id> 2 <value>
  887. gattc disconnect <client_id> <PTS addr>
  888. <conn_id>
  889. TC_GAW_CL_BI_34_C PASS haltest:
  890. gattc connect <client id> <PTS addr>
  891. gattc search_service <conn_id>
  892. gattc get_characteristic <conn_id> <svc uuid>
  893. gattc write_characteristic <client_id> <svc_id>
  894. <char_id> 2 <value>
  895. gattc disconnect <client_id> <PTS addr>
  896. <conn_id>
  897. TC_GAW_CL_BI_35_C PASS haltest:
  898. gattc connect <client id> <PTS addr>
  899. gattc search_service <conn_id>
  900. gattc get_characteristic <conn_id> <svc uuid>
  901. gattc get_descriptor <client_id> <svc_id>
  902. <char_id>
  903. gattc write_descriptor <client_id> <svc_id>
  904. <desc_id> 2 <data>
  905. gattc disconnect <client_id> <PTS addr>
  906. <conn_id>
  907. TC_GAW_CL_BI_36_C PASS haltest:
  908. gattc connect <client id> <PTS addr>
  909. gattc search_service <conn_id>
  910. gattc get_characteristic <conn_id> <svc uuid>
  911. gattc get_descriptor <client_id> <svc_id>
  912. <char_id>
  913. gattc write_descriptor <client_id> <svc_id>
  914. <desc_id> 2 <data>
  915. gattc disconnect <client_id> <PTS addr>
  916. <conn_id>
  917. TC_GAW_SR_BV_01_C PASS haltest:
  918. gatts add_service
  919. gatts add_characteristic:
  920. <properties> 4 <permissions> 17
  921. gatts start_service
  922. TC_GAW_SR_BV_02_C PASS haltest:
  923. gatts add service
  924. gatts add_characteristics:
  925. <properties> 66 <permisions> 145
  926. gatts start_service
  927. gattc listen
  928. gatts send_response: (twice)
  929. NOTE: gatts_request_write_cb shall be called
  930. (verify it)
  931. TC_GAW_SR_BI_01_C PASS haltest:
  932. gatts add_service
  933. gatts add_characteristic:
  934. <properties> 68
  935. <permissions> 129
  936. gatts start_service
  937. gatts send_response: repeat with <data> 1
  938. TC_GAW_SR_BV_03_C PASS haltest:
  939. gatts add_service
  940. gatts add_characteristic:
  941. <properties> 10 <permissions> 17
  942. TC_GAW_SR_BI_02_C PASS haltest:
  943. gatts add_service
  944. gatts add_characteristic:
  945. <properties> 10 <permissions> 17
  946. gatts start_service
  947. gatts send_response: <status> 1
  948. TC_GAW_SR_BI_03_C PASS haltest:
  949. gatts add_service
  950. gatts add_characteristic:
  951. <properties> 10 <permissions> 1
  952. gatts start_service
  953. TC_GAW_SR_BI_04_C PASS haltest:
  954. gatts add_service
  955. gatts add_characteristic:
  956. <properties> 10 <permissions> 17
  957. gatts start_service
  958. gatts send_response: <status> 8
  959. TC_GAW_SR_BI_05_C PASS haltest:
  960. gatts add_service
  961. gatts add_characteristic:
  962. <properties> 10 <permissions> 17
  963. gatts start_service
  964. gatts send_response: <status> 5
  965. TC_GAW_SR_BI_06_C PASS haltest:
  966. gatts add_service
  967. gatts add_characteristic:
  968. <properties> 10 <permissions> 17
  969. gatts start_service
  970. gatts send_response: <status> 12
  971. TC_GAW_SR_BV_05_C PASS haltest:
  972. gatts add_service
  973. gatts add_characteristic:
  974. <properties> 10 <permissions> 17
  975. gatts start_service
  976. gatts send_response:
  977. <data> value greater than MTU
  978. repeat with correct offset
  979. gatts send_response:
  980. repeat with correct value
  981. TC_GAW_SR_BI_07_C PASS haltest:
  982. gatts add_service
  983. gatts add_characteristic:
  984. <properties> 10 <permissions> 17
  985. gatts start_service
  986. gatts send_response
  987. TC_GAW_SR_BI_08_C PASS haltest:
  988. gatts add_service
  989. gatts add_characteristic:
  990. <properties> 2 <permissions> 1
  991. gatts start_service
  992. TC_GAW_SR_BI_09_C PASS haltest:
  993. gatts add_service
  994. gatts add_characteristic:
  995. <properties> 10 <permissions> 17
  996. gatts start_service
  997. gatts send_response:
  998. <data> value greater than MTU
  999. repeat with correct offset
  1000. gatts send_response: <status> 7
  1001. TC_GAW_SR_BI_11_C PASS haltest:
  1002. gatts add_service
  1003. gatts add_characteristic:
  1004. <properties> 10 <permissions> 17
  1005. gatts start_service
  1006. gatts send_response:
  1007. <data> value greater than MTU
  1008. repeat with correct offset
  1009. gatts send_response: <status> 8
  1010. TC_GAW_SR_BI_12_C PASS haltest:
  1011. gatts add_service
  1012. gatts add_characteristic:
  1013. <properties> 10 <permissions> 17
  1014. gatts start_service
  1015. gatts send_response:
  1016. <data> value greater than MTU
  1017. repeat with correct offset
  1018. gatts send_response: <status> 5
  1019. TC_GAW_SR_BI_13_C PASS haltest:
  1020. gatts add_service
  1021. gatts add_characteristic:
  1022. <properties> 10 <permissions> 17
  1023. gatts start_service
  1024. gatts send_response:
  1025. <data> value greater than MTU
  1026. repeat with correct offset
  1027. gatts send_response: <status> 12
  1028. TC_GAW_SR_BV_06_C PASS haltest:
  1029. gatts add_service
  1030. gatts add_characteristic:
  1031. <properties> 10 <permissions> 17
  1032. gatts start_service
  1033. gatts send_response:
  1034. repeat with correct value
  1035. TC_GAW_SR_BV_10_C PASS haltest:
  1036. gatts add_service
  1037. gatts add_characteristic:
  1038. <properties> 10 <permissions> 17
  1039. gatts start_service
  1040. gatts send_response:
  1041. <data> value greater than MTU
  1042. repeat with correct offset
  1043. gatts send_response:
  1044. repeat with correct value
  1045. TC_GAW_SR_BI_14_C PASS haltest:
  1046. gatts add_service
  1047. gatts add_characteristic:
  1048. <properties> 10 <permissions> 17
  1049. gatts start_service
  1050. gatts send_response: <status> 1
  1051. TC_GAW_SR_BI_15_C PASS haltest:
  1052. gatts add_service
  1053. gatts add_characteristic:
  1054. <properties> 10 <permissions> 17
  1055. gatts start_service
  1056. gatts send_response: <status> 3
  1057. TC_GAW_SR_BI_17_C PASS haltest:
  1058. gatts add_service
  1059. gatts add_characteristic:
  1060. <properties> 10 <permissions> 17
  1061. gatts start_service
  1062. gatts send_response: <status> 8
  1063. TC_GAW_SR_BI_18_C PASS haltest:
  1064. gatts add_service
  1065. gatts add_characteristic:
  1066. <properties> 10 <permissions> 17
  1067. gatts start_service
  1068. gatts send_response: <status> 5
  1069. TC_GAW_SR_BI_19_C PASS haltest:
  1070. gatts add_service
  1071. gatts add_characteristic:
  1072. <properties> 10 <permissions> 17
  1073. gatts start_service
  1074. gatts send_response: <status> 12
  1075. TC_GAW_SR_BV_07_C PASS haltest:
  1076. gatts add_service
  1077. gatts add_characteristic:
  1078. <properties> 10 <permissions> 17
  1079. gatts start_service
  1080. gatts send_response:
  1081. repeat with correct value
  1082. TC_GAW_CL_BV_08_C PASS haltest:
  1083. gatts add_service
  1084. gatts add_characteristic:
  1085. <properties> 10 <permissions> 17
  1086. gatts add_descriptor: <permmisions> 17
  1087. gatts start_service
  1088. gatts send_response
  1089. TC_GAW_SR_BI_20_C PASS haltest:
  1090. gatts add_service
  1091. gatts add_characteristic:
  1092. <properties> 10 <permissions> 17
  1093. gatts add_descriptor: <permmisions> 17
  1094. gatts start_service
  1095. gatts send_response: <status> 1
  1096. TC_GAW_SR_BI_21_C PASS haltest:
  1097. gatts add_service
  1098. gatts add_characteristic:
  1099. <properties> 2 <permissions> 1
  1100. gatts add_descriptor: <permmisions> 1
  1101. gatts start_service
  1102. TC_GAW_SR_BI_22_C PASS haltest:
  1103. gatts add_service
  1104. gatts add_characteristic:
  1105. <properties> 10 <permissions> 17
  1106. gatts add_descriptor: <permmisions> 17
  1107. gatts start_service
  1108. gatts send_response: <status> 8
  1109. TC_GAW_SR_BI_23_C PASS haltest:
  1110. gatts add_service
  1111. gatts add_characteristic:
  1112. <properties> 10 <permissions> 17
  1113. gatts add_descriptor: <permmisions> 17
  1114. gatts start_service
  1115. gatts send_response: <status> 5
  1116. TC_GAW_SR_BI_24_C PASS haltest:
  1117. gatts add_service
  1118. gatts add_characteristic:
  1119. <properties> 10 <permissions> 17
  1120. gatts add_descriptor: <permmisions> 17
  1121. gatts start_service
  1122. gatts send_response: <status> 12
  1123. TC_GAW_SR_BV_09_C PASS haltest:
  1124. gatts add_service
  1125. gatts add_characteristic:
  1126. <properties> 10 <permissions> 17
  1127. gatts add_descriptor: <permissions> 17
  1128. gatts start_service
  1129. gatts send_response:
  1130. <data> value greater than MTU
  1131. repeat with correct offset
  1132. gatts send_response:
  1133. repeat with correct value
  1134. TC_GAW_SR_BI_25_C PASS haltest:
  1135. gatts add_service
  1136. gatts add_characteristic:
  1137. <properties> 10 <permissions> 17
  1138. gatts add_descriptor: <permmisions> 17
  1139. gatts start_service
  1140. gatts send_response: <status> 1
  1141. TC_GAW_SR_BI_26_C PASS haltest:
  1142. gatts add_service
  1143. gatts add_characteristic:
  1144. <properties> 10 <permissions> 17
  1145. gatts add_descriptor: <permmisions> 1
  1146. gatts start_service
  1147. TC_GAW_SR_BI_27_C PASS haltest:
  1148. gatts add_service
  1149. gatts add_characteristic:
  1150. <properties> 10 <permissions> 17
  1151. gatts add_descriptor: <permmisions> 1
  1152. gatts start_service
  1153. gatts send_response:
  1154. <data> value greater than MTU
  1155. repeat with correct offset
  1156. gatts send_response: <status> 7
  1157. TC_GAW_SR_BI_29_C PASS haltest:
  1158. gatts add_service
  1159. gatts add_characteristic:
  1160. <properties> 10 <permissions> 17
  1161. gatts add_descriptor: <permmisions> 17
  1162. gatts start_service
  1163. gatts send_response: <status> 8
  1164. TC_GAW_SR_BI_30_C PASS haltest:
  1165. gatts add_service
  1166. gatts add_characteristic:
  1167. <properties> 10 <permissions> 17
  1168. gatts add_descriptor: <permmisions> 17
  1169. gatts start_service
  1170. gatts send_response: <status> 5
  1171. TC_GAW_SR_BI_31_C PASS haltest:
  1172. gatts add_service
  1173. gatts add_characteristic:
  1174. <properties> 10 <permissions> 17
  1175. gatts add_descriptor: <permmisions> 17
  1176. gatts start_service
  1177. gatts send_response: <status> 12
  1178. TC_GAW_SR_BI_32_C PASS PTS issue #12823
  1179. haltest:
  1180. gatts add_service
  1181. gatts add_characteristic:
  1182. <properties> 10 <permissions> 17
  1183. gatts start_service
  1184. gatts send_response
  1185. gatts send_response: <status> 13
  1186. TC_GAW_SR_BI_33_C PASS haltest:
  1187. gatts add_service
  1188. gatts add_characteristic:
  1189. <properties> 10 <permissions> 17
  1190. gatts start_service
  1191. gatts send_response:
  1192. <data> value greater than MTU
  1193. repeat with correct offset
  1194. gatts send_response: <status> 13
  1195. TC_GAW_SR_BI_34_C PASS haltest:
  1196. gatts add_service
  1197. gatts add_characteristic:
  1198. <properties> 10 <permissions> 17
  1199. gatts add_descriptor: <permmisions> 17
  1200. gatts start_service
  1201. gatts send_response
  1202. gatts send_response: <status> 13
  1203. TC_GAW_SR_BI_35_C PASS haltest:
  1204. gatts add_service
  1205. gatts add_characteristic:
  1206. <properties> 10 <permissions> 17
  1207. gatts add_descriptor: <permmisions> 17
  1208. gatts start_service
  1209. gatts send_response:
  1210. <data> value greater than MTU
  1211. repeat with correct offset
  1212. gatts send_response: <status> 13
  1213. TC_GAN_CL_BV_01_C PASS haltest:
  1214. gattc connect <client id> <PTS addr>
  1215. gattc search_service <conn_id>
  1216. gattc get_characteristic <conn_id> <svc uuid>
  1217. gattc get_descriptor <client_id> <svc_id>
  1218. <char_id>
  1219. gattc write_descriptor <client_id> <svc_id>
  1220. <desc_id> 2 0x0100
  1221. gattc disconnect <client_id> <PTS addr>
  1222. <conn_id>
  1223. TC_GAN_SR_BV_01_C PASS haltest:
  1224. gatts add_service
  1225. gatts add_chaaracteristic:
  1226. <properties> 26 <permissions> 17
  1227. gatts add_descriptor: <uuid> 2902
  1228. <permission> 11
  1229. gatts start_service
  1230. gatts send_response
  1231. gatts send_response
  1232. gatts send_indication:
  1233. <attr_handle> char value handle
  1234. <confirm> 0
  1235. TC_GAI_CL_BV_01_C PASS haltest:
  1236. gattc connect <client id> <PTS addr>
  1237. gattc search_service <conn_id>
  1238. gattc get_characteristic <conn_id> <svc uuid>
  1239. gattc get_descriptor <client_id> <svc_id>
  1240. <char_id>
  1241. gattc write_descriptor <client_id> <svc_id>
  1242. <desc_id> 2 0x0200
  1243. gattc disconnect <client_id> <PTS addr>
  1244. <conn_id>
  1245. TC_GAI_SR_BV_01_C PASS haltest:
  1246. gatts add_service
  1247. gatts add_chaaracteristic:
  1248. <properties> 42 <permissions> 17
  1249. gatts add_descriptor: <permissions> 17
  1250. gatts start_service
  1251. gatts add_service
  1252. gatts start_service
  1253. TC_GAS_CL_BV_01_C PASS haltest:
  1254. gattc connect <client id> <PTS addr>
  1255. gattc disconnect <client_id> <PTS addr>
  1256. <conn_id>
  1257. TC_GAS_SR_BV_01_C PASS haltest:
  1258. gatts add_service
  1259. gatts add_chaaracteristic:
  1260. <properties> 42 <permissions> 17
  1261. gatts add_descriptor: <permissions> 17
  1262. gatts start_service
  1263. gatts add_service
  1264. gatts start_service
  1265. TC_GAT_CL_BV_01_C PASS haltest:
  1266. gattc connect <client id> <PTS addr>
  1267. gattc search_service <conn_id>
  1268. gattc get_characteristic <conn_id> <svc uuid>
  1269. gattc read_characteristic <conn_id> <svc_id>
  1270. <char_id>
  1271. wait for 30 sec timeout
  1272. TC_GAT_CL_BV_02_C PASS haltest:
  1273. gattc connect <client id> <PTS addr>
  1274. gattc search_service <conn_id>
  1275. gattc get_characteristic <conn_id> <svc uuid>
  1276. gattc write_characteristic <client_id> <svc_id>
  1277. <char_id> 2 <value>
  1278. wait for 30 sec timeout
  1279. TC_GAT_SR_BV_01_C PASS haltest:
  1280. gatts add_service
  1281. gatts add_characteristic:
  1282. <properties> 42 <permissions> 17
  1283. gatts add_descriptor: <permissions> 17
  1284. gatts start_service
  1285. gatts add_service
  1286. gatts start_service
  1287. TC_GPA_CL_BV_01_C PASS haltest:
  1288. gattc connect <client id> <PTS addr>
  1289. gattc test_command 0xe0 <PTS addr> <char_uuid>
  1290. 0x08 <start_hdl> <end_hdl>
  1291. gattc disconnect <client_id> <PTS addr>
  1292. <conn_id>
  1293. TC_GPA_CL_BV_02_C PASS haltest:
  1294. gattc connect <client id> <PTS addr>
  1295. gattc test_command 0xe0 <PTS addr> <char_uuid>
  1296. 0x08 <start_hdl> <end_hdl>
  1297. gattc disconnect <client_id> <PTS addr>
  1298. <conn_id>
  1299. TC_GPA_CL_BV_03_C PASS haltest:
  1300. gattc connect <client id> <PTS addr>
  1301. gattc test_command 0xe0 <PTS addr> <char_uuid>
  1302. 0x08 <start_hdl> <end_hdl>
  1303. gattc disconnect <client_id> <PTS addr>
  1304. <conn_id>
  1305. TC_GPA_CL_BV_04_C PASS haltest:
  1306. gattc connect <client id> <PTS addr>
  1307. gattc test_command 0xe0 <PTS addr> <char_uuid>
  1308. 0x08 <start_hdl> <end_hdl>
  1309. gattc disconnect <client_id> <PTS addr>
  1310. <conn_id>
  1311. TC_GPA_CL_BV_05_C PASS haltest:
  1312. gattc connect <client id> <PTS addr>
  1313. gattc test_command 0xe0 <PTS addr> <char_uuid>
  1314. 0x08 <start_hdl> <end_hdl>
  1315. gattc disconnect <client_id> <PTS addr>
  1316. <conn_id>
  1317. TC_GPA_CL_BV_06_C PASS haltest:
  1318. gattc connect <client id> <PTS addr>
  1319. gattc test_command 0xe0 <PTS addr> <char_uuid>
  1320. 0x08 <start_hdl> <end_hdl>
  1321. gattc connect <client id> <PTS addr>
  1322. gattc search_service <conn_id>
  1323. gattc get_characteristic <conn_id> <svc uuid>
  1324. gattc read_descriptor <conn_id> <svc_id>
  1325. <char_id> <desc_id>
  1326. gattc disconnect <client_id> <PTS addr>
  1327. <conn_id>
  1328. TC_GPA_CL_BV_07_C PASS haltest:
  1329. gattc connect <client id> <PTS addr>
  1330. gattc test_command 0xe0 <PTS addr> <char_uuid>
  1331. 0x08 <start_hdl> <end_hdl>
  1332. gattc disconnect <client_id> <PTS addr>
  1333. <conn_id>
  1334. TC_GPA_CL_BV_08_C PASS haltest:
  1335. gattc connect <client id> <PTS addr>
  1336. gattc test_command 0xe0 <PTS addr> <char_uuid>
  1337. 0x08 <start_hdl> <end_hdl>
  1338. gattc disconnect <client_id> <PTS addr>
  1339. <conn_id>
  1340. TC_GPA_CL_BV_11_C PASS haltest:
  1341. gattc connect
  1342. Repeat following steps 5 times:
  1343. 1.Find Characteristic Aggregate Format
  1344. gattc test_command <cmd> 224 [u1] 8
  1345. 2.Read aggregate descriptor
  1346. gattc test_command <cmd> 224 [u1] 10
  1347. 3.Read 3 handles from aggregate descriptor
  1348. value
  1349. gattc test_command <cmd> 224 [u1] 10
  1350. 4.Compare descriptors values
  1351. gattc disconnect
  1352. TC_GPA_CL_BV_12_C PASS haltest:
  1353. gattc connect
  1354. Repeat following steps 5 times:
  1355. 1.Find Characteristic Presentation Format
  1356. gattc test_command <cmd> 224 [u1] 8
  1357. 2.Find characteristic in this range
  1358. gattc test_command <cmd> 224 <uuid> 2803 [u1] 8
  1359. 3.Read characteristic declaration
  1360. gattc test_command <cmd> 224 [u1] 10
  1361. 4.Read characteristic value
  1362. gattc test_command <cmd> 224 [u1] 10
  1363. 5.Compare characteristic value and
  1364. presentation format
  1365. gattc disconnect
  1366. TC_GPA_SR_BV_01_C PASS
  1367. TC_GPA_SR_BV_02_C PASS haltest:
  1368. gatts add_service
  1369. gatts start_service
  1370. TC_GPA_SR_BV_03_C PASS haltest:
  1371. gatts add_service
  1372. gatts add_service
  1373. add_included_service
  1374. gatts start_service
  1375. gatts start_service
  1376. TC_GPA_SR_BV_04_C PASS haltest:
  1377. gatts add_service
  1378. gatts add_chaaracteristic:
  1379. <properties> 10 <permissions> 17
  1380. gatts start_service
  1381. TC_GPA_SR_BV_05_C PASS haltest:
  1382. gatts add_service
  1383. gatts add_chaaracteristic:
  1384. <properties> 138 <permissions> 17
  1385. gatts add_descriptor <UUID> 2900
  1386. gatts start_service
  1387. TC_GPA_SR_BV_06_C PASS haltest:
  1388. gatts add_service
  1389. gatts add_chaaracteristic:
  1390. <properties> 138 <permissions> 17
  1391. gatts add_descriptor <UUID> 2901
  1392. gatts start_service
  1393. TC_GPA_SR_BV_07_C PASS
  1394. TC_GPA_SR_BV_08_C PASS haltest:
  1395. gatts add_service
  1396. gatts add_chaaracteristic:
  1397. <properties> 138 <permissions> 17
  1398. gatts add_descriptor <UUID> 2903
  1399. gatts start_service
  1400. gatts send_response
  1401. TC_GPA_SR_BV_11_C INC PTS issue #13392
  1402. haltest:
  1403. gatts add_service
  1404. gatts add_chaaracteristic:
  1405. <properties> 138 <permissions> 17
  1406. gatts add_descriptor <UUID> 2905
  1407. gatts start_service
  1408. gatts send_response: repeat with correct offset
  1409. and data
  1410. TC_GPA_SR_BV_12_C PASS haltest:
  1411. gatts add_service
  1412. gatts add_chaaracteristic:
  1413. <properties> 10 <permissions> 17
  1414. gatts add_descriptor <UUID> 2904
  1415. gatts start_service
  1416. gatts send_response: repeat with correct data
  1417. -------------------------------------------------------------------------------