Android BLE蓝牙开发-读写数据 获取UUID

https://www.jianshu.com/p/3711cfbf7128

一个ble蓝牙设备有多个包括多个Profile

一个Profile中有多个服务Service(通过服务的uuid找到对应的Service)

一个Service中有多个特征Characteristic(通过特征的uuid找到对应的Characteristic)

一个Characteristic中包括一个value和多个Descriptor(通过Descriptor的uuid找到对应的Descriptor)

另外注意,连接设备前,请先关闭扫描蓝牙,否则连接成功后,再次扫描会发生阻塞,扫描不到设备。

原文地址:https://www.cnblogs.com/prayer521/p/8087440.html