当我的代码在我的Android手机上成功运行时,
我还是不明白下面的一些事情。
当我查看sdp.c文件时,我发现有一些值,如:
HIDParserVersion
//HIDParserVersion 0x0201 uint16 mandatory 4.3.2
static const uint16_t attr_parser_version = 0x0111;我知道0x201是它的属性id,0x0111是它的属性值。
但是,我不明白为什么它的属性值必须是0x0111。
另一个例子是它的子类是0xcc。
有人能告诉我:这些价值观的定义在哪里?
谢谢
发布于 2012-05-04 09:21:35
参见https://www.bluetooth.org/Technical/AssignedNumbers/service_discovery.htm中“人工接口设备配置文件”一节中的属性列表
请参阅详细信息,包括以下内容中的值。"HID_SPEC_V11.pdf“来自https://www.bluetooth.org/docman/handlers/downloaddoc.ashx?doc_id=246761 (通过https://www.bluetooth.org/Technical/Specifications/adopted.htm)
https://stackoverflow.com/questions/10444063
复制相似问题