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
-
You can look at the source code / unit tests for the iOS, Android, or C++ APIs. Ideally, you should simply integrate the C++ API into your project and not worry about the byte formats.
-
In that context, "module" refers to a Gradle module, specifically a module that depends on the metawear API. If you are still confused as to how to configure Gradle, I recommend basing your app off of the Android starter template. https://github.c…
-
A button press is hardcoded to start BLE advertising. Do you at least see the board advertising after a button press?
-
Mbientlab does provide some consulting services for software development and data analysis. Send us a message on the "Contact" page with the technical requirements of the consulting portion. https://mbientlab.com/contact/
-
Your code looks fine to me though I would recommend using the high frequency stream and decreasing the max connection interval to 7.25ms (11.5ms for Android M and later). Will pressing the button cause the board to show up in the BLE scan?
-
What numbers are the numbers you are getting vs. what is expected? What code are you using to post process the data?
-
You always need to check the result of the chained tasks. Sounds like an error is being thrown by one of the tasks so you need to find what error it is. https://github.com/BoltsFramework/Bolts-Android#error-handling
-
You will have to modify the app source code to connect to multiple devices, then update the individual fragments to interact with all of the connected boards and properly distribute the streamed data. Alternatively, you can use the MetaHub app whi…
-
What android device are you using and can you post the MetaWear code you are running on the board?
-
ODR is output data rate, which is included in the filename. In your screen shot, the filename says 50Hz so that means the data is spaced at 20ms intervals.
-
Not all Android phones have the same BLE stack and radios, and BLE support was very shoddy on Android 4.3 compared to later releases. In our experience, the Android devices with a good BLE implementation are Nexus devices (5, 6, 9) running Android …
-
MetaWear uses characteristic notifications which is not the same as characteristic indications. The difference is explained in this port on the nordic developer forumhttps://devzone.nordicsemi.com/question/310/notificationindication-difference/ …
-
The best way to test data processing is to capture raw data for the different walk types and use a numerical processing tool (numpy, matlab, etc.) to figure out what data processing needs to be done to convert raw data into meaningful metrics. Once…
-
It is the same setup except you use the sensor fusion data signals instead of the accelerometer ones.https://mbientlab.com/cppdocs/latest/sensor_fusion.html#data
-
That depends on the Bluetooth stack you are using. What does that BT stack's documentation say about enabling notifications?
-
Could of additional questions for you: * How long did it take until your started seeing these issues? * How are you using the board in your product? * How was the board being used prior to this issue? * Have the boards been subjected to externa…
-
Calculating walking distance can be done however using only accelerometer data typically will have accumulated error over time. You can use the high pass filter to filter out gravity and double integrate the data to give you an estimate of distance.
-
Sensor specs are given in the MMA8425Q's spec sheet:http://www.nxp.com/assets/documents/data/en/data-sheets/MMA8452Q.pdf What do you mean by tracking position? Are you talking about relative position from a starting point or absolute position?
-
You also need to write [0x03, 0x04, 0x01].
-
You need to chain the async tasks together as outline in the Bolts documentation:https://github.com/BoltsFramework/Bolts-Android#chaining-tasks-together gpio.getPin((byte) 0).analogAdc().addRoute(source -> source.log(...)) .onSuccessTask(ignore…
-
Are you using the latest iOS api (v2.8.2)? If not, update your pods to use v2.8.2.
-
You will never have reliable timestamps when streaming data via Bluetooth LE due to the sensors pushing out data faster than the devices exchange data through the BTLE connection. As a way to increase the data throughput, the firmware can send 3 da…
-
As mentioned in my previous post, write commands to characteristic 326a9001-85cb-9195-d9dd-464cfbbae75a (handle 0x1d00), enable notifications on characteristic 326a9006-85cb-9195-d9dd-464cfbbae75a (handle 0x1f00). This is what the Android and iOS A…
-
Follow this tutorial on the mbientlab website which instructs you on setting up a stream for acceleration data. https://mbientlab.com/tutorial/uwp/cs/
-
MetaHub is only available as an app.
-
What compile errors are you seeing when you clone the repo?
-
How frequently are you reading the step counter? Also, have you tried using the step counter by itself and with only one device? That is, no acceleration streaming and no tap detection.
-
Assuming then the battery is charged, pressing the button will start ble advertising; you will have to press it every second to restart the advertising once it times out and you must keep pressing until It's a way to revert the changes specific f…
-
You need to enable notifications on handle 0x1f00 and write [0x01, 0x01, 0x01] to handle 0x1d00 to stream button presses.
-
You can try reducing the max connection interval to 7.5ms using mbl_mw_settings_set_connection_parameters.