如何重置MetaWear设备? [英] How to reset MetaWear Device?

查看:309
本文介绍了如何重置MetaWear设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发将使用Metawear设备的应用程序。
我注意到,我连接设备后,我可以读该设备的实时加速度值,但我想读/离线下载加速度值。

I am currently developing an application that will use Metawear device. I have noticed that after I connect a device, I can read the live accelerometer values of that device but I want to read/download offline accelerometer values.

对于按照我指 https://gist.github.com/mbientlab/a299fc705f8ac3b64359,我需要设置触发。

For that as per I refer https://gist.github.com/mbientlab/a299fc705f8ac3b64359 , I need to set Trigger.

但是,当我设置触发器,如果​​我没有删除,然后触发下一次Metawear设备无法检测/我的设备扫描(假设一个Android手机)。

But when I am setting triggers and if I did not remove that trigger then next time Metawear device unable to detect/scan by my device(Suppose an android mobile).

如果设备完全放电,并再次启动然后复位。

If device totally discharges and starts again then it resets.

那么,有没有删除该触发器,无需连接设备或重置设备的方法。

So is there any method to remove that trigger without connecting to the device or reset the device

感谢名单提前

推荐答案

使用的<一个href=\"https://mbientlab.com/docs/metawear/android/1.8.0/com/mbientlab/metawear/api/controller/Logging.html#removeAllTriggers()\"相对=nofollow> removeAllTriggers 方法来删除所有日志触发器。 上述要点的第100行演示触发去除与removeTrigger方法

Use the removeAllTriggers method to remove all logging triggers. Line 100 of the aforementioned gist demonstrates trigger removal with the removeTrigger method

这篇关于如何重置MetaWear设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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