BLE温度计的返回值是什么意思? [英] what does the returned value of BLE thermometer mean?

查看:127
本文介绍了BLE温度计的返回值是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用xiaomi LYWSD03MMC,我通过BLE特性获得了该设备的温度,它显示: 21 0a 17 7e 0b ,但是我知道这是十六进制值,但是不幸的是我无法理解这是什么意思.我只知道数字17,它是湿度值(十六进制),当我将其转换为十进制时,它返回23.

I am using xiaomi LYWSD03MMC , I have got temperature of this device by BLE characteristics and it shows : 21 0a 17 7e 0b , However I know this is hex value but unfortunately i can't understand what does it mean.I only know the number 17, which is the amount of humidity, which is hex, and when I convert it to decimal it returns 23.

推荐答案

您正在读取的特征的UUID是什么?

What is the UUID of the characteristic you are reading?

如果其格式为 0000xxxx-0000-1000-8000-00805F9B34FB ,则应在

If it is of the format 0000xxxx-0000-1000-8000-00805F9B34FB then it should be documented on https://www.bluetooth.com/

您可以在 16位UUID编号文档位于: https://www.bluetooth.com/specifications/assigned-numbers/

然后可以使用该名称查看 GATT规范补充以获得更详细的描述.的字段.

The name can then be used to look in GATT Specification Supplement for more detailed description of the fields.

这篇关于BLE温度计的返回值是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆