完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
刚开始修补RN4020,还没有发现任何显示16位句柄如何分配给128位UUID用于私有特性的东西。我需要这个是因为UART通知只显示远程设备修改了什么句柄,而不是UUID。有?谢谢。
以上来自于百度翻译 以下为原文 Just started tinkering with an RN4020, and have not yet found anything that shows how a 16-bit handle is assigned to a 128-bit UUID for a private characteristic. I need this because the UART notifications only show what handle was modified by a remote device, not the UUID. I'd think/hope there would be an easy way rather than having to parse through the LS output... is there? Thanks. |
|
相关推荐
3个回答
|
|
从https://www.blue..com...bers/service-discoveryService Discovery Protocol(SDP)UniversalUnique.er(UUID)短表单Blue.∈Service Discovery Protocol(SDP)规范定义了一种以更短的形式表示一系列UUID(名义上是128位)的方法。232个值的保留范围可以用32位(表示UUID32)表示。其中,216个值的子范围只能用16位(表示为uuid16)表示。本文档中未分配的232个范围内的所有值都保留,以待本文档今后的修订。换句话说,除了在本文档的这个或将来修订中所指定的以外,可以使用该范围内的任何值。超出此范围的UUID值可按[ISO-11578]中描述的任何分配器希望的用途分配。基本通用唯一标识符(UUID)基本UUID用于根据SDP规范中描述的“短UUID”(uuid16和uuid32)计算128位UUID。请参阅蓝牙核心规范中的服务发现协议(SDP)。注意:当前所有分配的短UUID都是uuid16类型。UUID NameUUIDBASE_UUID00000000-0000-1000-8000-00805F9B34FB
以上来自于百度翻译 以下为原文 From https://www.bluetooth.com...bers/service-discovery Service Discovery Protocol (SDP) Universally Unique Identifier (UUID) short forms The Bluetooth® Service Discovery Protocol (SDP) specification defines a way to represent a range of UUIDs (which are nominally 128 bits) in a shorter form. A reserved range of 232 values can be represented using 32 bits (denoted uuid32). Of these, a sub-range of 216 values can be represented using only 16 bits (denoted uuid16). All values in the 232 range that are not assigned in this document are reserved pending future revisions of this document. In other words, no value in this range may be used except as specified in this or future revisions of this document. UUID values outside of this range can be allocated as described in [ISO-11578] for any purpose the allocator desires. Base Universally Unique Identifier (UUID) The Base UUID is used for calculating 128-bit UUIDs from "short UUIDs" (uuid16 and uuid32) as described in the SDP Specification. See Service Discovery Protocol (SDP) in the Bluetooth Core Specification. NOTE: Currently all assigned short UUIDs are uuid16 types. UUID NameUUIDBASE_UUID00000000-0000-1000-8000-00805F9B34FB |
|
|
|
我会看这个医生,但这是我私人的UUID的吗?
以上来自于百度翻译 以下为原文 I'll read though this doc, but is this for my private UUID's? |
|
|
|
是的,“ls”显示了128位UUID和句柄。我可以解析它,但我希望有更好的方式来关联这两个。支持传统蓝牙将是很好的。我得试验一个。谢谢。
以上来自于百度翻译 以下为原文 Yes, "LS" shows the 128-bit UUIDs and the handles. I can parse it, but I'm hoping there's a better way to correlate the two. LS 010203040506070809000A0B0C0D0E0F 000102030405060708090A0B0C0D0E0F,000B,0A,02 000102030405060708090A0B0C0D0E0F,000C,10,02 000102030405060708090A0B0C0D0E0C,000E,0A,02 000102030405060708090A0B0C0D0E0C,000F,10,02 000102030405060708090A0B0C0D0E12,0011,0A,02 000102030405060708090A0B0C0D0E12,0012,10,02 END Was not aware of the RN4677... it would be great to support legacy Bluetooth. I'll have to experiment with one. Thanks |
|
|
|
只有小组成员才能发言,加入小组>>
5237 浏览 9 评论
2026 浏览 8 评论
1950 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3201 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2253 浏览 5 评论
771浏览 1评论
659浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
589浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
671浏览 0评论
571浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 02:10 , Processed in 1.163509 second(s), Total 79, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号