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

  • We don't have any plans to open source MetaBase.  What specifically are the issues you are having with logging?
  • No, we don't have a diagram on hand.  You can use the sample app to quickly check the orientation.
  • Please read the FAQ, specifically the Capabilities section.  The FAQ addresses a few beacon questions.
    in Beacon RSSI Comment by Eric May 2016
  • Not sure what's wrong  Try placing a breakpoint in the process function to see if the body code is buggy as opposed to not being called period. This code works for me: final Bmi160Accelerometer accModule= mwBoard.getModule(Bmi160Accelerometer.clas…
  • There is nothing wrong with logging and streaming simultaneously; that blog post is wrong. However, the second statement is correct, streaming and logging the same data is not a recommended use case. You don't need a splitter to log and steam. Th…
  • Yes, I wish we had unlimited flash storage but alas you can only store about 5000 samples of acceleration data.
  • We do not have a fitness tracker app that uses the latest API.  The old API used by the app greatly differs from the new API so updating the project is not as simple as switching to the latest API. What you can do is implement the filter chain usin…
  • No, we don't have any videos on this topic. Have you looked at the app source code yet and the documentation I linked you? If so, what specifically about the tuner, gpio, and app code is unclear to you?
  • No, those are the only two vs solutions we have. I get that you are having issues importing the sample code but, can you create a "hello world" C# universal Windows app? If so, then I'd start there and copy bits and pieces of the netawear code ove…
  • There is nothing in BMI160 spec sheet that says you can't stream and detect motion simultaneously.  What happens if you only run the no motion code?  The only thing that is incorrect is that you do not commit the configuration but the default settin…
  • Try clearing the app data and see if that clears things up.  Also, does the gyro panel say the gyro module is not supported?
  • What firmware version is the bugged C using?  It needs to be on v1.2.1 not v1.2.0.
  • The timer needs to schedule more gpio reads; right now it only schedules one read whereas in your case, you want 3.  You should read the Android Documentation about Timers and Gpio first to get a feel for what the current code is doing.
  • There is no public documentation about those status codes that I am aware of.  You can look up the #define macros in the Android C code to get a cursory understanding of what could be wrong. https://android.googlesource.com/platform/external/bluet…
  • Those values reflect the operational parameters as listed in the spec sheets assuming 100% power.  They do not account for the amount of current powering the circuit.
  • You will need to modify the timer to: * Read data from 3 pins. * Update the graph to display 3 lines. * Expand the saveData function to save the additional data sets.. The barometer panel does items #2 and #3 for 2 data sets.
  • I have no idea.  If MatLab supports supports either of those modes, UART or CMD, then I don't see why not. Barely anyone has reached out to us regarding MatLab.  An overwhelming majority of emails and forums posts we receive are about mobile devel…
    in Matlab on a PC Comment by Eric May 2016
  • * What is not good about my solution?  Of course it's not ideal but this is what you have to do to temporarily work around the issue * There is a function called setAxisSamplingRange for the Accelerometer class. * You don't need the byte manipulat…
  • The only way that error message is if you are adding multiple processors with the same ID string.  Double check that you aren't creating the same route multiple times. At this point, I am out of ideas.  My suggestions are to use a low frequency ac…
  • Hrm, yes I believe your hypothesis is correct about comparing a YZ value.  What you can do to work around this is in the meantime is to attach a Maths processor that adds 0 before you compare it. accelCtrllr.routeData().fromYAxis() .process(ne…
  • * Route managers can only manipulate their respective routes.  You need to move the subscribe functions into their respective route CompletionHandler. * I don't see any call to start the accelerometer. * I would move the switch route code into the…
  • It appears that the filter is returning both Y and Z axis data as opposed to only Y axis.  You can compute the Y axis value yourself from the byte data. result.subscribe("accelSub", new RouteManager.MessageHandler() { @Override public…
  • There are I2C and GPIO pins that you can use to communicate with 3V peripherals so as long as your NFC reader meets both criteria, it should work.
    in Attach NFC Comment by Eric May 2016
  • The stable throughput limit is 100Hz; the 200Hz value is a mistake. If accuracy is not a concern, you can right shift the the acceleration data by 8 bits to compress the data down to 3 bytes. We have thought about ways to increase the throughp…
  • * It shouldn't so if it does, something is seriously wrong with the app * Time stamps are based on number of samples received.  The were originally based on when the mobile device received the data but high frequency streams results in multiple data…
  • Sorry about the bad example; I have corrected the example. No, like I said earlier, 200 is excessive and you should try with a smaller amount first to see if everything is working before increasing the sample size. You need to create separate …
  • So there's your issue. You can't use the sample filter without compacting the acceleration data or split it into its xyz components.
  • Override the CompletionHandler.failure function and see if any errors are being passed back.
  • Ah sorry, I mean the Settings.ConfigEditor interface.  The AdvertisementConfing interface is a wrapper class for the read advertising parameters, not for editing them.
  • Yes, you can call enableMotionDetection inside a timer task.