Eric
Do not send private messages with technical questions; they will be discarded. All technical questions must be posted publicly on the forum.
About
- Username
- Eric
- Joined
- Visits
- 9,275
- Last Active
- Roles
- Administrator
Comments
-
What version of the firmware are you running? I believe the DataProcessor and LowPass filter were added in v0.8.6. Those parameters look fine to me. Do you have any recorded values that we can take a look at?
-
Ah sorry, I forgot to update the doc links. Javadocs for v1.2 is here (https://mbientlab.com/docs/metawear/android/1.2/) which has the info for FullScaleRange, OutputDataRate, and MovementData types. Yes, the movementDetected function is for free…
-
It is coming. Code has been added to support it so it's all down to testing now.
-
Judging from the provided code, you are not connected to the board when you are making the accelerometer calls. The onServiceConnected callback function indicates your activity or fragment has connected to the MetaWearBleService class, not to a Met…
-
Please provide us stack traces and steps to reproduce bugs so we can fix the Android API asap.
-
It looks like Bluetooth is not available in your emulator
-
What kind of enhancements are you looking for?
-
Adding the jar to the build path is sufficient. You should also clean the project as well after swapping in the jar.
-
Use the latest api release: https://github.com/mbientlab/Metawear-AndroidAPI/releases/tag/1.1
-
Hrm...sounds like the min sdk version is set to an older API or you don't have an appropriate Android API / build tools package installed. What android sdk packages are installed?
-
The nordic toolbox app is also on iOS.
-
The code is not currently online. In the meantime, you can modify the iOS app with Laura's code that she provided in the heart rate blog post: http://projects.mbientlab.com/heart-rate-data-with-the-pulse-sensor-and-metawear/
-
the board is about 1.6 grams and the small battery is about 2.5 grams
-
I cannot reproduce this on my Nexus 7 tablet (Android 4.3). When i unplug my board from the usb cable, the app tries to connect again but nothing happens until I plug the board back in. All the reconnect code does is call "connect" function from t…
-
@devsar What version of the ios app are you using? The app was updated on the 28th to support iOS8.
-
That's good to hear! Still quite odd that you were always receiving a 0 though.
-
* Each channel has its own settings, independent of the others * Play starts the programmed patterns for all channels, you don't individually play them * autoplay means the pattern begins immediately after being programmed * 0 has no special meani…
-
The index, data[0], will give you a value between [0, 100], indicating the battery level. I'm not sure why you're getting a stuck 0 though. Was the battery level reporting other values before and what values do you get if you plug the board in? I…
-
That's odd the Nexus 5 would give you so much trouble; it runs Android 4.4 and has Bluetooth 4.0 so I don't see why the app wouldn't work on your phone. The only thing I can think of is Android 4.4 regressing with Bluetooth support as all of the An…
-
How are you switching off the board? What you are describing sounds like you are only resetting the board, not turning it off.
-
https://github.com/mbientlab/Metawear-AndroidAPI/blob/1.1/src/com/mbientlab/metawear/api/controller/Accelerometer.java#L466 The API can be downloaded from the GitHub page: https://github.com/mbientlab/Metawear-AndroidAPI/releases/tag/1.1
-
Metawear is a Bluetooth Low Energy board. Microphone and speaker is an application for normal Bluetooth.
-
The LED is programmed to act like a square wave. The pulse starts at 0, rises to the high value, stays high for some time, then falls to the lower value, staying at that lower value for however much time remains for one pulse. Each piece of the wa…
-
Battery support is now officially in the app and api. https://github.com/mbientlab/Metawear-AndroidAPI/blob/1.1/src/com/mbientlab/metawear/api/MetaWearController.java#L105
-
No, the only "document", if you will, is the code: https://github.com/mbientlab/Metawear-AndroidAPI/blob/1.1/src/com/mbientlab/metawear/api/MetaWearBleService.java#L751
-
It can be done, the latest firmware (v0.6.0) has this implemented and the APIs have been updated to support this feature (currently Android released, iOS will be out later this week). However, there is not much internal storage on the MetaWear. Yo…
-
The android api does not currently support multiple devices at the moment. It is on the todo list.
-
Use: new byte[] {0, 0, 0x20, 0, 0} The blue zero controls the accelerometer range: 0 = 2g, 1 = 4g, 2 = 8g. You can follow the discussion in the below link for controlling output data rate http://community.mbientlab.com/discussion/comment/197…
-
Use the gpio class: https://github.com/mbientlab/Metawear-iOSAPI/blob/1.0.4/MetaWear.framework/Versions/A/Headers/MBLGPIO.h
-
what parameters have you tried using?