简体   繁体   English

智能手表和安卓手机之间有通用的通信协议吗?

[英]Is there a common communication protocol between smartwatches and Android phones?

I am very unhappy with my Fossil Q hybrid watch (no screen, tracks activity & sleep and button functions) but honestly it looks good.我对我的 Fossil Q 混合手表非常不满意(没有屏幕、跟踪活动和睡眠以及按钮功能),但老实说它看起来不错。 The app keeps crashing though.该应用程序不断崩溃。 I would like to make my own Android app to extract all kinds of data (for future analysis).我想制作自己的 Android 应用程序来提取各种数据(以供将来分析)。 Before investing a lot of time, I tried to do some research on how to access the watch.在投入大量时间之前,我尝试对如何访问手表进行一些研究。 It operates obviously on BLE.它显然在 BLE 上运行。 But all the documentation is either about Wear OS or actual smartwatches with more advanced functionality.但所有文档要么是关于 Wear OS,要么是关于具有更高级功能的实际智能手表。 Search engines fail to distinguish between what I am looking for and most popular results.搜索引擎无法区分我正在寻找的内容和最受欢迎的结果。

I was wondering, if there are any known communication protocols between apps and smartwatches, where I can start experimenting?我想知道,如果应用程序和智能手表之间有任何已知的通信协议,我可以从哪里开始试验? BTW, HCI snoop log reports all traffic but it doesn't look like anything to me.顺便说一句,HCI 窥探日志报告所有流量,但对我来说它看起来不像任何东西。 But I can also try to hack it (if it is not encrypted...).但我也可以尝试破解它(如果它没有加密......)。

I remember that I have found once a info on dev site regarding the heart rate tracking but I cant find it.我记得我曾经在开发网站上找到过有关心率跟踪的信息,但我找不到。 Anyway I have found one thing that might help you: https://developers.google.com/fit/android/ble-sensors Unfortunately this is "fit" reference site, which data might be obsolete, afaik the regular updates might come to API reference: https://developers.google.com/android/reference/com/google/android/gms/fitness/SensorsApi无论如何,我发现了一件事可能对您有所帮助: https ://developers.google.com/fit/android/ble-sensors API 参考: https ://developers.google.com/android/reference/com/google/android/gms/fitness/SensorsApi

You can start by reading code and documentation of the GadgetBridge project: https://codeberg.org/Freeyourgadget/Gadgetbridge/您可以从阅读 GadgetBridge 项目的代码和文档开始: https ://codeberg.org/Freeyourgadget/Gadgetbridge/

They support some of the "Q Hybrid" watches to some extent他们在一定程度上支持一些“Q Hybrid”手表

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

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