tmalik
About
- Username
- tmalik
- Joined
- Visits
- 93
- Last Active
- Roles
- Member
Comments
-
Thanks Eric. I just created a work around. Declared a ton of variables globally lol. Btw, the app is now in the app store. Uses a DL model to count and time reps for metawear. Built on top of your template app. https://apps.apple.com/us/app/re…
-
Appreciate your patience Laura (and i know it's not really your job to explain these things - so appreciate the help! ) I was able to bring all the variables i had declared inside the function in the closure and code is working fine now.
-
Laura, Yes, the above works, fine. My question is about using a variable that is inside the function - in the closure. In the example below - when i use: _self.mult_outside ; code works fine but not sure how to use variable: mult_inside
-
Please note - 1. I agree that this is not an SDK error 2. My existing app is not building with the updated code and my clients are complaining. 3. I could hire a swift developer - but this is the only error i need to fix and have a short timeli…
-
Please see a sample function below: How do I use the variable "mult" inside the closure? Currently, I am getting an error: "A C function pointer cannot be formed from a closure that captures context"
-
Laura, yes - i am not a swift guy - but was able to use the previous SDK - having issues using the current one - I am not saying that there are issues with the SDK at all. My expertise is ML and I am trying to get the job done here - and asking…
-
The link that you sent had the nordic link (https://devzone.nordicsemi.com/question/60/what-is-connection-parameters/ ) which says that the connection interval should be between 7.5ms - 4s. "Determines how often the Central will ask for data from t…
-
ok...so this, (Min > Max ?) device.settings?.minimumConnectionInterval = 10 device.settings?.maximumConnectionInterval = 8 OR... device.settings?.minimumConnectionInterval = 8 device.settings?.maximumConnectionInterval = 8
-
Thanks Eric ! (Think you meant **min** connection interval = 7.5. Also , the connection intervals are integers - so set it to 8 ms)
-
FYI: I couldn't really find a reason for the error - checked that streaming and notification events were being properly added and removed.. so I fixed it by adding a check here: return [BFTask taskFromMetaWearWithBlock:^id{ ***** if (self.a…
-
Thanks Eric. (Should've done that myself
-
Ok.. the problem got fixed for a little bit and has reappeared :-/
-
I updated the firmware - and devices connect now - weird. Any ideas on why would this happen ?
-
This is the code block with the issue: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #31595d; background-color: #ffffff} …
-
Ok - so looks like the problem is with only one device - which switches to MetaBoot mode after I initiate data logging. Other two devices seem to be working fine. Can I send this device over - maybe you can take a look ?
-
Eric, I am working on testing this.. will get back today.
-
Eric, It is some custom code that I have written on top of the existing iOS code base (I am logging both accel and gyro data and then saving the same and performing some computation on the accel data). Since I want to use this in production , …
-
Ok great. Thanks Eric!
-
Yes - code works. Last time you mentioned concerns around adding step counting event - so wanted to be sure. Thanks!
-
Thanks Eric!
-
@Matt: Just saw this. And sure will do that soon and let you know.
-
I have the MetaMotion inside a plastic case (the case you had before the current one) and then attached the magnets with a tape.
-
Ok thanks, will try the suggestions. Also - I have repeated the experiment several times with both R and RG - with the same results.
-
I can try that. Although do you see any reason for the difference in the test results - for the simple test i did ? Also, could you pls try it at your end too - maybe I have a faulty device ?
-
- Yes. - Yes - I think these: https://www.walmart.com/ip/ProMag-Round-Magnets-1-2-50-pkg/24693202 Also the board worked fine for a week and then one fine day.. And anything in the Sensor Fusion mode crashes the app.
-
Configure the device? Same code base (iOS app code on your Github) for counting steps. Doing that along with capturing the accel data. Firmware up to date for both.
-
Eric, I hold the sensor with y axis of accelerometer pointing upwards and move the sensor up and down. R gives consistent (and accurate) results. I have repeated the experiment several times with the same result on R. However, RG updates …
-
Sorry , just saw this. Any streaming or logging related to magnetometer crashes the app.