1# The default Bluetooth Class of Device 2# 3# Bluetooth uses "format 1" for class of device, which consists of 4 fields: 4# * Major Service Class 5# * Major Device Class 6# * Minor Device Class 7# * Format indicator (Fixed: 0b00) 8# 9# Class of device is represented by a 3-tuple. However, each value in the tuple does 10# *NOT* correspond to a field. Instead, class of device is stored internally as 24 bits, 11# and each value in the tuple corresponds to an octet. 12# 13# Format (24 Bits): 14# Service Major Minor fmt 15# (11 bits) (5 bits) (6 bits) 0b00 16# |23 13|12 8|7 2|1 0| 17# |<------------------->|<------->|<--------->|<->| 18# |0|0|1|0|0|1|1|0|0|0|0|0|0|1|0|0|0|0|1|0|0|0|0|0| 19# |<------------->|<------------->|<------------->| 20# |23 16|15 8|7 0| 21# | octet[0] = 38 | octet[1] = 4 | octet[2] = 32 | 22# 23# Major Service Class: 24# - Bit 21: Audio 25# - Bit 18: Rendering 26# - Bit 17: Networking 27# Major Device Class: 28# - Bit 10: Audio / Video 29# Minor Device Class: 30# - Bit 5: Car Audio 31# Format Bits (Fixed): 0b00 -> "Format 1" 32bluetooth.device.class_of_device=38,4,32 33 34# The Bluetooth profiles that cars expect to have enabled. All other profiles 35# are disabled by default. 36bluetooth.profile.a2dp.sink.enabled=true 37bluetooth.profile.avrcp.controller.enabled=true 38bluetooth.profile.a2dp.source.enabled=true 39bluetooth.profile.avrcp.target.enabled=true 40bluetooth.profile.gatt.enabled=true 41bluetooth.profile.hfp.hf.enabled=true 42bluetooth.profile.map.client.enabled=true 43bluetooth.profile.pan.nap.enabled=true 44bluetooth.profile.pan.panu.enabled=true 45bluetooth.profile.pbap.client.enabled=true 46 47# This property disables checking for link encryption when using an LE link 48# that doesn't immediaely require it. It typically results in redundant 49# Security Requests, that lead to pairing prompts and bond loss. This impacts 50# classic, LE, and Fast Pair bonding. 51bluetooth.gatt.check_encrypted_link.enabled=false 52 53# Enable art cover for a2dp source. 54persist.bluetooth.avrcpversion=avrcp16 55persist.bluetooth.avrcpcontrolversion=avrcp16 56