[英]What is the difference between services and profiles in a BLE GATT server
I'm new to Bluetooth classic and Bluetooth Low Energy. 我是蓝牙经典和低功耗蓝牙的新手。 After I watch the tutorial video on the dev site of android. 之后我在android的dev网站上观看教程视频。 I still don't understand what is a service in ble and what is the difference between service and profile. 我仍然不明白什么是服务,以及服务和配置文件之间的区别。 Can anyone helpe me? 任何人都可以帮我吗?
Thanks. 谢谢。
Profile define all communication functions to a BLE device, you can assume it is a higher level of abstraction, it has one or more service, which expose the sensor data on a GATT server. Profile定义了BLE设备的所有通信功能,您可以假设它是一个更高级别的抽象,它有一个或多个服务,它在GATT服务器上公开传感器数据。 eg Heart rate, temperature or Cycle speed. 例如心率,温度或循环速度。 In simple Profile has Services, and Service has Characteristics, Characteristic descriptor. 在简单的Profile中有服务,而Service有特征,特征描述符。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.