vthompson
About
- Username
- vthompson
- Joined
- Visits
- 39
- Last Active
- Roles
- Member
Comments
-
Does v3 of the api have a less "nuclear" option for instances when a task cannot be scheduled?
-
So, if I get the timeout error the way to overcome it is to debug.reset the board?
-
Further testing following the change recommended (isActive)... The gpio board worked flawlessly for about 20 minutes. When movement was detected the attached sensors were activated and data flowed as expected. I committed the code, made a change…
-
What does it mean when a controller is in an Active state? I mistakenly assumed this meant it was currently executing a timer's task.
-
The first bit is a controller of sorts. The second bit is a container for a sensor/gpio pin.
-
public class PressureModule { public static final Byte SENSOR_INDEX_TOE = 0; public static final Byte SENSOR_INDEX_HEEL_1 = 1; public static final Byte SENSOR_INDEX_HEEL_2 = 2; private Gpio _gpioModule; private Timer _sensorTime…
-
I am having trouble posting the other bit. The forum software is complaining about the length...
-
public class StandDetectionModule implements PressureModule.PressureModuleObserver { final static Byte VOLTAGE_PIN = 3; private MbientManager _mbientManager; private ArrayList _standDetectionObservers; private Short _pressureThresh…
-
I have some improvement to report. I can now recover from the error by removing the timer (Controller.remove()) and removing the route (RouteManager.remove()), however, I get the timeout error every other time I call start on the controller. Is th…
-
java.util.concurrent.TimeoutException: Creating a MetaWear timer timed out after 3000ms at com.mbientlab.metawear.impl.DefaultMetaWearBoard$TimerImpl$1.run(DefaultMetaWearBoard.java:4969) at android.os.Handler.handleCallback(Handler.java:739) a…
-
Thanks. I've noticed when the timers return the timeout exception, they are done. In other words, they don't respond and the only recourse I've found is to restart the app or pull the battery from the sensor. What can I do to smoothly recover and…
-
Can you provide an example of timer reuse?
-
Eric Thank you for your response. Once motion is detected, the gpio board and timers are activated for a period of 10 seconds. After that, I turn off the voltage and then call removeTimers. A few minutes ago I allowed the app to continue run…