- Last Active
Thank you for information, By the way do you have examples for that? or how to catch that error?
It's the same when I tried with python 2.7.14. When I moved sensor far away from Bluetooth until it's lost and it shows error like in the image instead of calling on_disconnect() What I want is to call on_disconnect() when the MetaMotionR connect…
but that won't be called when the board is lost connection? will it? https://mbientlab.com/documents/metawear/cpp/0/settings_8h.html#a1cf3cae052fe7981c26124340a41d66d mbl_mw_settings_set_connection_parameters() timeout Max time bet…
@Laura said: A few things: * Does your script work on Python2.7? * You did get a disconnect event because it shows "has been disconnected" in your terminal (try to find out where it comes from). * Some relevant docs: https://…
I moved the sensor far away from PC over 10m and it showed this error instead of calling my on_disconnect callback. I tried another time, it stop the scripts instead of calling callback too. Code when I set sensor parameters libmetawear.mbl_…
yes, my function to check if it's called or not by changing self.disconnect to "in" but it's not changing.
You need to automatically reconnect if a conn fails or drops (at minimum). You can reconnect and start the stream again. You can also use our macro system (see tutorials). Thank you for your answers. By the way I have looked into disconn…
@abferm said: This example shows how to read the battery in C++ and translates fairly well to python https://github.com/mbientlab/MetaWear-SDK-Cpp/blob/d679878b8f7f88471697491f352469c391c7f27f/cppdocs/source/settings.rst#battery-state H…