蓝牙通用外观设置

news/2024/10/18 14:21:03/

蓝牙通用外观设置

在这里插入图片描述
在开发蓝牙设备时,需要设置蓝牙设备的外观,在代码中,通常这个关键字为appearance需要设置一个值,对于非通用设备,这个值一般为:0,对于是通用设备那么他是存在外观图标的,如键盘、鼠标等。

961//设置外观为键盘

<Format>16bit</Format>
<Enumerations>
<Enumeration key="0" value="Unknown" description="None"/>
<Enumeration key="64" value="Generic Phone" description="Generic category"/>
<Enumeration key="128" value="Generic Computer" description="Generic category"/>
<Enumeration key="192" value="Generic Watch" description="Generic category"/>
<Enumeration key="193" value="Watch: Sports Watch" description="Watch subtype"/>
<Enumeration key="256" value="Generic Clock" description="Generic category"/>
<Enumeration key="320" value="Generic Display" description="Generic category"/>
<Enumeration key="384" value="Generic Remote Control" description="Generic category"/>
<Enumeration key="448" value="Generic Eye-glasses" description="Generic category"/>
<Enumeration key="512" value="Generic Tag" description="Generic category"/>
<Enumeration key="576" value="Generic Keyring" description="Generic category"/>
<Enumeration key="640" value="Generic Media Player" description="Generic category"/>
<Enumeration key="704" value="Generic Barcode Scanner" description="Generic category"/>
<Enumeration key="768" value="Generic Thermometer" description="Generic category"/>
<Enumeration key="769" value="Thermometer: Ear" description="Thermometer subtype"/>
<Enumeration key="832" value="Generic Heart rate Sensor" description="Generic category"/>
<Enumeration key="833" value="Heart Rate Sensor: Heart Rate Belt" description="Heart Rate Sensor subtype"/>
<!--  Added Blood pressure support on December 09, 2011  -->
<Enumeration key="896" value="Generic Blood Pressure" description="Generic category"/>
<Enumeration key="897" value="Blood Pressure: Arm" description="Blood Pressure subtype"/>
<Enumeration key="898" value="Blood Pressure: Wrist" description="Blood Pressure subtype"/>
<!--  Added HID Related appearance values on January 03, 2012 approved by BARB  -->
<Enumeration key="960" value="Human Interface Device (HID)" description="HID Generic"/>
<Enumeration key="961" value="Keyboard" description="HID subtype"/>
<Enumeration key="962" value="Mouse" description="HID subtype"/>
<Enumeration key="963" value="Joystick" description="HID subtype"/>
<Enumeration key="964" value="Gamepad" description="HID subtype"/>
<Enumeration key="965" value="Digitizer Tablet" description="HID subtype"/>
<Enumeration key="966" value="Card Reader" description="HID subtype"/>
<Enumeration key="967" value="Digital Pen" description="HID subtype"/>
<Enumeration key="968" value="Barcode Scanner" description="HID subtype"/>
<!--  Added Generic Glucose Meter value on May 10, 2012 approved by BARB  -->
<Enumeration key="1024" value="Generic Glucose Meter" description="Generic category"/>
<!--  Added additional appearance values on June 26th, 2012 approved by BARB  -->
<Enumeration key="1088" value="Generic: Running Walking Sensor" description="Generic category"/>
<Enumeration key="1089" value="Running Walking Sensor: In-Shoe" description="Running Walking Sensor subtype"/>
<Enumeration key="1090" value="Running Walking Sensor: On-Shoe" description="Running Walking Sensor subtype"/>
<Enumeration key="1091" value="Running Walking Sensor: On-Hip" description="Running Walking Sensor subtype"/>
<Enumeration key="1152" value="Generic: Cycling" description="Generic category"/>
<Enumeration key="1153" value="Cycling: Cycling Computer" description="Cycling subtype"/>
<Enumeration key="1154" value="Cycling: Speed Sensor" description="Cycling subtype"/>
<Enumeration key="1155" value="Cycling: Cadence Sensor" description="Cycling subtype"/>
<Enumeration key="1156" value="Cycling: Power Sensor" description="Cycling subtype"/>
<Enumeration key="1157" value="Cycling: Speed and Cadence Sensor" description="Cycling subtype"/>
<!--  Added appearance values for Pulse Oximeter on July 30th, 2013 approved by BARB  -->
<Enumeration key="3136" value="Generic: Pulse Oximeter" description="Pulse Oximeter Generic Category"/>
<Enumeration key="3137" value="Fingertip" description="Pulse Oximeter subtype"/>
<Enumeration key="3138" value="Wrist Worn" description="Pulse Oximeter subtype"/>
<!--  Added appearance values for Generic Weight Scale on May 21, 2014 approved by BARB  -->
<Enumeration key="3200" value="Generic: Weight Scale" description="Weight Scale Generic Category"/>
<!--  Added additional appearance values on October 2nd, 2016 approved by BARB  -->
<Enumeration key="3264" value="Generic Personal Mobility Device" description="Personal Mobility Device"/>
<Enumeration key="3265" value="Powered Wheelchair" description="Personal Mobility Device"/>
<Enumeration key="3266" value="Mobility Scooter" description="Personal Mobility Device"/>
<Enumeration key="3328" value="Generic Continuous Glucose Monitor" description="Continuous Glucose Monitor"/>
<!--  Added additional appearance values on February 1st, 2018 approved by BARB  -->
<Enumeration key="3392" value="Generic Insulin Pump" description="Insulin Pump"/>
<Enumeration key="3393" value="Insulin Pump, durable pump" description="Insulin Pump"/>
<Enumeration key="3396" value="Insulin Pump, patch pump" description="Insulin Pump"/>
<Enumeration key="3400" value="Insulin Pen" description="Insulin Pump"/>
<Enumeration key="3456" value="Generic Medication Delivery" description="Medication Delivery"/>
<!--  Added appearance values for L&N on July 30th, 2013 approved by BARB  -->
<Enumeration key="5184" value="Generic: Outdoor Sports Activity" description="Outdoor Sports Activity Generic Category"/>
<Enumeration key="5185" value="Location Display Device" description="Outdoor Sports Activity subtype"/>
<Enumeration key="5186" value="Location and Navigation Display Device" description="Outdoor Sports Activity subtype"/>
<Enumeration key="5187" value="Location Pod" description="Outdoor Sports Activity subtype"/>
<Enumeration key="5188" value="Location and Navigation Pod" description="Outdoor Sports Activity subtype"/>
<!--  Added appearance values for Generic Environmental Sensor on May 21, 2014 approved by BARB <Enumeration key="5696" value="Generic: Environmental Sensor" description="Environmental Sensor Generic Category" /> -->
</Enumerations>

http://www.ppmy.cn/news/836869.html

相关文章

ventura 双系统win之间切换蓝牙设备自动连接教程

ventura 双系统win之间切换蓝牙设备自动连接教程 见论坛有小伙伴在咨询ventura跟win双系统切换蓝牙鼠标无法自动连接上的问题&#xff0c;现在说说具体怎么设置才能实现双系统互换自动连接的教程&#xff0c;之前论坛上已经有大神发过类似的&#xff0c;并非原创&#xff0c;ve…

Android 9 原生设置关于蓝牙设置(五)

蓝牙配对及A2DP连接 参考&#xff1a;蓝牙配置流程 当点击设置界面的某个蓝牙设备时会调用DeviceListPreferenceFragment里面&#xff1a; 最终调用BluetoothDevicePreference.onClicked()&#xff0c;主要代码如下&#xff1a; 上面的逻辑里会根据不同的情况执行不同的…

手机蓝牙控制开关

先讲一下整体思路哈&#xff01;手机肯定不能直接控制台灯的&#xff0c;需要一个中间物来协调&#xff0c;在这里我用的是51单片机&#xff08;如果大家不知道也没关系&#xff0c;下面我还会说的&#xff09;。接下来就是具体怎么控制的&#xff0c;其实原理挺简单的。1.手机…

算法-快速排序

go快速排序 时间复杂度:O(n) 空间复杂度:O(Nlog2n) 不稳定,较复杂 过程: 1、设置一个基点,通常为最左边或最右边,下面设置为最左边,设置设置两个指针分别指向数组两端 2、先移动右边指针,如果小于基点的值,则停止移动,并且把值覆盖到最左边的指针的值 3、覆盖之后,把最左边的指…

蓝牙广播时间设置

1CONN_INTERVAL &#xff08;连接间隔&#xff09; 就是两个连接事件之间的时间间隔&#xff0c;连接间隔以1.25为单位&#xff0c;连接间隔的值为6(7.5ms)~3200(4s).不同的应用可能要求不同的时间间隔。长的时间间隔的优势是显著地节省功耗&#xff0c;因为设备可以在连接事件…

【蓝牙模块】多主多从蓝牙模块介绍

蓝牙模块测试&#xff1a;多主多从模块测试步骤 FR8016HA_Module 透传模块介绍蓝牙模块测试&#xff1a;多主多从测试*有需要的可以联系&#xff1a;13631472459*模块图片 FR8016HA_Module 透传模块介绍 FR8016HA_Module模块是一款工业 级射频无线产品&#xff0c;支持蓝牙5.0…

Android 9 原生设置关于蓝牙设置(三)

开启关闭蓝牙 参考&#xff1a;https://www.jianshu.com/p/a150d55e29ca 开启过程 参考“Setting关于蓝牙的界面”&#xff0c;开启和关闭蓝牙的switchbar的监听状态是BluetoothEnable类&#xff0c;当打开switchbar时&#xff1a; LocalBluetoothAdapter.setBluetoothEnab…

Android 9 原生设置关于蓝牙设置(一)

原生设置中关于蓝牙设置相关的类 BluetoothSettings.java 该类是蓝牙配置和连接管理界面&#xff0c;就是咱们常见的蓝牙界面。它管理着蓝牙界面的加载&#xff0c;蓝牙搜索&#xff0c;蓝牙连接&#xff0c;蓝牙重命名等管理功能。(顺便借用一下大牛做的图片&#xff1a;http…