fugong
您好:
BLE服务是什么?有几种?主要作用是什么?
sherlock
你好,这方面建议参考Bluetooth SIG定义的Bluetooth core specification,下载地址:https://www.bluetooth.com/specifications/bluetooth-core-specification/
例如,关于服务的定义与作用,上述Bluetooth core specification Vol 1, Part A 6.5.1 章节给出定义如下:
service is a collection of data and associated behaviors to accomplish a particular function or feature of a device or portions of a device. A service may include other primary or secondary services and/or a set of characteristics that make up the service.
[服务是完成设备或设备部分的特定功能或"特征"的 数据和相关行为 的集合。 服务可以包括其他主要或辅助服务和/或组成该服务的一组"特征"。]
关于服务的种类
,上述Bluetooth core specification
Vol 1, Part A 6.5.1 章节给出定义如下:
There are two types of services: primary and secondary. A primary service is a service that provides the primary functionality of a device. A secondary serviceis a service that provides auxiliary functionality of a device and is included from at least one primary service on the device.
[有两种类型的服务:主要服务和辅助服务。 主要服务是提供设备主要功能的服务。 辅助服务是一种提供设备的辅助功能的服务,并且至少包含在设备上的一个主服务中。]
note:
Goodix Administrator
您好!如果我们的回答能够解决您的疑问,请选择一个作为最佳答案哦。谢谢。
打开微信,使用“扫一扫”即可关注