简体   繁体   English

Mi Band 3配对和获取数据(心率,步数等)问题

[英]Mi Band 3 pairing and fetching data (Heart Rate, Steps etc.) issue

Tried pairing Mi Band with GATT services and characteristics, no response from band. 尝试将Mi Band与GATT服务和特征配对,但Band没有响应。 Issue same for both android and iOS. 对于Android和iOS发行相同。 Only works with Mi Fit official app. 仅适用于Mi Fit官方应用程序。

Neither updating nor notifying the updates for any of the characteristics except battery,Date, other info. 除了电池,日期,其他信息外,没有更新或通知更新任何特性。

Note:- Tried services/characteristics - 注意:-尝试过的服务/特性-

  • FF0F FF0F
  • 2A37 2A37
  • 2A39 2A39
  • 0000180d-0000–1000–8000–00805f9b34fb 0000180d-0000-1000-8000-00805f9b34fb
  • 0000fee0–0000–1000–8000–00805f9b34fb 0000fee0-0000-1000-8000-00805f9b34fb
  • 0000009–0000–1000–8000–00805f9b34fb 0000009-0000-1000-8000-00805f9b34fb

You will need to authenticate the app before start fetch data. 在开始获取数据之前,您将需要对应用进行身份验证。 The steps are: 这些步骤是:

  1. Enable notification for auth characteristics "0009 为身份验证特征“ 0009”启用通知
  2. Send 18 bytes to the auth characteristics 发送18个字节到auth特性
  3. Once notified {0x10, 0x01, 0x01}, write another request that sends the first two bytes in (2) 收到{0x10,0x01,0x01}通知后,编写另一个发送(2)中前两个字节的请求
  4. Once notified {0x10, 0x02, 0x01}, write another request that sends bytes with AES encrypted 收到{0x10,0x02,0x01}通知后,编写另一个请求,该请求使用AES加密发送字节
  5. One notified {0x10, 0x03, 0x01}, you can proceed with other actions like fetching data. 一个通知为{0x10,0x03,0x01}的文件,您可以继续执行其他操作,例如获取数据。

There are several tutorials available like this one . 有可用的像几个教程这一个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM