Upgrade bluez5_37 :Merge the code from private
[platform/upstream/bluez.git] / android / pics-hid.txt
1 HID PICS for the PTS tool.
2
3 PTS version: 6.1
4
5 * - different than PTS defaults
6 # - not yet implemented/supported
7
8 M - mandatory
9 O - optional
10
11                 Roles
12 -------------------------------------------------------------------------------
13 Parameter Name  Selected        Description
14 -------------------------------------------------------------------------------
15 TSPC_HID_1_1    True (*)        Role: Host, Report protocol (O.1)
16 TSPC_HID_1_2    False           Role: HID Role (O.1)
17 TSPC_HID_1_3    False           Role: Host, Boot protocol (O.1)
18 -------------------------------------------------------------------------------
19 O.1: It is Mandatory to support One of these roles.
20 -------------------------------------------------------------------------------
21
22
23                 Application Procedures
24 -------------------------------------------------------------------------------
25 Parameter Name  Selected        Description
26 -------------------------------------------------------------------------------
27 TSPC_HID_2_1    True (*)        Host: Establish HID connection (C.4)
28 TSPC_HID_2_2    True (*)        Host: Accept HID connection (C.4)
29 TSPC_HID_2_3    True (*)        Host: Terminate HID connection (C.4)
30 TSPC_HID_2_4    True (*)        Host: Accept termination of HID connection (C.4)
31 TSPC_HID_2_5    True (*)        Host: Support for virtual cables (C.4)
32 TSPC_HID_2_6    True (*)        Host: HID initiated connection (C.4)
33 TSPC_HID_2_7    True (*)        Host: Host initiated connection (C.4)
34 TSPC_HID_2_8    True (*)        Host: Host data transfer to HID (C.1)
35 TSPC_HID_2_9    True (*)        Host: HID data transfer to Host (C.1)
36 TSPC_HID_2_10   False           Host: Boot mode data transfer to Host (C.2)
37 TSPC_HID_2_11   False           Host : Boot mode data transfer to HID (C.2)
38 TSPC_HID_2_12   False           Host : Support for Application to send
39                                         GET_Report (O)
40 TSPC_HID_2_13   False           Host : Support for Application to send
41                                         SET_REPORT (O)
42 TSPC_HID_2_14   False           Host : Support for sending HCI_CONTROL with
43                                         VIRTUAL_CABLE_UNPLUG (C.3)
44 TSPC_HID_2_15   False           Host : Support for receiving HCI_CONTROL with
45                                         VIRTUAL_CABLE_UNPLUG (C.3)
46 -------------------------------------------------------------------------------
47 C.1: Optional for Boot Mode Only Hosts (TSPC_HID_1_3); Mandatory for Host Role
48         (TSPC_HID_1_1); OTHERWISE Excluded.
49 C.2: Mandatory for Boot Mode Only Hosts (TSPC_HID_1_3); otherwise Optional.
50 C.3: Optional IF (TSPC_HID_2_5) supported, otherwise excluded.
51 C.4: Mandatory IF TSPC_HID_1_1 (Host, Report protocol) is supported, otherwise
52         Optional.
53 -------------------------------------------------------------------------------
54
55
56                 Device to Host Transfers
57 -------------------------------------------------------------------------------
58 Parameter Name  Selected        Description
59 -------------------------------------------------------------------------------
60 TSPC_HID_3_1    False           Host : Data reports larger than host MTU on
61                                         Control channel (O)
62 TSPC_HID_3_2    True (*)        Host : Data reports larger than host MTU on
63                                         Interrupt channel (C.1)
64 TSPC_HID_3_3    True (*)        Host : Data reports to host (C.1)
65 TSPC_HID_3_4    False           Host : Boot mode reports to host (C.2)
66 -------------------------------------------------------------------------------
67 C.1: Excluded for Boot Mode Only Hosts (TSPC_HID_1_3); Mandatory IF
68         TSPC_HID_2_12 is supported, otherwise Optional.
69 C.2: Mandatory IF TSPC_HID_1_3 is supported, otherwise Optional.
70 -------------------------------------------------------------------------------
71
72
73                 Host to Device Transfers
74 -------------------------------------------------------------------------------
75 Parameter Name  Selected        Description
76 -------------------------------------------------------------------------------
77 TSPC_HID_4_1    False           Host : Data reports larger than device MTU on
78                                         Control channel (C.1)
79 TSPC_HID_4_2    False           Host : Data reports larger than device MTU on
80                                         Interrupt channel (C.1)
81 TSPC_HID_4_3    True (*)        Host : Data reports to device (C.2)
82 TSPC_HID_4_4    False           Host : Boot mode reports to device (O)
83 -------------------------------------------------------------------------------
84 C.1: Excluded for Boot Mode Only Hosts (TSPC_HID_1_3); otherwise Optional
85 C.2: Excluded for Boot Mode Only Hosts (TSPC_HID_1_3); otherwise Mandatory for
86         Host Role (TSPC_HID_1_1).
87 -------------------------------------------------------------------------------
88
89
90                 HID Control Commands
91 -------------------------------------------------------------------------------
92 Parameter Name  Selected        Description
93 -------------------------------------------------------------------------------
94 TSPC_HID_5_1    False           Host : Set_Protocol command (C.1, C.4)
95 TSPC_HID_5_2    False           Host : Get_Protocol command (C.1, C.4)
96 TSPC_HID_5_3    False           Host : Set_Idle command (O)
97 TSPC_HID_5_4    False           Host : Get_Idle command (O)
98 TSPC_HID_5_5    False           Host : Set_Report command (C.2)
99 TSPC_HID_5_6    False           Host : Get_Report command (C.3)
100 -------------------------------------------------------------------------------
101 C.1: Mandatory for Boot Mode Only Hosts (TSPC_HID_1_3); otherwise Optional.
102 C.2: Mandatory IF (TSPC_HID_1_1) supported AND (TSPC_HID_2_13) supported.
103 C.3: Mandatory IF (TSPC_HID_1_1) Supported AND (TSPC_HID_2_12) Supported
104 C.4: Mandatory to support TSPC_HID_5_1 (Set_Protocol command) AND TSPC_HID_5_2
105         (Get_Protocol command) IF one of TSPC_HID_5_1 (Set_Protocol command)
106         OR TSPC_HID_5_2 (Get_Protocol command) is supported, otherwise
107         Excluded.
108 -------------------------------------------------------------------------------
109
110
111                 Host Link Manager Procedures
112 -------------------------------------------------------------------------------
113 Parameter Name  Selected        Description
114 -------------------------------------------------------------------------------
115 TSPC_HID_6_1    False           Host : Initiate Authentication before
116                                         connection completed (C.1)
117 TSPC_HID_6_2    False           Host : Initiate Authentication after connection
118                                         completed (C.1)
119 TSPC_HID_6_3    False           Host : Initiate pairing before connection
120                                         completed (C.2)
121 TSPC_HID_6_4    False           Host : Initiate pairing after connection
122                                         completed (C.2)
123 TSPC_HID_6_5    False           Host : Encryption (O)
124 TSPC_HID_6_6    False           Host : Initiate encryption (C.3)
125 TSPC_HID_6_7    False           Host : Accept encryption requests (C.3)
126 TSPC_HID_6_8    True (*)        Host : Role switch (Master/Slave) (C.4)
127 TSPC_HID_6_9    True (*)        Host : Request Master Slave switch (C.4)
128 TSPC_HID_6_10   True (*)        Host : Accept Master Slave switch requests (C.4)
129 TSPC_HID_6_11   False           Host : Hold mode (O)
130 TSPC_HID_6_12   True (*)        Host : Sniff mode (C.4)
131 TSPC_HID_6_13   False           Host : Park mode (O)
132 -------------------------------------------------------------------------------
133 C.1: Mandatory to support TSPC_HID_6_1 AND TSPC_HID_6_2 IF GAP 2/3
134         (Initiate LMP-Authentication) is supported, otherwise Excluded.
135 C.2: If Pairing supported both (TSPC_HID_6_3) AND (TSPC_HID_6_4) must
136         be supported.
137 C.3: Mandatory IF (TSPC_HID_6_5) encryption supported.
138 C.4: Mandatory IF (TSPC_HID_1_1) supported, otherwise Excluded.
139 -------------------------------------------------------------------------------
140
141
142                 Host Link Control Requirements
143 -------------------------------------------------------------------------------
144 Parameter Name  Selected        Description
145 -------------------------------------------------------------------------------
146 TSPC_HID_7_1    True (*)        Host : Supports inquiry, 79 channel (C.1)
147 TSPC_HID_7_2    False           Host : Supports inquiry scan, 79 channel (C.2)
148 -------------------------------------------------------------------------------
149 C.1: Mandatory to support IF (TSPC_HID_1_1) supported, otherwise Excluded.
150 C.2: Feature should not be used by a Host, but can be supported in LM.
151 -------------------------------------------------------------------------------
152
153
154                 HID Device Roles
155 -------------------------------------------------------------------------------
156 Parameter Name  Selected        Description
157 -------------------------------------------------------------------------------
158 TSPC_HID_8_1    False           Hid : Pointing HID (O.1)
159 TSPC_HID_8_2    False           Hid : Keyboard HID (O.1)
160 TSPC_HID_8_3    False           Hid : Identification HID (O.1)
161 TSPC_HID_8_4    False           Hid : Other HID (O.1)
162 -------------------------------------------------------------------------------
163 O.1: It is Mandatory to support One of these roles IF (TSPC_HID_1_2)
164         is selected
165 -------------------------------------------------------------------------------
166
167
168                 HID Application Procedures
169 -------------------------------------------------------------------------------
170 Parameter Name  Selected        Description
171 -------------------------------------------------------------------------------
172 TSPC_HID_9_1    False           Hid : Establish HID connection (O)
173 TSPC_HID_9_2    False (*)       Hid : Accept HID connection (M)
174 TSPC_HID_9_3    False           Hid : Terminate HID connection (O)
175 TSPC_HID_9_4    False (*)       Hid : Accept Termination of HID connection (M)
176 TSPC_HID_9_5    False           Hid : Support for virtual cables (O)
177 TSPC_HID_9_6    False           Hid : HID initiated reconnection (C.1)
178 TSPC_HID_9_7    False           Hid : Host initiated reconnection (C.1)
179 TSPC_HID_9_8    False           Hid : Host data transfer to HID (C.2)
180 TSPC_HID_9_9    False           Hid : HID data transfer to Host (C.2)
181 TSPC_HID_9_10   False           Hid : HID Boot mode data transfer to Host (C.3)
182 TSPC_HID_9_11   False           Hid : Host Boot mode data transfer to HID (C.4)
183 TSPC_HID_9_12   False           Hid : Output reports declared (C.4)
184 TSPC_HID_9_13   False           Hid : Input reports declared (C.3)
185 TSPC_HID_9_14   False           Hid : Feature reports declared (O)
186 TSPC_HID_9_15   False           Hid : Support for sending HCI_CONTROL with
187                                         VIRTUAL_CABLE_UNPLUG (C.5)
188 TSPC_HID_9_16   False           Hid : Support for receiving HCI_CONTROL with
189                                         VIRTUAL_CABLE_UNPLUG (C.5)
190 -------------------------------------------------------------------------------
191 C.1: One of these is Mandatory IF (TSPC_HID_9_5) is supported
192         (SDP attribute 0x204=True)
193 C.2: One of these is Mandatory if TSPC_HID_1_2 (HID Role) is supported.
194 C.3: Mandatory IF (TSPC_HID_8_1) OR (TSPC_HID_8_2) is selected
195 C.4: Mandatory IF (TSPC_HID_8_2) is supported (for status indicators)
196 C.5: Optional IF (TSPC_HID_9_5) supported, otherwise excluded.
197 -------------------------------------------------------------------------------
198
199
200                 Device to Host Transfers
201 -------------------------------------------------------------------------------
202 Parameter Name  Selected        Description
203 -------------------------------------------------------------------------------
204 TSPC_HID_10_1   False           Hid : Data reports larger than host MTU on
205                                         Control channel (O)
206 TSPC_HID_10_2   False           Hid : Data reports larger than host MTU on
207                                         Interrupt channel (O)
208 TSPC_HID_10_3   False           Hid : Data reports to host (O)
209 TSPC_HID_10_4   False           Hid : Boot mode reports to host (C.1)
210 -------------------------------------------------------------------------------
211 C.1: Mandatory IF (TSPC_HID_8_1) OR (TSPC_HID_8_2) is supported.
212         Optional for other HIDs.
213 -------------------------------------------------------------------------------
214
215
216                 Host to Device Transfers
217 -------------------------------------------------------------------------------
218 Parameter Name  Selected        Description
219 -------------------------------------------------------------------------------
220 TSPC_HID_11_1   False           Hid : Data reports larger than device MTU on
221                                         Control channel (O)
222 TSPC_HID_11_2   False           Hid : Data reports larger than device MTU on
223                                         Interrupt channel (O)
224 TSPC_HID_11_3   False           Hid : Data reports to device (O)
225 TSPC_HID_11_4   False           Hid : Boot mode reports to device (C.1)
226 -------------------------------------------------------------------------------
227 C.1: Mandatory IF (TSPC_HID_8_2) is supported. Optional for other HIDs.
228 -------------------------------------------------------------------------------
229
230
231                 HID Control Commands
232 -------------------------------------------------------------------------------
233 Parameter Name  Selected        Description
234 -------------------------------------------------------------------------------
235 TSPC_HID_12_1   False           Hid : Set_Protocol command (C.1, C.5)
236 TSPC_HID_12_2   False           Hid : Get_Protocol command (C.1, C.5)
237 TSPC_HID_12_3   False           Hid : Set_Idle command (C.2)
238 TSPC_HID_12_4   False           Hid : Get_Idle command (C.2)
239 TSPC_HID_12_5   False           Hid : Set_Report command (C.3)
240 TSPC_HID_12_6   False           Hid : Get_Report command (C.4)
241 -------------------------------------------------------------------------------
242 C.1: Mandatory IF (TSPC_HID_8_1) OR (TSPC_HID_8_2) is supported.
243         Optional for other HIDs. If either Set_Protocol or Get_Protocol
244         supported, both are Mandatory.
245 C.2: Mandatory IF (TSPC_HID_8_2) Keyboard is selected. Optional for other HIDs.
246 C.3: Mandatory IF (TSPC_HID_9_12) or (TSPC_HID_9_14) supported.
247 C.4: Mandatory IF (TSPC_HID_9_13) or (TSPC_HID_9_14) supported
248 C.5: If either TSPC_HID_12_1 (Set_Protocol command) OR TSPC_HID_12_2
249         (Get_Protocol command) is supported, both TSPC_HID_12_1
250         (Set_Protocol command) AND TSPC_HID_12_2 (Get_Protocol command) are
251         Mandatory to support
252 -------------------------------------------------------------------------------
253
254
255                 HID Link Manager Procedures
256 -------------------------------------------------------------------------------
257 Parameter Name  Selected        Description
258 -------------------------------------------------------------------------------
259 TSPC_HID_13_1   False           Hid : Host initiated Authentication before
260                                         connection completed (C.1)
261 TSPC_HID_13_2   False           Hid : Host initiated Authentication after
262                                         connection completed (C.1)
263 TSPC_HID_13_3   False           Hid : Item no longer used (N/A)
264 TSPC_HID_13_4   False           Hid : Item no longer used (N/A)
265 TSPC_HID_13_5   False           Hid : Encryption (C.1)
266 TSPC_HID_13_6   False           Hid : Initiate encryption (O)
267 TSPC_HID_13_7   False           Hid : Accept encryption requests (C.2)
268 TSPC_HID_13_8   False           Hid : Role switch (Master/Slave) (C.3)
269 TSPC_HID_13_9   False           Hid : Request Master Slave switch (O)
270 TSPC_HID_13_10  False           Hid : Accept Master Slave switch requests (C.3)
271 TSPC_HID_13_11  False           Hid : Hold mode (O)
272 TSPC_HID_13_12  False           Hid : Sniff mode (O)
273 TSPC_HID_13_13  False           Hid : Park mode (O)
274 -------------------------------------------------------------------------------
275 C.1: Mandatory IF (TSPC_HID_8_2) OR (TSPC_HID_8_3) is selected. Optional
276         for other HIDs.
277 C.2: Mandatory IF (TSPC_HID_13_5) supported.
278 C.3: Mandatory IF (TSPC_HID_9_6) is supported.
279 -------------------------------------------------------------------------------
280
281
282                 HID Link Control Requirements
283 -------------------------------------------------------------------------------
284 Parameter Name  Selected        Description
285 -------------------------------------------------------------------------------
286 TSPC_HID_14_1   False           Hid : Supports inquiry, 79 channel (O)
287 TSPC_HID_14_2   False           Hid : Supports inquiry scan, 79 channel (M.1)
288 TSPC_ALL        False           Enables all test cases when set to true.
289 -------------------------------------------------------------------------------
290 M.1: Mandatory IF (TSPC_HID_1_2) is supported.
291 -------------------------------------------------------------------------------