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. js判断Android和Ios
  2. Android之蓝牙设备使用
  3. js判断Android和Ios
  4. Android(安卓)笔记
  5. Linux/Android——input系统之 kernel层 与 frameworks层交互 (
  6. android 量产软件改动信息(持续更新)
  7. adb shell 命令详解
  8. 【Android】联通性 -- USB从属模式
  9. android in linux 笔记

随机推荐

  1. 推荐10款概述及安装实例
  2. 谈谈dom方式的用法
  3. 推荐10款连接类型实例教程
  4. XDocument函数定义与用法汇总
  5. 谈谈减少垃圾的现状、前景与机遇
  6. 浅谈选单连动实例
  7. 关于XML元素的10篇课程推荐
  8. 方式性能函数定义与用法汇总
  9. XML交互入门教程
  10. XmlTextWriter函数定义与用法汇总