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

  • Was it simply a battery in need of some charging?
  • Not in the immediate future.  we would like to expand LED functionality but that's is not a high priority item.
  • What is the issue you are having with the firmware update?
  • @Edwardsj Your logging issue sounds like your device is dropping packets.  There's no rhyme or reason to why these things happen on Android; Bluetooth works very well on some devices / OSes and is shoddy on others.  The only thing I can suggest is…
  • The only thing I can think of is a Bluetooth error Samsung phones were having due to Samsung's Android OS variant: http://stackoverflow.com/questions/20069507/gatt-callback-fails-to-register Do you have another Android device to test with?  If not…
  • Turns out the bug is from the API.  I've fixed the issue and will be releasing it in the next update.
  • There is no way to configure the timeout in the current API.  15 seconds should be sufficient time to establish a connection with the board.  If it takes 30+ seconds, something is not right with your device or OS. What Android OS and device are yo…
  • Your gist links have an extra space in them. Ok.  Since you used  RSS, then CartesianFloat doesn't apply because there is no XYZ axis anymore.  If you follow the stack trace to root class, you can see that the only valid types are float, int, or s…
  • Number of log entries is not the same as number of data points.  Log entry count is only relevant for having an accurate download progress.
  • The C++ library serves as the documentation of the MetaWear protocol; you should check out the source code + unit tests to find what you need.  Since you're using a C board, the bmi160 accelerometer implementation and unit tests will be of particula…
  • What exactly is the problem you are having with the code?  The code looks like it was taken from the Free Fall example so does original code work as is?
  • The firmware supports this feature, we just have not yet implemented API support for it.
  • Huh ok.  I'll test it out on a C board.  We definitely addressed this bug in firmware v1.1.3 but it's possible something broke again when we added support for the env and detect accelerometer.
  • Hrm...if you reduce the data rate to say 25Hz or lower, does the chain work then?  I don't see anything wrong codewise in the firmware comparator but this is an odd occurrence.
  • Is there a reason why you are not using the Android API?  
  • your error message is cutoff so I'll assume that it was a null pointer exception.  Did you assign the  loggingModule variable?
  • What board are you using?
  • The MetaWear can transmit IBeacon ad packets but that is it.  Any communication between boards must be done through a mobile device.
  • What do you mean by "lots of pipe?".  You would only need 6 comparators (2 for each axis).
  • @maged Ported the C# app to C++/CX.  You should checkout his project for C++ info. http://community.mbientlab.com/discussion/1538/c-windows-sample-application
  • Sweet!  Thanks for doing a C++/CX port of the C# app.
  • Double check the import section.  It looks like you have imported another Debug class instead of the MetaWear class. https://github.com/mbientlab-projects/FreeFallDetector/blob/master/app/src/main/java/com/mbientlab/freefalldetector/MainActivity.j…
  • They represent when the data was created, but are inaccurate for high frequency streams for the aforementioned reasons.
  • You can probably do this with the passthrough filter.   * Feed the acceleration data into a passthrough filter in counter mode. * Create threshold processors that check whichever axis you want * Attach monitors to the threshold processors that s…
  • You'll need to use the Macro class to make the changes stick through resets.  Check out the SettingsFragment for an example.
  • The ActivityHandler is for executing MetaWear commands.  Your random number will be selected when the commands are being programmed to the board so it won't change after the first event.  If you need dynamic minor/major numbers, I will have to exten…
  • @rosemark0208  Apologies, I spoke too hastily.  The data processor does support multiple sources for some processors, such as comparator and math, which can be used to create feedback or feedforward loops; this is expressed with the DataToken class…
  • Acc and gyro data is 6 bytes. The data is simply a collection of bytes.  How you chose to represent those bytes during transmission is irrelevant provided you encode and decode them in the same manner.
  • It appears that ble packets are not reaching the Android device, which is odd considering you say everything was working with the old API. A quick way to check is to stream and log the accelerometer and do a diff on the data received; ideally you s…
  • No, the data processor does not support operations using multiple data sources.