通过蓝牙从nRF 51822和传感器HTS221读取温度

时间:2019-06-10 20:35:56

标签: bluetooth bluetooth-gatt

我正在尝试从这个小传感器https://www.aliexpress.com/item/temperature-sensor-and-humidity-sensor-HTS221/32953862359.html?spm=a2g0s.9042311.0.0.e3534c4dT9GRz3读取温度

There are 4 GattServices available
GattService 00001800-0000-1000-8000-00805f9b34fb - Generic Access
here are characteristics: 
00002a00-0000-1000-8000-00805f9b34fb Device Name
00002a01-0000-1000-8000-00805f9b34fb Appearance
00002a04-0000-1000-8000-00805f9b34fb Peripheral Preferred Connection Parameters

GattService 00001801-0000-1000-8000-00805f9b34fb - Generic Attribute
no characteristics
GattService 0000180a-0000-1000-8000-00805f9b34fb - Device Information
here is characteristic:
00002a29-0000-1000-8000-00805f9b34fb Manufacturer Name String
GattService 6e400000-b5a3-f393-e0a9-e50e24dcca9e - ???

看起来HTS221默认没有发送数据,我应该怎么做才能读取温度?

0 个答案:

没有答案