首页 > 解决方案 > iPhone BLE/GATT 接口

问题描述

我正在为 Node JS 开发一个 BLE 库。我发现了自己的 iPhone,并发现了以下 GATT 服务和特征:

service d0611e78bbb44591a5f8487910ae4366
characteristic { uuid: '8667556c9a374c9184ed54ee27d90049',
  props: [ 'write', 'notify', 'extendedProperties' ] }

service 9fa480e0496745429390d343dc5d04ae
characteristic { uuid: 'af0badb15b9943cd917aa77bc549e3cc',
  props: [ 'write', 'notify', 'extendedProperties' ] }

service 180f
characteristic { uuid: '2a19', props: [ 'read', 'notify' ] }

service 1805
characteristic { uuid: '2a2b', props: [ 'read', 'notify' ] }
characteristic { uuid: '2a0f', props: [ 'read' ] }

service 180a
characteristic { uuid: '2a29', props: [ 'read' ] }
characteristic { uuid: '2a24', props: [ 'read' ] }

现在我想知道他们做了什么。有没有这方面的文档/规范?我通过谷歌搜索找不到太多。

标签: iosiphonebluetooth-lowenergygatt

解决方案


对于 16 位标准/注册服务,您需要GATT 服务列表。

180f 是电池服务。

1805 是当前时间服务。

180a是设备信息。

长格式(128 位)服务是定制的、未注册的服务。

d0611e78bbb44591a5f8487910ae4366 是 Apple Continuity 服务。

我不知道 9fa480e0496745429390d343dc5d04ae 是什么。


推荐阅读