Upgrade bluez5_37 :Merge the code from private
[platform/upstream/bluez.git] / android / pics-gatt.txt
1 GATT PICS for the PTS tool.
2
3 PTS version: 6.1
4
5 * - different than PTS defaults
6
7 M - mandatory
8 O - optional
9
10                 Generic Attribute Profile Role
11 -------------------------------------------------------------------------------
12 Parameter Name  Selected        Description
13 -------------------------------------------------------------------------------
14 TSPC_GATT_1_1   True            Generic Attribute Profile Client (C.1)
15 TSPC_GATT_1_2   True            Generic Attribute Profile Server (C.2)
16 TSPC_GATT_1A_1  True            Complete GATT client (C.3)
17 TSPC_GATT_1A_2  True            Complete GATT server (C.4)
18 -------------------------------------------------------------------------------
19 C.1: Optional to support IF TSPC_GATT_2_2; else IF TSPC_GATT_2_1 it is mandatory
20         to support at least one of TSPC_GATT_1_1 OR TSPC_GATT_1_2
21 C.2: Mandatory to support IF TSPC_GATT_2_2; else IF TSPC_GATT_2_1 it is
22         mandatory to support at least one of TSPC_GATT_1_1 OR TSPC_GATT_1_2
23 C.3: Optional IF TSPC_GATT_1_1 is supported, otherwise Excluded
24 C.4: Optional IF TSPC_GATT_1_2 is supported, otherwise Excluded
25 -------------------------------------------------------------------------------
26
27
28                 ATT Bearer Transport
29 -------------------------------------------------------------------------------
30 Parameter Name  Selected        Description
31 -------------------------------------------------------------------------------
32 TSPC_GATT_2_1   True            Attribute Protocol Supported over BR/EDR
33                                         (L2CAP fixed channel support) (C.1)
34 TSPC_GATT_2_2   True            Attribute Protocol Supported over LE (C.2)
35 -------------------------------------------------------------------------------
36 C.1: Mandatory IF (SUM ICS 12/2 OR SUM ICS 12/9) is supported, otherwise
37         Excluded
38 C.2: Mandatory IF (SUM ICS 12/7 OR SUM ICS 12/9) is supported, otherwise
39         Excluded
40 -------------------------------------------------------------------------------
41
42
43
44                 Generic Attribute Profile Support
45 -------------------------------------------------------------------------------
46 Parameter Name  Selected        Description
47 -------------------------------------------------------------------------------
48 TSPC_GATT_3_1   True            Client: Exchange MTU (C.2)
49 TSPC_GATT_3_2   True            Client: Discover All Primary Services (C.1)
50 TSPC_GATT_3_3   True            Client: Discover Primary Services Service
51                                         UUID (C.1)
52 TSPC_GATT_3_4   True            Client: Find Included Services (C.1)
53 TSPC_GATT_3_5   True            Client: Discover All characteristics of a
54                                         Service (C.1)
55 TSPC_GATT_3_6   True            Client: Discover Characteristics by UUID (C.1)
56 TSPC_GATT_3_7   True            Client: Discover All Characteristic Descriptors
57                                         (C.1)
58 TSPC_GATT_3_8   True            Client: Read Characteristic Value (C.1)
59 TSPC_GATT_3_9   True            Client: Read using Characteristic UUID (C.1)
60 TSPC_GATT_3_10  True            Client: Read Long Characteristic Values (C.1)
61 TSPC_GATT_3_11  False (*)       Client: Read Multiple Characteristic
62                                         Values (C.1)
63 TSPC_GATT_3_12  True            Client: Write without Response (C.1)
64 TSPC_GATT_3_13  True            Client: Signed Write Without Response (C.1)
65 TSPC_GATT_3_14  True            Client: Write Characteristic Value (C.1)
66 TSPC_GATT_3_15  True            Client: Write Long Characteristic Values (C.1)
67 TSPC_GATT_3_16  True            Client: Characteristic Value Reliable
68                                         Writes (C.1)
69 TSPC_GATT_3_17  True            Client: Notifications (C.1)
70 TSPC_GATT_3_18  True            Client: Indications (M)
71 TSPC_GATT_3_19  True            Client: Read Characteristic Descriptors (C.1)
72 TSPC_GATT_3_20  True            Client: Read long Characteristic Descriptors
73                                         (C.1)
74 TSPC_GATT_3_21  True            Client: Write Characteristic Descriptors (C.1)
75 TSPC_GATT_3_22  True            Client: Write Long Characteristic Descriptors
76                                         (C.1)
77 TSPC_GATT_3_23  True            Client: Service Changed Characteristic (M)
78 TSPC_GATT_3B_1  True            Client: Primary Service Declaration (M)
79 TSPC_GATT_3B_2  True            Client: Secondary Service Declaration (M)
80 TSPC_GATT_3B_3  True            Client: Include Declaration (M)
81 TSPC_GATT_3B_4  True            Client: Characteristic Declaration (M)
82 TSPC_GATT_3B_5  True            Client: Characteristic Value Declaration (M)
83 TSPC_GATT_3B_6  True            Client: Characteristic Extended Properties (M)
84 TSPC_GATT_3B_7  True            Client: Characteristic User Description
85                                         Descriptor (M)
86 TSPC_GATT_3B_8  True            Client: Client Characteristic Configuration
87                                         Descriptor (M)
88 TSPC_GATT_3B_9  True            Client: Server Characteristic Configuration
89                                         Descriptor (M)
90 TSPC_GATT_3B_10 True            Client: Characteristic Format Descriptor (M)
91 TSPC_GATT_3B_11 True            Client: Characteristic Aggregate Format
92                                         Descriptor (M)
93 TSPC_GATT_3B_12 True            Client: Characteristic Format: Boolean (M)
94 TSPC_GATT_3B_13 True            Client: Characteristic Format: 2Bit (M)
95 TSPC_GATT_3B_14 True            Client: Characteristic Format: nibble (M)
96 TSPC_GATT_3B_15 True            Client: Characteristic Format: Uint8 (M)
97 TSPC_GATT_3B_16 True            Client: Characteristic Format: Uint12 (M)
98 TSPC_GATT_3B_17 True            Client: Characteristic Format: Uint16 (M)
99 TSPC_GATT_3B_18 True            Client: Characteristic Format: Uint24 (M)
100 TSPC_GATT_3B_19 True            Client: Characteristic Format: Uint32 (M)
101 TSPC_GATT_3B_20 True            Client: Characteristic Format: Uint48 (M)
102 TSPC_GATT_3B_21 True            Client: Characteristic Format: Uint64 (M)
103 TSPC_GATT_3B_22 True            Client: Characteristic Format: Uint128 (M)
104 TSPC_GATT_3B_23 True            Client: Characteristic Format: Sint8 (M)
105 TSPC_GATT_3B_24 True            Client: Characteristic Format: Sint12 (M)
106 TSPC_GATT_3B_25 True            Client: Characteristic Format: Sint16 (M)
107 TSPC_GATT_3B_26 True            Client: Characteristic Format: Sint24 (M)
108 TSPC_GATT_3B_27 True            Client: Characteristic Format: Sint32 (M)
109 TSPC_GATT_3B_28 True            Client: Characteristic Format: Sint48 (M)
110 TSPC_GATT_3B_29 True            Client: Characteristic Format: Sint64 (M)
111 TSPC_GATT_3B_30 True            Client: Characteristic Format: Sint128 (M)
112 TSPC_GATT_3B_31 True            Client: Characteristic Format: Float32 (M)
113 TSPC_GATT_3B_32 True            Client: Characteristic Format: Float64 (M)
114 TSPC_GATT_3B_33 True            Client: Characteristic Format: SFLOAT (M)
115 TSPC_GATT_3B_34 True            Client: Characteristic Format: FLOAT (M)
116 TSPC_GATT_3B_35 True            Client: Characteristic Format: Duint16 (M)
117 TSPC_GATT_3B_36 True            Client: Characteristic Format: utf8s (M)
118 TSPC_GATT_3B_37 True            Client: Characteristic Format: utf16s (M)
119 TSPC_GATT_3B_38 True            Client: Characteristic Format: struct (M)
120 -------------------------------------------------------------------------------
121 C.1: Mandatory IF TSPC_GATT_1_3 is supported, otherwise Optional
122 C.2: Mandatory IF TSPC_GATT_1_3 AND TSPC_GATT_2_2 is supported, otherwise
123         Excluded
124 -------------------------------------------------------------------------------
125
126
127
128                 Generic Attribute Profile Support, by Server
129 -------------------------------------------------------------------------------
130 Parameter Name  Selected        Description
131 -------------------------------------------------------------------------------
132 TSPC_GATT_4_1   True            Server: Exchange MTU (C.4)
133 TSPC_GATT_4_2   True            Server: Discover All Primary Services (M)
134 TSPC_GATT_4_3   True            Server: Discover Primary Services Service
135                                         UUID (M)
136 TSPC_GATT_4_4   True            Server: Find Included Services (M)
137 TSPC_GATT_4_5   True            Server: Discover All characteristics of
138                                         a Service (M)
139 TSPC_GATT_4_6   True            Server: Discover Characteristics by UUID (M)
140 TSPC_GATT_4_7   True            Server: Discover All Characteristic
141                                         Descriptors (M)
142 TSPC_GATT_4_8   True            Server: Read Characteristic Value (M)
143 TSPC_GATT_4_9   True            Server: Read using Characteristic UUID (M)
144 TSPC_GATT_4_10  True            Server: Read Long Characteristic Values (C.4)
145 TSPC_GATT_4_11  False (*)       Server: Read Multiple Characteristic
146                                         Values (C.4)
147 TSPC_GATT_4_12  True            Server: Write without Response (C.2)
148 TSPC_GATT_4_13  True            Server: Signed Write Without Response (C.4)
149 TSPC_GATT_4_14  True            Server: Write Characteristic Value (C.3)
150 TSPC_GATT_4_15  True            Server: Write Long Characteristic Values (C.4)
151 TSPC_GATT_4_16  True            Server: Characteristic Value Reliable
152                                         Writes (C.4)
153 TSPC_GATT_4_17  True            Server: Notifications (C.4)
154 TSPC_GATT_4_18  True            Server: Indications (C.1)
155 TSPC_GATT_4_19  True            Server: Read Characteristic Descriptors (C.4)
156 TSPC_GATT_4_20  True            Server: Read long Characteristic
157                                         Descriptors (C.4)
158 TSPC_GATT_4_21  True            Server: Write Characteristic Descriptors (C.4)
159 TSPC_GATT_4_22  True            Server: Write Long Characteristic
160                                         Descriptors (C.4)
161 TSPC_GATT_4_23  True            Server: Service Changed Characteristic (C.1)
162 -------------------------------------------------------------------------------
163 C.1: Mandatory IF service definitions on the server can be added, changed, or
164         removed, otherwise Optional
165 C.2: Mandatory IF GATT TSPC_GATT_4_13 is supported, otherwise Optional
166 C.3: Mandatory IF GATT TSPC_GATT_4_15 is supported, otherwise Optional
167 C.4: Mandatory IF GATT TSPC_GATT_1_4 is supported, otherwise Optional
168 -------------------------------------------------------------------------------
169
170
171                 Profile Attribute Types and Characteristic Formats
172 -------------------------------------------------------------------------------
173 Parameter Name  Selected        Description
174 -------------------------------------------------------------------------------
175 TSPC_GATT_4B_1  True            Server: Primary Service Declaration (M)
176 TSPC_GATT_4B_2  True            Server: Secondary Service Declaration (M)
177 TSPC_GATT_4B_3  True            Server: Include Declaration (M)
178 TSPC_GATT_4B_4  True            Server: Characteristic Declaration (M)
179 TSPC_GATT_4B_5  True            Server: Characteristic Value Declaration (M)
180 TSPC_GATT_4B_6  True            Server: Characteristic Extended Properties (M)
181 TSPC_GATT_4B_7  True            Server: Characteristic User Description
182                                         Descriptor (M)
183 TSPC_GATT_4B_8  True            Server: Client Characteristic Configuration
184                                         Descriptor (M)
185 TSPC_GATT_4B_9  True            Server: Server Characteristic Configuration
186                                         Descriptor (M)
187 TSPC_GATT_4B_10 True            Server: Characteristic Format Descriptor (M)
188 TSPC_GATT_4B_11 True            Server: Characteristic Aggregate Format
189                                         Descriptor (M)
190 TSPC_GATT_4B_12 True            Server: Characteristic Format: Boolean (M)
191 TSPC_GATT_4B_13 True            Server: Characteristic Format: 2Bit (M)
192 TSPC_GATT_4B_14 True            Server: Characteristic Format: nibble (M)
193 TSPC_GATT_4B_15 True            Server: Characteristic Format: Uint8 (M)
194 TSPC_GATT_4B_16 True            Server: Characteristic Format: Uint12 (M)
195 TSPC_GATT_4B_17 True            Server: Characteristic Format: Uint16 (M)
196 TSPC_GATT_4B_18 True            Server: Characteristic Format: Uint24 (M)
197 TSPC_GATT_4B_19 True            Server: Characteristic Format: Uint32 (M)
198 TSPC_GATT_4B_20 True            Server: Characteristic Format: Uint48 (M)
199 TSPC_GATT_4B_21 True            Server: Characteristic Format: Uint64 (M)
200 TSPC_GATT_4B_22 True            Server: Characteristic Format: Uint128 (M)
201 TSPC_GATT_4B_23 True            Server: Characteristic Format: Sint8 (M)
202 TSPC_GATT_4B_24 True            Server: Characteristic Format: Sint12 (M)
203 TSPC_GATT_4B_25 True            Server: Characteristic Format: Sint16 (M)
204 TSPC_GATT_4B_26 True            Server: Characteristic Format: Sint24 (M)
205 TSPC_GATT_4B_27 True            Server: Characteristic Format: Sint32 (M)
206 TSPC_GATT_4B_28 True            Server: Characteristic Format: Sint48 (M)
207 TSPC_GATT_4B_29 True            Server: Characteristic Format: Sint64 (M)
208 TSPC_GATT_4B_30 True            Server: Characteristic Format: Sint128 (M)
209 TSPC_GATT_4B_31 True            Server: Characteristic Format: Float32 (M)
210 TSPC_GATT_4B_32 True            Server: Characteristic Format: Float64 (M)
211 TSPC_GATT_4B_33 True            Server: Characteristic Format: SFLOAT (M)
212 TSPC_GATT_4B_34 True            Server: Characteristic Format: FLOAT (M)
213 TSPC_GATT_4B_35 True            Server: Characteristic Format: Duint16 (M)
214 TSPC_GATT_4B_36 True            Server: Characteristic Format: utf8s (M)
215 TSPC_GATT_4B_37 True            Server: Characteristic Format: utf16s (M)
216 TSPC_GATT_4B_38 True            Server: Characteristic Format: struct (M)
217 -------------------------------------------------------------------------------
218
219
220                 Generic Attribute Profile Service
221 -------------------------------------------------------------------------------
222 Parameter Name  Selected        Description
223 -------------------------------------------------------------------------------
224 TSPC_GATT_6_2   True            Discover GATT Services using Service Discovery
225                                         Profile (C.1)
226 TSPC_GATT_6_3   True            Publish SDP record for GATT services support
227                                         via BR/EDR (C.2)
228 -------------------------------------------------------------------------------
229 C.1: Mandatory IF TSPC_GATT_1_1 is supported, otherwise Excluded
230 C.2: Mandatory IF TSPC_GATT_1_2 is supported, otherwise Excluded
231 -------------------------------------------------------------------------------
232
233
234                 Attribute Protocol Transport Security
235 -------------------------------------------------------------------------------
236 Parameter Name  Selected        Description
237 -------------------------------------------------------------------------------
238 TSPC_GATT_7_1   True            Security Mode 4 (C.1)
239 TSPC_GATT_7_2   True            LE Security Mode 1 (C.2)
240 TSPC_GATT_7_3   True            LE Security Mode 2 (C.2)
241 TSPC_GATT_7_4   True            LE Authentication Procedure (C.2)
242 TSPC_GATT_7_5   True            LE connection data signing procedure (C.2)
243 TSPC_GATT_7_6   True            LE Authenticate signed data procedure (C.2)
244 TSPC_GATT_7_7   True            LE Authorization Procedure (C.2)
245 -------------------------------------------------------------------------------
246 C.1: Mandatory IF TSPC_GATT_2_1 is supported, otherwise Excluded
247 C.2: Optional IF TSPC_GATT_2_2 is supported, otherwise Excluded
248 -------------------------------------------------------------------------------
249
250
251                 Attribute Protocol Client Messages
252 -------------------------------------------------------------------------------
253 Parameter Name  Selected        Description
254 -------------------------------------------------------------------------------
255 TSPC_ATT_3_1    True            Attribute Error Response (M)
256 TSPC_ATT_3_2    True            Exchange MTU Request (O)
257 TSPC_ATT_3_4    True            Find Information Request (O)
258 TSPC_ATT_3_6    True            Find by Type Value Request (O)
259 TSPC_ATT_3_8    True            Read by Type Request (O)
260 TSPC_ATT_3_10   True            Read Request (O)
261 TSPC_ATT_3_12   True            Read Blob Request (O)
262 TSPC_ATT_3_14   False (*)       Read Multiple Request (O)
263 TSPC_ATT_3_16   True            Read by Group Type Request (O)
264 TSPC_ATT_3_17   True            Read by Group Type Response (C.6)
265 TSPC_ATT_3_18   True            Write Request (O)
266 TSPC_ATT_3_20   True            Write Command (O)
267 TSPC_ATT_3_21   True            Signed Write Command (O)
268 TSPC_ATT_3_22   True            Prepare Write Request (O)
269 TSPC_ATT_3_24   True            Execute Write Request (C.8)
270 TSPC_ATT_3_26   True            Handle Value Notification (M)
271 TSPC_ATT_3_28   True            Handle Value Confirmation (M)
272 -------------------------------------------------------------------------------
273 C.6: Mandatory IF TSPC_ATT_3_16 is supported, otherwise Excluded
274 C.8: Mandatory IF TSPC_ATT_3_22 is supported, otherwise Excluded
275 -------------------------------------------------------------------------------
276
277                 Attribute Protocol Server Messages
278 -------------------------------------------------------------------------------
279 Parameter Name  Selected        Description
280 -------------------------------------------------------------------------------
281 TSPC_ATT_4_1    True            Attribute Error Response (M)
282 TSPC_ATT_4_3    True            Exchange MTU Response (M)
283 TSPC_ATT_4_5    True            Find Information Response (M)
284 TSPC_ATT_4_7    True            Find by Type Value Response (M)
285 TSPC_ATT_4_8    True            Read by Type Request (M)
286 TSPC_ATT_4_9    True            Read by Type Response (M)
287 TSPC_ATT_4_11   True            Read Response (M)
288 TSPC_ATT_4_15   False (*)       Read Multiple Response (C.2)
289 TSPC_ATT_4_17   True            Read by Group Type Response (M)
290 TSPC_ATT_4_19   True            Write Response (C.3)
291 TSPC_ATT_4_20   True            Write Command (O)
292 TSPC_ATT_4_21   True            Signed Write Command (O)
293 TSPC_ATT_4_23   True            Prepare Write Response (C.4)
294 TSPC_ATT_4_25   True            Execute Write Response (C.4)
295 TSPC_ATT_4_26   True            Handle Value Notification (O)
296 TSPC_ATT_4_27   True            Handle Value Indication (O)
297 -------------------------------------------------------------------------------
298 C.2: Mandatory IF TSPC_ATT_4_14 is supported, otherwise Excluded
299 C.3: Mandatory IF TSPC_ATT_4_18 is supported, otherwise Excluded
300 C.4: Mandatory IF TSPC_ATT_4_22 is supported, otherwise Excluded
301 C.5: Mandatory IF TSPC_ATT_4_27 is supported, otherwise Excluded
302 -------------------------------------------------------------------------------
303
304
305                 Attribute Protocol Transport
306 -------------------------------------------------------------------------------
307 Parameter Name  Selected        Description
308 -------------------------------------------------------------------------------
309 TSPC_ATT_5_2    True            LE Security Mode 1 (C.2)
310 TSPC_ATT_5_4    True            LE Authentication Procedure (C.2)
311 TSPC_ATT_5_7    True            LE Authorization Procedure (C.2)
312 -------------------------------------------------------------------------------
313 C.2: Optional to support if 2/2 (Attribute Protocol Supported over LE),
314         otherwise Excluded
315 -------------------------------------------------------------------------------
316
317
318                 Device Configuration
319 -------------------------------------------------------------------------------
320 Parameter Name  Selected        Description
321 -------------------------------------------------------------------------------
322 TSPC_GAP_0_2    True            LE (C.2)
323 -------------------------------------------------------------------------------
324 C.2: Mandatory IF (SUM ICS 34/2 (LE GAP) AND NOT SUM ICS 32/3 (BR/EDR GAP))
325         is supported, otherwise Excluded
326 -------------------------------------------------------------------------------