Laura
About
- Username
- Laura
- Joined
- Visits
- 3,668
- Last Active
- Roles
- Administrator
Comments
-
Well you can't send commands to the MMR via the SPI/I2C. What we mean by "adding a sensor" is that the SPI/I2C line is to add peripherals and sensors to the MMR on that line. Take a UV sensor for example. You can add it to the MMR SPI/I2C bus …
-
Hey @Dimark1394, We use a completely custom protocol called MetaWear over the Bluetooth link. It doesn't exactly use the same format you would see on a heart rate monitor with expected characteristics and addresses. That means, you must use ou…
-
We created metahub for this: https://mbientlab.com/tutorials/MetaHub.html
-
After some research, I get that the final decision regarding BLE connection parameters is made by iOS, and Mbient cannot force it. You are correct. Do you have any useful experience in this topic? We experiment a lot and also l…
-
We are not able to access your data. You own your data.
-
what is your end goal exactly? You need to treat the closure as a sort of separate function that lives in it's own world (it knows nothing about print_accel_data - it just gets called/does something when the data signal comes back with data): htt…
-
I think you should read the function: "parse_value" and see how it extracts the data from the callback (from the sensor bluetooth stream). data is a pointer to the sensor data and it needs to be parsed correctly. Please see some examples here: ht…
-
Works for me on swift 4. Are you on swift 5? Never mind I tried it on swift 5 and it works fine too. Your code looks fine. Can you check against my sample app? https://github.com/mbientlab/MetaWear-SDK-iOS-macOS-tvOS/tree/master/MetaWearApiTest …
-
mbl_mw_datasignal_subscribe(signal, bridge(obj: self)) { (context, obj) in let acceleration: MblMwCartesianFloat = obj!.pointee.valueAs() }
-
let uuid = UUID().uuidString var array: [UInt8] = Array(uuid.utf8) let up: UnsafeMutablePointer = UnsafeMutablePointer.init(&array)
-
I did look at your data in more details. There is only one overlap in timestamps between two (out of three) of your time series. It occurred in this time frame: * Saturday, March 7, 2020 3:02:12.011 AM * Saturday, March 7, 2020 5:25:27.287 AM …
-
Can you back your claims with actual data? Can you show details of this? You haven't really pointed to anything specific. You just finally uploaded random files but we are not going to look through them for you...
-
I added more example code for you in the SDK API test: https://github.com/mbientlab/MetaWear-SDK-iOS-macOS-tvOS/blob/master/MetaWearApiTest/MetaWearApiTest/DeviceDetailViewController.swift Everything is working just fine for me. You can use my ex…
-
Please get more comfortable using Python. Clearly this is simply a case of python dev limitations and not a bug with our SDK. Also read our tutorial sections on the data formats.
-
I still think it's a reset problem. If you ensure that you reset your sensor with these steps: https://mbientlab.com/tutorials/CPPDevelopment.html#reset I bet it won't happen anymore. Can you confirm? At least this would prove the log/reset issue …
-
Post data and bug details or this thread will be closed.
-
So what is your error? Will close this thread if no proper error is posted.
-
www.mbientlab.com/troubleshooting
-
Can you send us steps to replicate? Again, if we can't replicate we can't do anything on our side.
-
Please post issue with code and screenshots of the error.... I am not able to replicate.
-
@Vinay, Any news on this? We would like to be able to replicate it but we are not able to do so.
-
What should be the best approach towards calculating the velocity and displacement? This is not something we will comment on. We give you the sensor data, it is up to you to do what you want with it. Read some white papers on this subject m…
-
Use the APIs: www.mbientlab.com/tutorials and then write a script in python or js to combine everything...
-
use https...not ssh.... Here's a how to: https://confluence.atlassian.com/bitbucket/clone-a-repository-223217891.html You should know how to code is swift and use git confidently or you will have a bad time.
-
BRUSH UP ON YOUR SWIFT. THIS IS NOT AN SDK ERROR!!! THIS IS ABOUT SWIFT SYNTAX!! Look at the rssi type and fix your code.
-
ok so you have self.device.board and then you have self.board ... which one is it? read your code, it's got errors. THESE ARE NOT SDK ERRORS. THERE ARE CODING ERRORS. Brush up on your swift.
-
@charishma, thank you for posting the answer and linking the appropriate thread.
-
If the values in the overlap are correct, what is the problem? What is the bug?
-
Also, if you fully reset your board (use the reset from our tutorial -> https://mbientlab.com/tutorials/CPPDevelopment.html#reset), does it still happen? We think this happens then the device log hasn't been fully cleared after a download. …
-
Can you send us the device diagnostic, Device information (MMC, which firmware, which version?), and the full code to replicate. We want to look into this asap.