android(根目录)/system/bluetooth/data/main.conf

main.conf 文件

[General]

# List of plugins that should not be loaded on bluetoothd startup
#DisablePlugins = network,input

# Default adaper name
# %h - substituted for hostname
# %d - substituted for adapter id
# %b - substituted for ro.product.brand
# %m - substituted for ro.product.model
# %n - substituted for ro.product.name


# Default device class. Only the major and minor device class bits are
# considered.
# Local device class
# 0x400000 - Service class: Telephony
# 0x000200 - Major class: Phone
# 0x00000C - Minor class: Smart phone
Class = 0x40020C

# How long to stay in discoverable mode before going back to non-discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
DiscoverableTimeout = 120

# How long to stay in pairable mode before going back to non-discoverable
# The value is in seconds. Default is 0.
# 0 = disable timer, i.e. stay pairable forever
PairableTimeout = 0

# Use some other page timeout than the controller default one
# which is 16384 (10 seconds).
PageTimeout = 8192

# Discover scheduler interval used in Adapter.DiscoverDevices
# The value is in seconds. Defaults is 0 to use controller scheduler.
DiscoverSchedulerInterval = 1

# What value should be assumed for the adapter Powered property when
# SetProperty(Powered, ...) hasn't been called yet. Defaults to true
InitiallyPowered = true

# Remember the previously stored Powered state when initializing adapters
RememberPowered = true

# Use vendor, product and version information for DID profile support.
# The values are separated by ":" and VID, PID and version.
DeviceID = android:generic:1.5

# Do reverse service discovery for previously unknown devices that connect to
# us. This option is really only needed for qualification since the BITE tester
# doesn't like us doing reverse SDP for some test cases (though there could in
# theory be other useful purposes for this too). Defaults to true.
ReverseServiceDiscovery = true

# Enable name resolving after inquiry. Set it to 'false' if you don't need
# remote devices name and want shorter discovery cycle. Defaults to 'true'.
NameResolving = true


Name= 设备名字

更改设备名字就会有发现setting 里的bluetooth 已经更改。

更多相关文章

  1. Android之蓝牙设备使用
  2. adb通过wifi连接android设备的方法
  3. 通过JavaScript或PHP检测Android设备
  4. Android设备唯一标识符(适配Android Q)
  5. Android获取存储设备挂载路径
  6. Android有两种方法检测USB设备插入
  7. 【Android开发学习01】与Android实体设备的连接
  8. android基础知识17:Android设备常见问题与测试要领

随机推荐

  1. Android: 屏幕截图
  2. Android中数据的保存和提取
  3. Android中和service进行本地通讯
  4. Android(安卓)如何获取最顶端的Top Activ
  5. Different ways to access HTTP resource
  6. Android之canvas详解
  7. 调试android ethernet 的常用命令
  8. Android(安卓)Studio实现Activity生命周
  9. android ndk知识汇总
  10. android TextView 如何实现消息滚动