ryanferrell

macOS/iOS developer @ mbientlab

About

Username
ryanferrell
Joined
Visits
69
Last Active
Roles
Member, Administrator, Moderator

Comments

  • Are you using the Cpp repo directly or as a submodule within one of the Swift wrapper SDKs? For the crash, could you paste in the log output for the crash? (Enabling the SDK's console logger for Bluetooth packets would be awesome, if you can.)
  • @Anuroop, Can you link to this code in a repo or can you make a gist including anything MetaWear related? If you're using the Cocoapods/Bolts based SDK, the MetaWear class doesn't have a function flashLED. An example of how to drive the led is…
  • @Anuroop Can you provide more details about what led up to this problem? For example, which app(s) are you using to stream data (or is the code you've written to do so)? Have you tried factory resetting the device? (Sometimes BLE communication…
  • @connorwinter The simulator doesn’t support Bluetooth. You’ll need to run it on a device or macOS. FYI - We’ll also be updating Streamy next week in tandem with a new TestFlight of MetaBase 5.
  • @robin Re throttling, see if these two test cases work for you. To run the tests, launch the SwiftCombineSDKTestHost.xcproj. So tests can be run automatically against specific local devices with specific sensors, they are constrained to UUID i…
  • @robin Glad you're having some fun! Does the new head commit — 33e689ec tag 0.5.2 — resolve the throttle and build issues mentioned? It renames throttle to throttleData. The build issue was the C++ SDK mainlined a new functionality yesterday a…
  • @atonino Quite important to our own projects, too. It's possible this is a bug in the C++ library. See if the attachment to my response in this post is a fix. There's a PR in review for it.
  • @robin If you have any interest in a beta Combine SDK, today or tomorrow we'll push a version with sugar around some data processing. Example: metawear .publishWhenConnected() .log(.sensorFusionEulerAngles(mode: .ndof), withProcessing:…
  • @robin Thanks for providing simplified code, a clear explanation, and the backtrace. Super helpful. First off, this is a bug in the C++ library. We will push an updated C++ library shortly. A quick fix replacement file is attached to get you m…
  • @HMSL For the moment, the Android source is here: https://github.com/mbientlab/MetaWear-Android-MetaBase-App. I'm on the iOS team and am a total sheeple, but will flag this for others who have Android devices. At least on macOS and iOS MetaBase, t…
  • @atonino I might be completely off base — and my background is in Swift — but I had to poke at a similar sounding crash when writing the Swift Combine SDK that involved downloading data processor-gated or event-timer-polled logger. I believe t…
  • @ThomasMcGuckian I've PMed you a private version of MetaBase with your "download lazily" button. Here's a screen cap of it in MetaBase 5: https://user-images.githubusercontent.com/78187398/150895480-e6314758-24e3-456d-b963-de0c1b76fbb6.mov …
  • @ThomasMcGuckian Re: Stop logging, no download button. Useful. The next beta release will include this. Re: USB. Useful, too. Laura is working on Python Windows/Linux functionality, but I'm not familiar with the Swift frameworks for this. On t…
  • @ThomasMcGuckian How is Bluetooth signal for you on the M1 Mini? We've re-skinned MetaBase and added iCloud sync for sensor recordings. A beta is on TestFlight or you can clone this branch. Some diagnostics and firmware features aren't added i…
  • @drive1976 @jjm345 @moccasin655 A preview of a new MetaBase app for macOS and iOS is on TestFlight. It uses iCloud sync for devices and sensor recordings. We built it on an M1 Mini. On the App Store is also a new MetaWear app, built using SwiftUI…
  • @Ben_R... We're building a Swift SDK using Combine. It's less verbose, ditches Bolts, and requires no unsafe Swift. We're wrapping up a tutorial series with SwiftUI demo apps. Given your SwiftUI work, I'd love to hear your reaction to the curr…
  • @iamjannisgrimm We're building a Swift SDK using Combine. It's less verbose, ditches Bolts, and requires no unsafe Swift. We're wrapping up a tutorial series with SwiftUI demo apps. Given your SwiftUI work, I'd love to hear your reaction to th…