stu68
About
- Username
- stu68
- Joined
- Visits
- 187
- Last Active
- Roles
- Member
Comments
-
Oh ok, I thought that was just to debug/ run not just to build (and not run) too - thanks!
-
Nevermind - figured it out - device was stuck in Metaboot
-
Seems to work - thank you.
-
I'm looping to download over and over. If I don't clear the log every once in a while it gets full and the app stops responding. I'm trying to determine when it's safe to perform a clear, disconnect, reconnect, etc. I'm using a simple counter appro…
-
Adrenocortico I'd have to see your code, and my is in Swift, so not sure it would help. I had to use dispatch_async to update screen values, etc. Just guessing, but it seems like your app might be trying to force a UI update or something while runn…
-
getLogCapacity() tells you total log capacity. Is there anyway to tell how much room is left or used?
-
I had the same issue - mine was a dispatch_async/ UI thread issue.
-
@Edwardsj When this has happened to me it is because the log is full. You have to initiate a log clear and disconnect routine, then reconnect to get it to start working again. I have a method to clear out the logs before it fills up, but it causes …
-
I'm doing the same which causes a lot of connection issues.
-
I was trying to get the logging functionality to work and ran into a separate issue with that. I posted in a new thread: http://community.mbientlab.com/discussion/1545/android-logging
-
protected void streamData() { accelModule.start(); logModule.startLogging(true); mhandler.postDelayed(stopLog, 2000); } private final Runnable stopLog= new Runnable() { @Override public void run() { logModule.stopLogging…
-
ok thanks
-
I'll try that. Sorry, I forgot that we were using logging with the previous Android API - not streaming.
-
Not exactly - I was using the HomeFragment code from the sample app and added the command to the reconnected override: To set the device name: @Override public void reconnected() { setupFragment(getView()); settingsModule.configure().setDev…
-
I tried this and it works until the device is reset the first time (after the firmware reset) then it goes back to "Metawear".
-
This is being run on a device that has very consistent positive and negative peaks, as shown in the IOS graph. The data from the Android app is showing some inconsistent "peaks". You will see that some are way off from the other peaks - much lower/ …
-
Ok - we ran a couple of tests with the sample app. I posted images and csv files if you want to review: MWSampleAppResults1.png MWSampleAppResults2.png Accelerometer_20160314-131910462.csv Accelerometer_20160314-131939419.csv Graphs are with y axis…
-
That code was from the sample app, so not sure how to answer in order. It works, it is just recording inaccurate results that wasn't happening with the methods from the previous API using callbacks and the IOS methods. We are calculating distances …
-
Got it - was just posting it here in case there was a vote or anything for future features.
-
My app is built around the new Android API and example. The device list references BLEScannerFragment.class. What's the best approach for displaying a standard/ static name instead of the actual device name? I'm creating apps in Android and IOS - b…
-
I think I figured it out - pretty sure is was a dispatch_async/ UI thread issue.
-
We tried that on two different models of phones with same result.
-
Makes sense - thank you!
-
I have it successfully streaming and saving to a text file. I'll try to post my app soon as an example.
-
Is it ok just to copy/overwrite the files for the cocoapods to update them?
-
Oops sorry - meant IOS in the title
-
Awesome - Thank you!
-
It had example code how to do everything with the old API for logging, etc.
-
I vote for the NOR Flash. I have working code to download accelerometer data every few seconds at 200Hz, but it's based on the previous API. I have yet to get it working with the new API. The need to disconnect and reconnect makes my app fairly unst…
-
Follow-up - it seems to hang (see previous post) when downloading data over 1000 records or so. I lowered the loop time to only download 200 or so records at a time and now I get this after a few downloads from the logger: ...several good downloads …