Etienne Ruffieux | 3716ef0 | 2021-12-15 14:03:58 +0000 | [diff] [blame] | 1 | # Copyright (C) 2021 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | module: "android.sysprop.BluetoothProperties" |
| 16 | owner: Platform |
| 17 | |
| 18 | prop { |
| 19 | api_name: "snoop_default_mode" |
| 20 | type: Enum |
Etienne Ruffieux | 2914eb3 | 2022-01-28 00:47:54 +0000 | [diff] [blame] | 21 | scope: Public |
Etienne Ruffieux | 3716ef0 | 2021-12-15 14:03:58 +0000 | [diff] [blame] | 22 | access: ReadWrite |
| 23 | enum_values: "empty|disabled|filtered|full" |
| 24 | prop_name: "persist.bluetooth.btsnoopdefaultmode" |
| 25 | } |
| 26 | |
| 27 | prop { |
| 28 | api_name: "snoop_log_mode" |
| 29 | type: Enum |
Etienne Ruffieux | 2914eb3 | 2022-01-28 00:47:54 +0000 | [diff] [blame] | 30 | scope: Public |
Etienne Ruffieux | 3716ef0 | 2021-12-15 14:03:58 +0000 | [diff] [blame] | 31 | access: ReadWrite |
| 32 | enum_values: "empty|disabled|filtered|full" |
| 33 | prop_name: "persist.bluetooth.btsnooplogmode" |
| 34 | } |
| 35 | |
Jakub | 4b6585b | 2022-11-02 09:28:16 +0000 | [diff] [blame] | 36 | # When snoop_log_mode is set as filtered, this filter truncates ACL packets (non-fragment) |
| 37 | # to fixed (MAX_HCI_ACL_LEN) number of bytes |
| 38 | prop { |
| 39 | api_name: "snoop_log_filter_snoop_headers_enabled" |
| 40 | type: Boolean |
| 41 | scope: Public |
| 42 | access: ReadWrite |
| 43 | prop_name: "persist.bluetooth.snooplogfilter.headers.enabled" |
| 44 | } |
| 45 | |
| 46 | # When snoop_log_mode is set as filtered, this filter discards A2DP media packets (non-split mode) |
| 47 | prop { |
| 48 | api_name: "snoop_log_filter_profile_a2dp_enabled" |
| 49 | type: Boolean |
| 50 | scope: Public |
| 51 | access: ReadWrite |
| 52 | prop_name: "persist.bluetooth.snooplogfilter.profiles.a2dp.enabled" |
| 53 | } |
| 54 | |
| 55 | # When snoop_log_mode is set as filtered, this filters MAP packets based on the filter mode: |
| 56 | # fullfilter - discard whole packet |
| 57 | # header - truncate to fixed length |
| 58 | # magic - fill with a magic string, such as: "PROHIBITED" |
| 59 | prop { |
| 60 | api_name: "snoop_log_filter_profile_map" |
| 61 | type: Enum |
| 62 | scope: Public |
| 63 | access: ReadWrite |
| 64 | enum_values: "empty|disabled|fullfilter|header|magic" |
| 65 | prop_name: "persist.bluetooth.snooplogfilter.profiles.map" |
| 66 | } |
| 67 | |
| 68 | # When snoop_log_mode is set as filtered, this filters PBAP and HFP packets (CPBR, CLCC) |
| 69 | # based on the filter mode: |
| 70 | # fullfilter - discard whole packet |
| 71 | # header - truncate to fixed length |
| 72 | # magic - fill with a magic string, such as: "PROHIBITED" |
| 73 | prop { |
| 74 | api_name: "snoop_log_filter_profile_pbap" |
| 75 | type: Enum |
| 76 | scope: Public |
| 77 | access: ReadWrite |
| 78 | enum_values: "empty|disabled|fullfilter|header|magic" |
| 79 | prop_name: "persist.bluetooth.snooplogfilter.profiles.pbap" |
| 80 | } |
| 81 | |
| 82 | # When snoop_log_mode is set as filtered, this filter truncates RFCOMM UIH packet |
| 83 | # to fixed (L2CAP_HEADER_SIZE) number of bytes |
| 84 | prop { |
| 85 | api_name: "snoop_log_filter_profile_rfcomm_enabled" |
| 86 | type: Boolean |
| 87 | scope: Public |
| 88 | access: ReadWrite |
| 89 | prop_name: "persist.bluetooth.snooplogfilter.profiles.rfcomm.enabled" |
| 90 | } |
| 91 | |
Etienne Ruffieux | 3716ef0 | 2021-12-15 14:03:58 +0000 | [diff] [blame] | 92 | prop { |
| 93 | api_name: "factory_reset" |
| 94 | type: Boolean |
Etienne Ruffieux | 2914eb3 | 2022-01-28 00:47:54 +0000 | [diff] [blame] | 95 | scope: Public |
Etienne Ruffieux | 3716ef0 | 2021-12-15 14:03:58 +0000 | [diff] [blame] | 96 | access: ReadWrite |
| 97 | prop_name: "persist.bluetooth.factoryreset" |
Etienne Ruffieux | 976d330 | 2022-01-12 13:00:59 +0000 | [diff] [blame] | 98 | } |
| 99 | |
| 100 | ######## Bluetooth configurations |
| 101 | |
Dorin Drimus | e9451ae | 2022-04-05 16:38:30 +0000 | [diff] [blame] | 102 | # Whether GAP BLE Privacy (RPA) is enabled on this device. |
| 103 | # Set by vendors overlay, read at Bluetooth initialization |
| 104 | prop { |
| 105 | api_name: "isGapLePrivacyEnabled" |
| 106 | type: Boolean |
| 107 | scope: Public |
| 108 | access: Readonly |
| 109 | prop_name: "bluetooth.core.gap.le.privacy.enabled" |
| 110 | } |
| 111 | |
Dorin Drimus | df859bb | 2022-07-29 18:41:43 +0000 | [diff] [blame] | 112 | # Minimum limit for GAP LE connection update time. |
| 113 | # Set by vendors overlay, read at Bluetooth initialization |
| 114 | prop { |
| 115 | api_name: "getGapLeConnMinLimit" |
| 116 | type: Integer |
| 117 | scope: Public |
| 118 | access: Readonly |
| 119 | prop_name: "bluetooth.core.gap.le.conn.min.limit" |
| 120 | } |
| 121 | |
Ying Hsu | 9e3eb9a | 2022-12-08 09:40:46 +0000 | [diff] [blame] | 122 | # Whether LE Connection with initiating with only LE 1M PHY. |
| 123 | # Set by vendors overlay, read at Bluetooth initialization |
| 124 | prop { |
| 125 | api_name: "isGapLeConnOnlyInit1mPhyEnabled" |
| 126 | type: Boolean |
| 127 | scope: Internal |
| 128 | access: Readonly |
| 129 | prop_name: "bluetooth.core.gap.le.conn.only_init_1m_phy.enabled" |
| 130 | } |
| 131 | |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 132 | # The default name of the device. |
| 133 | # Set by vendors overlay, read at Bluetooth initialization |
| 134 | prop { |
| 135 | api_name: "getDefaultDeviceName" |
| 136 | type: String |
| 137 | scope: Public |
| 138 | access: Readonly |
| 139 | prop_name: "bluetooth.device.default_name" |
| 140 | } |
| 141 | |
| 142 | # The default class of device of the device, represented as a list of exactly 3 unsigned integers. |
| 143 | # Set by vendors overlay, read at Bluetooth initialization |
| 144 | prop { |
| 145 | api_name: "getClassOfDevice" |
| 146 | type: UIntList |
| 147 | scope: Public |
| 148 | access: Readonly |
| 149 | prop_name: "bluetooth.device.class_of_device" |
| 150 | } |
| 151 | |
Rahul Sabnis | 091c41f | 2023-01-17 10:56:36 -0800 | [diff] [blame] | 152 | # The default audio profile for dual mode audio devices for output only audio. The value should be |
| 153 | # the integer value of BluetoothProfile#A2DP (2) or BluetoothProfile#LE_AUDIO (22). If the value is |
| 154 | # set to anything else, LE Audio will be the default. |
| 155 | # Set by vendors overlay, read at Bluetooth initialization |
| 156 | prop { |
| 157 | api_name: "getDefaultOutputOnlyAudioProfile" |
| 158 | type: Integer |
| 159 | scope: Public |
| 160 | access: Readonly |
| 161 | prop_name: "bluetooth.device.default_output_only_audio_profile" |
| 162 | } |
| 163 | |
| 164 | # The default audio profile for dual mode audio devices for duplex (output + input) audio. The |
| 165 | # value should be the integer value of BluetoothProfile#HEADSET (1) or |
| 166 | # BluetoothProfile#LE_AUDIO (22). If the value is set to anything else, LE Audio will be the |
| 167 | # default. |
| 168 | # Set by vendors overlay, read at Bluetooth initialization |
| 169 | prop { |
| 170 | api_name: "getDefaultDuplexAudioProfile" |
| 171 | type: Integer |
| 172 | scope: Public |
| 173 | access: Readonly |
| 174 | prop_name: "bluetooth.device.default_duplex_audio_profile" |
| 175 | } |
| 176 | |
Etienne Ruffieux | 976d330 | 2022-01-12 13:00:59 +0000 | [diff] [blame] | 177 | # Bluetooth operating voltage in millivolts available for vendors overlay. |
| 178 | # Used to calculate Bluetooth power consumption for a specific hardware. |
| 179 | prop { |
| 180 | api_name: "getHardwareOperatingVoltageMv" |
| 181 | type: Integer |
| 182 | scope: Public |
| 183 | access: Readonly |
| 184 | prop_name: "bluetooth.hardware.power.operating_voltage_mv" |
| 185 | } |
| 186 | |
| 187 | # Bluetooth idle current in milliamps available for vendors overlay. |
| 188 | # Used to calculate Bluetooth power consumption for a specific hardware. |
| 189 | prop { |
| 190 | api_name: "getHardwareIdleCurrentMa" |
| 191 | type: Integer |
| 192 | scope: Public |
| 193 | access: Readonly |
| 194 | prop_name: "bluetooth.hardware.power.idle_cur_ma" |
| 195 | } |
| 196 | |
| 197 | # Bluetooth transmit current in milliamps available for vendors overlay. |
| 198 | # Used to calculate Bluetooth power consumption for a specific hardware. |
| 199 | prop { |
| 200 | api_name: "getHardwareTxCurrentMa" |
| 201 | type: Integer |
| 202 | scope: Public |
| 203 | access: Readonly |
| 204 | prop_name: "bluetooth.hardware.power.tx_cur_ma" |
| 205 | } |
| 206 | |
| 207 | # Bluetooth receive current in milliamps available for vendors overlay. |
| 208 | # Used to calculate Bluetooth power consumption for a specific hardware. |
| 209 | prop { |
| 210 | api_name: "getHardwareRxCurrentMa" |
| 211 | type: Integer |
| 212 | scope: Public |
| 213 | access: Readonly |
| 214 | prop_name: "bluetooth.hardware.power.rx_cur_ma" |
| 215 | } |
| 216 | |
Etienne Ruffieux | 6086f2d | 2022-01-28 13:50:37 +0000 | [diff] [blame] | 217 | # Whether Bluetooth should keep its state after reboot. |
| 218 | # Set by vendors overlay, read at Bluetooth initialization |
| 219 | prop { |
| 220 | api_name: "isSupportPersistedStateEnabled" |
| 221 | type: Boolean |
| 222 | scope: Public |
| 223 | access: Readonly |
| 224 | prop_name: "bluetooth.framework.support_persisted_state" |
| 225 | } |
| 226 | |
| 227 | # Whether Bluetooth should keep its state after reboot. |
| 228 | # Set by vendors overlay, read at Bluetooth initialization |
| 229 | prop { |
| 230 | api_name: "isAdapterAddressValidationEnabled" |
| 231 | type: Boolean |
| 232 | scope: Public |
| 233 | access: Readonly |
| 234 | prop_name: "bluetooth.framework.adapter_address_validation" |
| 235 | } |
| 236 | |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 237 | # Whether the Advanced Audio Distribution Profile (A2DP) Sink role is enabled on this device. |
| 238 | # Set by vendors overlay, read at Bluetooth initialization |
Etienne Ruffieux | 976d330 | 2022-01-12 13:00:59 +0000 | [diff] [blame] | 239 | prop { |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 240 | api_name: "isProfileA2dpSinkEnabled" |
Etienne Ruffieux | 976d330 | 2022-01-12 13:00:59 +0000 | [diff] [blame] | 241 | type: Boolean |
| 242 | scope: Public |
| 243 | access: Readonly |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 244 | prop_name: "bluetooth.profile.a2dp.sink.enabled" |
| 245 | } |
| 246 | |
| 247 | # Whether the Advanced Audio Distribution Profile (A2DP) Source role is enabled on this device. |
| 248 | # Set by vendors overlay, read at Bluetooth initialization |
| 249 | prop { |
| 250 | api_name: "isProfileA2dpSourceEnabled" |
| 251 | type: Boolean |
| 252 | scope: Public |
| 253 | access: Readonly |
| 254 | prop_name: "bluetooth.profile.a2dp.source.enabled" |
| 255 | } |
| 256 | |
| 257 | # Whether the Android defined Audio Support for Hearing Aids (ASHA) central role over is enabled on |
| 258 | # this device. Set by vendors overlay, read at Bluetooth initialization. |
| 259 | prop { |
| 260 | api_name: "isProfileAshaCentralEnabled" |
| 261 | type: Boolean |
| 262 | scope: Public |
| 263 | access: Readonly |
| 264 | prop_name: "bluetooth.profile.asha.central.enabled" |
| 265 | } |
| 266 | |
| 267 | # Whether the Audio/Video Remote Control Profile (AVRCP) Controller role is enabled on this device. |
| 268 | # Set by vendors overlay, read at Bluetooth initialization |
| 269 | prop { |
| 270 | api_name: "isProfileAvrcpControllerEnabled" |
| 271 | type: Boolean |
| 272 | scope: Public |
| 273 | access: Readonly |
| 274 | prop_name: "bluetooth.profile.avrcp.controller.enabled" |
| 275 | } |
| 276 | |
| 277 | # Whether the Audio/Video Remote Control Profile (AVRCP) Target role is enabled on this device. |
| 278 | # Set by vendors overlay, read at Bluetooth initialization |
| 279 | prop { |
| 280 | api_name: "isProfileAvrcpTargetEnabled" |
| 281 | type: Boolean |
| 282 | scope: Public |
| 283 | access: Readonly |
| 284 | prop_name: "bluetooth.profile.avrcp.target.enabled" |
| 285 | } |
| 286 | |
| 287 | # Whether the Basic Audio Profile (BAP) broadcast assist role is enabled on this device. |
| 288 | # Set by vendors overlay, read at Bluetooth initialization |
| 289 | prop { |
| 290 | api_name: "isProfileBapBroadcastAssistEnabled" |
| 291 | type: Boolean |
| 292 | scope: Public |
| 293 | access: Readonly |
| 294 | prop_name: "bluetooth.profile.bap.broadcast.assist.enabled" |
| 295 | } |
| 296 | |
| 297 | # Whether the Basic Audio Profile (BAP) broadcast source role is enabled on this device. |
| 298 | # Set by vendors overlay, read at Bluetooth initialization |
| 299 | prop { |
| 300 | api_name: "isProfileBapBroadcastSourceEnabled" |
| 301 | type: Boolean |
| 302 | scope: Public |
| 303 | access: Readonly |
| 304 | prop_name: "bluetooth.profile.bap.broadcast.source.enabled" |
| 305 | } |
| 306 | |
Sal Savage | 11d5668 | 2022-04-07 11:20:10 -0700 | [diff] [blame] | 307 | # Whether the Basic Audio Profile (BAP) unicast client role is enabled on this device. |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 308 | # Set by vendors overlay, read at Bluetooth initialization |
| 309 | prop { |
Sal Savage | 11d5668 | 2022-04-07 11:20:10 -0700 | [diff] [blame] | 310 | api_name: "isProfileBapUnicastClientEnabled" |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 311 | type: Boolean |
| 312 | scope: Public |
| 313 | access: Readonly |
Sal Savage | 11d5668 | 2022-04-07 11:20:10 -0700 | [diff] [blame] | 314 | prop_name: "bluetooth.profile.bap.unicast.client.enabled" |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 315 | } |
| 316 | |
Sal Savage | a0309b0 | 2022-03-12 12:44:40 -0800 | [diff] [blame] | 317 | # Whether the Battery Service profile (BAS) client role is enabled on this device. |
| 318 | # Set by vendors overlay, read at Bluetooth initialization |
| 319 | prop { |
| 320 | api_name: "isProfileBasClientEnabled" |
| 321 | type: Boolean |
| 322 | scope: Public |
| 323 | access: Readonly |
| 324 | prop_name: "bluetooth.profile.bas.client.enabled" |
| 325 | } |
| 326 | |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 327 | # Whether the Broadcast Audio Scan Service profile (BASS) client role is enabled on this device. |
| 328 | # Set by vendors overlay, read at Bluetooth initialization |
| 329 | prop { |
| 330 | api_name: "isProfileBassClientEnabled" |
| 331 | type: Boolean |
| 332 | scope: Public |
| 333 | access: Readonly |
| 334 | prop_name: "bluetooth.profile.bass.client.enabled" |
| 335 | } |
| 336 | |
| 337 | # Whether the Coordinated Set Indentification Profile (CSIP) set coordinator role is enabled on this |
| 338 | # device. Set by vendors overlay, read at Bluetooth initialization |
| 339 | prop { |
| 340 | api_name: "isProfileCsipSetCoordinatorEnabled" |
| 341 | type: Boolean |
| 342 | scope: Public |
| 343 | access: Readonly |
| 344 | prop_name: "bluetooth.profile.csip.set_coordinator.enabled" |
| 345 | } |
| 346 | |
| 347 | # Whether the Generic Attribute Profile (GATT) is enabled on this device. |
| 348 | # Set by vendors overlay, read at Bluetooth initialization |
| 349 | prop { |
| 350 | api_name: "isProfileGattEnabled" |
| 351 | type: Boolean |
| 352 | scope: Public |
| 353 | access: Readonly |
| 354 | prop_name: "bluetooth.profile.gatt.enabled" |
| 355 | } |
| 356 | |
| 357 | # Whether the Hearing Aid Profile (HAP) client role is enabled on this device. |
| 358 | # Set by vendors overlay, read at Bluetooth initialization |
| 359 | prop { |
| 360 | api_name: "isProfileHapClientEnabled" |
| 361 | type: Boolean |
| 362 | scope: Public |
| 363 | access: Readonly |
| 364 | prop_name: "bluetooth.profile.hap.client.enabled" |
| 365 | } |
| 366 | |
| 367 | # Whether the Hands-Free Profile (HFP) Audio Gateway role is enabled on this device. |
| 368 | # Set by vendors overlay, read at Bluetooth initialization |
| 369 | prop { |
| 370 | api_name: "isProfileHfpAgEnabled" |
| 371 | type: Boolean |
| 372 | scope: Public |
| 373 | access: Readonly |
| 374 | prop_name: "bluetooth.profile.hfp.ag.enabled" |
| 375 | } |
| 376 | |
| 377 | # Whether the Hands-Free Profile (HFP) Hands-free role is enabled on this device. |
| 378 | # Set by vendors overlay, read at Bluetooth initialization |
| 379 | prop { |
| 380 | api_name: "isProfileHfpHfEnabled" |
| 381 | type: Boolean |
| 382 | scope: Public |
| 383 | access: Readonly |
| 384 | prop_name: "bluetooth.profile.hfp.hf.enabled" |
| 385 | } |
| 386 | |
| 387 | # Whether the Human Interface Device Profile (HID) device role is enabled on this device. |
| 388 | # Set by vendors overlay, read at Bluetooth initialization |
| 389 | prop { |
| 390 | api_name: "isProfileHidDeviceEnabled" |
| 391 | type: Boolean |
| 392 | scope: Public |
| 393 | access: Readonly |
| 394 | prop_name: "bluetooth.profile.hid.device.enabled" |
| 395 | } |
| 396 | |
| 397 | # Whether the Human Interface Device Profile (HID) host role is enabled on this device. |
| 398 | # Set by vendors overlay, read at Bluetooth initialization |
| 399 | prop { |
| 400 | api_name: "isProfileHidHostEnabled" |
| 401 | type: Boolean |
| 402 | scope: Public |
| 403 | access: Readonly |
| 404 | prop_name: "bluetooth.profile.hid.host.enabled" |
| 405 | } |
| 406 | |
| 407 | # Whether the Message Access Profile (MAP) Client role is enabled on this device. |
| 408 | # Set by vendors overlay, read at Bluetooth initialization |
| 409 | prop { |
| 410 | api_name: "isProfileMapClientEnabled" |
| 411 | type: Boolean |
| 412 | scope: Public |
| 413 | access: Readonly |
| 414 | prop_name: "bluetooth.profile.map.client.enabled" |
| 415 | } |
| 416 | |
| 417 | # Whether the Message Access Profile (MAP) Server role is enabled on this device. |
| 418 | # Set by vendors overlay, read at Bluetooth initialization |
| 419 | prop { |
| 420 | api_name: "isProfileMapServerEnabled" |
| 421 | type: Boolean |
| 422 | scope: Public |
| 423 | access: Readonly |
| 424 | prop_name: "bluetooth.profile.map.server.enabled" |
| 425 | } |
| 426 | |
| 427 | # Whether the Media Control Profile (MCP) server role is enabled on this device. |
| 428 | # Set by vendors overlay, read at Bluetooth initialization |
| 429 | prop { |
| 430 | api_name: "isProfileMcpServerEnabled" |
| 431 | type: Boolean |
| 432 | scope: Public |
| 433 | access: Readonly |
| 434 | prop_name: "bluetooth.profile.mcp.server.enabled" |
| 435 | } |
| 436 | |
| 437 | # Whether the Object Push Profile (OPP) is enabled on this device. The implementation of OPP |
| 438 | # supports both client and server roles. Set by vendors overlay, read at Bluetooth initialization |
| 439 | prop { |
| 440 | api_name: "isProfileOppEnabled" |
| 441 | type: Boolean |
| 442 | scope: Public |
| 443 | access: Readonly |
| 444 | prop_name: "bluetooth.profile.opp.enabled" |
| 445 | } |
| 446 | |
| 447 | # Whether the Personal Area Networking Profile (PAN) NAP role is enabled on this device. |
| 448 | # Set by vendors overlay, read at Bluetooth initialization |
| 449 | prop { |
| 450 | api_name: "isProfilePanNapEnabled" |
| 451 | type: Boolean |
| 452 | scope: Public |
| 453 | access: Readonly |
| 454 | prop_name: "bluetooth.profile.pan.nap.enabled" |
| 455 | } |
| 456 | |
| 457 | # Whether the Personal Area Networking Profile (PAN) PANU role is enabled on this device. |
| 458 | # Set by vendors overlay, read at Bluetooth initialization |
| 459 | prop { |
| 460 | api_name: "isProfilePanPanuEnabled" |
| 461 | type: Boolean |
| 462 | scope: Public |
| 463 | access: Readonly |
| 464 | prop_name: "bluetooth.profile.pan.panu.enabled" |
| 465 | } |
| 466 | |
| 467 | # Whether the Phonebook Access Profile (PBAP) client role is enabled on this device. |
| 468 | # Set by vendors overlay, read at Bluetooth initialization |
| 469 | prop { |
| 470 | api_name: "isProfilePbapClientEnabled" |
| 471 | type: Boolean |
| 472 | scope: Public |
| 473 | access: Readonly |
| 474 | prop_name: "bluetooth.profile.pbap.client.enabled" |
| 475 | } |
| 476 | |
| 477 | # Whether the Phonebook Access Profile (PBAP) server role is enabled on this device. |
| 478 | # Set by vendors overlay, read at Bluetooth initialization |
| 479 | prop { |
| 480 | api_name: "isProfilePbapServerEnabled" |
| 481 | type: Boolean |
| 482 | scope: Public |
| 483 | access: Readonly |
| 484 | prop_name: "bluetooth.profile.pbap.server.enabled" |
| 485 | } |
| 486 | |
| 487 | # Whether the SIM Access Profile (SAP) server is enabled on this device. |
| 488 | # Set by vendors overlay, read at Bluetooth initialization |
| 489 | prop { |
| 490 | api_name: "isProfileSapServerEnabled" |
| 491 | type: Boolean |
| 492 | scope: Public |
| 493 | access: Readonly |
| 494 | prop_name: "bluetooth.profile.sap.server.enabled" |
| 495 | } |
| 496 | |
Sal Savage | 11d5668 | 2022-04-07 11:20:10 -0700 | [diff] [blame] | 497 | # Whether the Call Control Profile (CCP) server role is enabled on this device. |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 498 | # Set by vendors overlay, read at Bluetooth initialization |
| 499 | prop { |
Sal Savage | 11d5668 | 2022-04-07 11:20:10 -0700 | [diff] [blame] | 500 | api_name: "isProfileCcpServerEnabled" |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 501 | type: Boolean |
| 502 | scope: Public |
| 503 | access: Readonly |
Sal Savage | 11d5668 | 2022-04-07 11:20:10 -0700 | [diff] [blame] | 504 | prop_name: "bluetooth.profile.ccp.server.enabled" |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 505 | } |
| 506 | |
Sal Savage | 11d5668 | 2022-04-07 11:20:10 -0700 | [diff] [blame] | 507 | # Whether the Volume Control Profile (VCP) controller role is enabled on this device. |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 508 | # Set by vendors overlay, read at Bluetooth initialization |
| 509 | prop { |
Sal Savage | 11d5668 | 2022-04-07 11:20:10 -0700 | [diff] [blame] | 510 | api_name: "isProfileVcpControllerEnabled" |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 511 | type: Boolean |
| 512 | scope: Public |
| 513 | access: Readonly |
Sal Savage | 11d5668 | 2022-04-07 11:20:10 -0700 | [diff] [blame] | 514 | prop_name: "bluetooth.profile.vcp.controller.enabled" |
Sal Savage | 88de6de | 2022-01-13 13:50:17 -0800 | [diff] [blame] | 515 | } |
Katherine Lai | 0fa7e5a | 2022-07-14 23:04:21 +0000 | [diff] [blame] | 516 | |
| 517 | # ACL Link supervision timeout |
| 518 | prop { |
| 519 | api_name: "getLinkSupervisionTimeout" |
| 520 | type: UInt |
| 521 | scope: Internal |
| 522 | access: Readonly |
| 523 | prop_name: "bluetooth.core.acl.link_supervision_timeout" |
| 524 | } |
| 525 | |
| 526 | # The following values are used to load default adapter parameters for BR/EDR. |
| 527 | # The Bluetooth Core Specification should be consulted for the meaning and valid |
| 528 | # domain of each of these values. |
| 529 | |
| 530 | # BR/EDR Page scan activity configuration |
| 531 | prop { |
| 532 | api_name: "getClassicPageScanType" |
| 533 | type: UInt |
| 534 | scope: Internal |
| 535 | access: Readonly |
| 536 | prop_name: "bluetooth.core.classic.page_scan_type" |
| 537 | } |
| 538 | prop { |
| 539 | api_name: "getClassicPageScanInterval" |
| 540 | type: UInt |
| 541 | scope: Internal |
| 542 | access: Readonly |
| 543 | prop_name: "bluetooth.core.classic.page_scan_interval" |
| 544 | } |
| 545 | prop { |
| 546 | api_name: "getClassicPageScanWindow" |
| 547 | type: UInt |
| 548 | scope: Internal |
| 549 | access: Readonly |
| 550 | prop_name: "bluetooth.core.classic.page_scan_window" |
| 551 | } |
| 552 | |
| 553 | # BR/EDR Inquiry scan activity configuration |
| 554 | prop { |
| 555 | api_name: "getClassicInquiryScanType" |
| 556 | type: UInt |
| 557 | scope: Internal |
| 558 | access: Readonly |
| 559 | prop_name: "bluetooth.core.classic.inq_scan_type" |
| 560 | } |
| 561 | prop { |
| 562 | api_name: "getClassicInquiryScanInterval" |
| 563 | type: UInt |
| 564 | scope: Internal |
| 565 | access: Readonly |
| 566 | prop_name: "bluetooth.core.classic.inq_scan_interval" |
| 567 | } |
| 568 | prop { |
| 569 | api_name: "getClassicInquiryScanWindow" |
| 570 | type: UInt |
| 571 | scope: Internal |
| 572 | access: Readonly |
| 573 | prop_name: "bluetooth.core.classic.inq_scan_window" |
| 574 | } |
| 575 | |
| 576 | # BR/EDR Page Timeout |
| 577 | prop { |
| 578 | api_name: "getClassicPageTimeout" |
| 579 | type: UInt |
| 580 | scope: Internal |
| 581 | access: Readonly |
| 582 | prop_name: "bluetooth.core.classic.page_timeout" |
Katherine Lai | d9727d5 | 2022-08-09 22:42:15 +0000 | [diff] [blame] | 583 | } |
| 584 | |
| 585 | # BR/EDR Sniff Parameters |
| 586 | # Please refer to BTA_DM_PM_PARK_IDX in bta_api.h to determine how many |
| 587 | # entries are currently being supported. |
| 588 | # The SNIFF table entries must be in the order from highest latency (biggest |
| 589 | # interval) to lowest latency. If there's a conflict among the connected |
| 590 | # services, the setting with lowest latency wins. |
| 591 | prop { |
| 592 | api_name: "getClassicSniffMaxIntervals" |
| 593 | type: UIntList |
| 594 | scope: Internal |
| 595 | access: Readonly |
| 596 | prop_name: "bluetooth.core.classic.sniff_max_intervals" |
| 597 | } |
| 598 | prop { |
| 599 | api_name: "getClassicSniffMinIntervals" |
| 600 | type: UIntList |
| 601 | scope: Internal |
| 602 | access: Readonly |
| 603 | prop_name: "bluetooth.core.classic.sniff_min_intervals" |
| 604 | } |
| 605 | prop { |
| 606 | api_name: "getClassicSniffAttempts" |
| 607 | type: UIntList |
| 608 | scope: Internal |
| 609 | access: Readonly |
| 610 | prop_name: "bluetooth.core.classic.sniff_attempts" |
| 611 | } |
| 612 | prop { |
| 613 | api_name: "getClassicSniffTimeouts" |
| 614 | type: UIntList |
| 615 | scope: Internal |
| 616 | access: Readonly |
| 617 | prop_name: "bluetooth.core.classic.sniff_timeouts" |
| 618 | } |
| 619 | |
| 620 | # The following values are used to load default adapter parameters for LE. |
| 621 | # The Bluetooth Core Specification should be consulted for the meaning and valid |
| 622 | # domain of each of these values. |
| 623 | |
| 624 | # LE connection parameters. |
| 625 | prop { |
| 626 | api_name: "getLeMinConnectionInterval" |
| 627 | type: UInt |
| 628 | scope: Internal |
| 629 | access: Readonly |
| 630 | prop_name: "bluetooth.core.le.min_connection_interval" |
| 631 | } |
| 632 | prop { |
| 633 | api_name: "getLeMaxConnectionInterval" |
| 634 | type: UInt |
| 635 | scope: Internal |
| 636 | access: Readonly |
| 637 | prop_name: "bluetooth.core.le.max_connection_interval" |
| 638 | } |
| 639 | prop { |
| 640 | api_name: "getLeConnectionLatency" |
| 641 | type: UInt |
| 642 | scope: Internal |
| 643 | access: Readonly |
| 644 | prop_name: "bluetooth.core.le.connection_latency" |
| 645 | } |
| 646 | prop { |
| 647 | api_name: "getLeConnectionSupervisionTimeout" |
| 648 | type: UInt |
| 649 | scope: Internal |
| 650 | access: Readonly |
| 651 | prop_name: "bluetooth.core.le.connection_supervision_timeout" |
| 652 | } |
| 653 | |
| 654 | # Direct connection timeout in ms |
| 655 | prop { |
| 656 | api_name: "getLeDirectConnectionTimeout" |
| 657 | type: UInt |
| 658 | scope: Internal |
| 659 | access: Readonly |
| 660 | prop_name: "bluetooth.core.le.direct_connection_timeout" |
| 661 | } |
| 662 | |
| 663 | # LE connection scan interval/window |
| 664 | prop { |
| 665 | api_name: "getLeConnectionScanIntervalFast" |
| 666 | type: UInt |
| 667 | scope: Internal |
| 668 | access: Readonly |
| 669 | prop_name: "bluetooth.core.le.connection_scan_interval_fast" |
| 670 | } |
| 671 | prop { |
| 672 | api_name: "getLeConnectionScanWindowFast" |
| 673 | type: UInt |
| 674 | scope: Internal |
| 675 | access: Readonly |
| 676 | prop_name: "bluetooth.core.le.connection_scan_window_fast" |
| 677 | } |
| 678 | prop { |
| 679 | api_name: "getLeConnectionScanWindow2mFast" |
| 680 | type: UInt |
| 681 | scope: Internal |
| 682 | access: Readonly |
| 683 | prop_name: "bluetooth.core.le.connection_scan_window_2m_fast" |
| 684 | } |
| 685 | prop { |
| 686 | api_name: "getLeConnectionScanWindowCodedFast" |
| 687 | type: UInt |
| 688 | scope: Internal |
| 689 | access: Readonly |
| 690 | prop_name: "bluetooth.core.le.connection_scan_window_coded_fast" |
| 691 | } |
| 692 | prop { |
| 693 | api_name: "getLeConnectionScanIntervalSlow" |
| 694 | type: UInt |
| 695 | scope: Internal |
| 696 | access: Readonly |
| 697 | prop_name: "bluetooth.core.le.connection_scan_interval_slow" |
| 698 | } |
| 699 | prop { |
| 700 | api_name: "getLeConnectionScanWindowSlow" |
| 701 | type: UInt |
| 702 | scope: Internal |
| 703 | access: Readonly |
| 704 | prop_name: "bluetooth.core.le.connection_scan_window_slow" |
Katherine Lai | 43ef650 | 2022-09-09 20:41:14 +0000 | [diff] [blame] | 705 | } |
| 706 | |
| 707 | # LE scanning parameters used during BTM inquiry |
| 708 | prop { |
| 709 | api_name: "getLeInquiryScanInterval" |
| 710 | type: UInt |
| 711 | scope: Internal |
| 712 | access: Readonly |
| 713 | prop_name: "bluetooth.core.le.inquiry_scan_interval" |
| 714 | } |
| 715 | prop { |
| 716 | api_name: "getLeInquiryScanWindow" |
| 717 | type: UInt |
| 718 | scope: Internal |
| 719 | access: Readonly |
| 720 | prop_name: "bluetooth.core.le.inquiry_scan_window" |
Katherine Lai | e40940a | 2022-10-31 17:55:30 +0000 | [diff] [blame] | 721 | } |
| 722 | |
Abhishek Pandit-Subedi | f809e44 | 2023-01-26 16:13:24 -0800 | [diff] [blame] | 723 | # Used to disable LeGetVendorCapabilities. |
| 724 | prop { |
| 725 | api_name: "getLeVendorCapabilitiesEnabled" |
| 726 | type: Boolean |
| 727 | scope: Internal |
| 728 | access: Readonly |
| 729 | prop_name: "bluetooth.core.le.vendor_capabilities.enabled" |
| 730 | } |
| 731 | |
Katherine Lai | e40940a | 2022-10-31 17:55:30 +0000 | [diff] [blame] | 732 | # Used to disable enhanced SCO connection |
| 733 | prop { |
| 734 | api_name: "getDisableEnchancedConnection" |
| 735 | type: Boolean |
| 736 | scope: Internal |
| 737 | access: Readonly |
| 738 | prop_name: "bluetooth.sco.disable_enhanced_connection" |
Ying Hsu | 9e3eb9a | 2022-12-08 09:40:46 +0000 | [diff] [blame] | 739 | } |