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

  • The thread I linked in my first response discuses other methods of reproducing accurate time offsets for streamed data.
  • I have no idea.  The GitHub for her code hasn't been active in 2 years whereas the repo on our projects is still active.  The cordova plugin I linked is entirely community driven so your best bet would be to work with @lgleasain to get the features …
  • Sorry, when I say 100Hz what I mean is the throughput.  In other words, if you have two boards streaming at 100Hz, then your mobile device is effectively receiving data at 200Hz because you would be receiving 100 samples from 2 boards every second. …
  • The author of this plugin hasn't been active on the forums for a while and I believe the code is outdated as well. You should use the Cordova plugin written by @lgleasain here: https://github.com/mbientlab-projects/cordova-plugin-metawear
  • How many devices are you attempting to simultaneously stream and at what data rates? Bluetooth le can't reliably handle data at frequencies higher than 100Hz. If you are flooding the radio with data, it's to be expected that subsequent commands y…
  • Sorry, we do not have any Windows 10 IoT devices so I can't definitively say one way or the other.  However, I doubt there is any issues since the same UWP app/library is supposed to work across all devices.
  • Sorry, I realized that I did not fully answer your question.  Yes, all MetaWear boards can have an external thermistor attached as detailed in the blog post.  When using the external thermistor, you need to tell the board which pins it is connected …
  • No, it is not a high priority feature we are working on at the moment.
  • It sounds like you are reading temperatures from the SoC, not the on-board thermistor.  You need to select the thermistor as your temperature source otherwise the API will default to using the SoC.
  • Unfortunately I am not familiar with IBM's cloud platform.  Taking a quick scan at their IoT Android starter project, it would appear that the classes in the iot package are what you need to push data to their cloud.  I would take a look at where th…
  • Your code works fine on 3 of our Android devices: Nexus 6 (6.0.1), Samsung Galaxy S4 (5.0.1), and Nexus 7 (4.4.2).  I also tested it by: * Running your code * Issuing the reset command * Reconnect and repeat from step 1 I suppose first off, can you…
  • http://community.mbientlab.com/discussion/comment/2187
  • You'll need to search to the IoT Starter code to find out where the app collects accelerometer and gyro data and replace that with the MetaWear gyro and accelerometer functions.  This brings me to where you are in your project.  Do you already have …
  • The C++ API can be used in a Universal Windows app.
  • The board is fine.  However, I can't really think of why you are running into this error.  Can you send me the full flow and relevant code of how you app works so I can try to replicate the issue on my side? Are you still testing on your LG Optimu…
  • You should not be calling disconnect.  It's possible you are cutting the BLE connection before the reset command is send by the radio.  Let the API update the connection status automatically.   No, those are the only ways to reset the board throug…
  • Yes, it was with an older version of the C++ API (v0.2.0) but I don't see why it wouldn't work with the current release (v0.4.15).  I have not released a NuGet package for the Win81 platform so you would have to build the windows runtime component y…
  • We just uploaded tutorial videos about using the C++ API in a Universal Windows Platform app. PlayList https://www.youtube.com/playlist?list=PLiiW3P34smqYTIcxTMMgsZ0HLEJSGmkDs Source Code https://github.com/mbientlab-projects/MetaWearTutorial-UWP
  • If you "initialization phase" is running after the app starts up, then the API doesn't have any routes or timers to remove unless you have serialized the state before hand.  The tear down should be happening after you're finished testing and before …
  • For me, I was testing everything on my laptop running Windows 10.  We have a BLU Win HD LTE X150Q phone in the office but after upgrading to Windows Phone 10, the app simply crashes when trying to call FindAllAsync, possibly the same bug filed here,…
  • Sensors run until they receive their stop command or run out of power. It sounds like you are simply tacking on timers and data routes without removing the ones you previously created.  Call removeRoutes and removeTimers to tear everything down …
  • Hrm....Perhaps I missed something with handling the delegates that the C# side uses to wrap function pointers, which I hope is the root cause.  I'll have to setup native debugging and step through the C++ code.
  • I've pushed out a sample uwp project that will go with the tutorial videos. Part 3 will cover data streaming from the accelerometer. Hopefully this will help you with getting the gyro working. It sounds like there is something wrong with initiali…
  • You can configure everything before you create the data routes, then, start the accelerometer in the final route's CompleteHandler. // Configure things here accModule.routeData() ... // route 1 accModule.routeData() ... // route 2 accMo…
  • A few people on the forums have been reporting a strange occurrence where if they don't explicitly call disconnect before closing the app, the board ends up in a state where the bluetooth connectivity becomes erratic.  Pulling the battery the solves…
  • the downloadLog function reports how many entries the API is requesting to download.
  • There's nothing in the BMI160 spec sheet that suggests you can't run all of those at the same time.  It's possible that something is wrong with the firmware which could have appeared when we were adding support for the BMA255.  We'd have to test thi…
  • I've addressed the seg fault in your code; please see my pull request.
  • Hrm...an invalid pointer is not a good sign.  I have your project clone on an Ubuntu 15.04 VM with gcc 4.9.2 and I will try to see why the memory address is corrupted in your script but not from the unit test.
  • Any device with a Bluetooth 4.0 radio can in theory connect to the MetaWear provided the underlying OS has proper support for Bluetooth LE.  The closest I've seen to what you are looking for thus far is people using Linux to communicate with the Met…