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 use the MetaWear app to check if the sensor is working.
-
Try this setup: https://gist.github.com/mbientlab/316f5ec0d9a1549527d4725a988ea37c
-
There is no API to change BLE connection parameters on the Android side.
-
Write the data to a file or database for persistent storage. I've identified a firmware bug that crashes the firmware when connecting to the board during logging which is most likely the root cause of the "only works the first time" issue you me…
-
I haven't had a chance to test a multiple mw use case on my Win10 laptop yet nor look further into the issue. I will let you know if I find anything.
-
This could all be chalked up to how iOS implements the Bluetooth stack. I'll let the iOS developer know to see if there's anything that can be done. As far as streaming for 3+ hours is concerned, Bluetooth Low Energy is not designed for that amou…
-
Disabling the BT adapter should trigger the "disconnected" callback function. Does your Android device behave differently? 06-26 22:42:14.597 17269-17281/? I/BluetoothAdapterState: Bluetooth adapter state changed: 15-> 16 06-26 22:42:14.598 1726…
-
Nice, good to see everything is sorted out.
-
* What Android device and OS are you using? * If you reduce the frequency, do you get more consistent results? I don't have any issue with a 50Hz stream (25Hz each on acc/gyro) on my Nexus 6 with Android M.
-
MetaWear functions as slave device; it does not initiate BTLE connections. If you need the data live, then you will have to maintain a connection with your mobile device. You can tweak the BTLE connection parameters to reduce the power consumption…
-
When you say the app stops and disconnects from the board, do you know if that is because the coin cell battery died? You can stream the CPro accelerometer at frequencies lower than 12.5Hz but you will have to modify the app for your use case. …
-
MessageHandler is an interface. Please see the Free Fall source code after part C regarding setting up a stream.
-
If you already have a connection, you don't need to call connect and can immediately start a log download.
-
If you don't mind doing a bit of debugging, can you insert a few log calls in the MetaWearBleService.java file and let me know what the output is when you try to connect: Line 474: Log.i("MetaWear", Arrays.toString(command)); Line 991: Log.i("…
-
See the Javadocs for parameter details.
-
Apologies, I misinterpreted your code. The only thing your Runnable should do is attempt to connect. Use the ConnectionStateHandler to start a download if the attempt is successful. If the connection fails, schedule another connection attempt.
-
The Bluetooth LE radio can handle data throughput of up to 100Hz. If you're attempting to stream from many MetaWears to one pc, you will need to reduce the streaming rate for each board. Two of questions for debugging purposes: * Can you stre…
-
You can contact the OP from this thread to see if he is willing to share his code. We also have a getting started guide for firmware that shows you how to setup the environment and hardware for flashing custom firmware images. What do you mean …
-
I have not had good experiences with the Bluetooth radio on Moto G phones. The 2nd generation Moto G phone (also Android M) in the office can connect to the MetaWear boards but sometimes the connections simply fail and the there is a noticeable del…
-
You are only connecting to the board once while downloading the log multiple times with a disconnect call after the download is complete.
-
That driver issue seems to be plaguing various adapters and is not specific to MetaWear. You can try of the suggestions I have linked to in this post. Any further discussion about driver issues needs to be in the linked thread.
-
I was able to implement the no/any motion switching using the counter and maths processor to simulate the if-else instead of the passthrough processors. acc.routeData().fromMotion().process(new Counter()).process(new Maths(Maths.Operation.MODULUS,…
-
What Android phone and Android OS are you using? Using the Master Control Panel app is just to see if the board can be connected to. Since it can, everything points to the service discovery timing out which is why we need to look at your phone mo…
-
What is the error message from the driver properties window?
-
In order of the issues you listed: 1) Remove the '-fno-rtti' flag.2) Make sure all gcc build variants have the same compiler flags. It looks like you only have the flags set for the x64 build. 3) There is no 'IAccelerometer' interface in the A…
-
We don't have a specific release date in mind as there aren't any critical features that need to be released. I'll have a more concrete timeline when I talk with the firmware developer.