stephen
About
- Username
- stephen
- Joined
- Visits
- 557
- Last Active
- Roles
- Administrator
Comments
-
setConfiguration should only be called once. Think of it as installing a program on your computer. Your app should have some notion of a setup phase where you scan for MetaWear's and then choose the one you want to use. At this point you connect …
-
Unfortunately we haven't played much with Swift, so I can't comment on the differences you are seeing with regards to compiler errors. However, what you have looks correct. Can you confirm that after you connect to the MetaWear and call "self.dev…
-
A very good question, I wrote a blog post for the benefit of all. Please let me know if you have further questions or feedback.
-
The MBLMetaWear object has a "state" property which contains the connection state. This property is KVO compliant so you add an observer to be notified of state changes. After connected start observing like this: [self.device addObserver:self f…
-
To use MetaWear in the background you first need to enable background mode "Uses Bluetooth LE Accessories" as show here: Then you can just call connectWithHandler: and the callback with complete whenever the specified MetaWear is in range. T…
-
What sample frequencies are you using? BLE is not a high bandwidth radio and trying to stream accelerometer data higher than 100Hz will get you into trouble. Since the iPhone only has a single BLE radio that 100Hz is shared between all connected d…
-
You can capture the MBLMetaWear object in the callback. For example: for (MBLMetaWear *cur in devices) { [cur.mechanicalSwitch.switchUpdateEvent startNotificationsWithHandler:^(MBLNumericData *obj, NSError *error) { NSLog(@Switch …
-
Correct, the switch must be set to on to enable the High Pass Filter/Low Noise Mode/Auto Sleep. Note that you must change these settings before you begin streaming or logging (they won't take effect until you stop and restart the log or stream). …
-
The sample app has been updated so that the LED will blink forever (as it did before). There is also a new API which allows you to choose the number of flashes: - (void)flashLEDColor:withIntensity:numberOfFlashes:
-
This is fixed in iOS API 1.5.1
-
There are some updates underway now that should address that. I will make sure to test that case out specifically and let you know.
-
The supplied firmware images will only work through DFU, so the original bootloader must be present to install them.
-
Yes it is working. The sample app has a "Start Tap Detection" button which enables it (you might want to check that out https://github.com/mbientlab/Metawear-SampleiOSApp/blob/master/MetaWearApiTest/DeviceDetailViewController.m) Here is the reven…
-
I found a tool that lets you view ANCS data on your mac. Its a 2 part program, one that runs on iPhone and exposing the ANCS service, and another running on the mac which connects to the iPhone and reports notification data. You can find it here: …
-
Thanks for the details response. So, last question before we will get together a firmware with more debug hooks. If you set attributeId:MBLANCSNotificationAttributeIDNone and attributeData:nil will the light blink?
-
Thanks for the willingness to help out, and great idea to shoot a video...I have a few more questions after watching. 1. Just want to double check that you have the latest firmware on the MetaWear (0.9.0) 2. What version of iOS do you have? 3. U…
-
Good news! With regards to LED, that is the expected behavior now. The latest firmware had some power optimizations for LED driver. In the next iOS app release we will have more LED features exposed that will give all around better control!
-
Heath, If you could try a few things I think we can get to the bottom of this. First, my findings on iMessaging myself from my iPhone 6+. If I start a new conversation using my phone number then messages sent are echo'd back in the same threa…
-
Each call to -[MBLANCS eventWithCategoryIds:identifier:] will in-fact create a new MBLEvent. After you initially create an MBLEvent, you should use -[MBLMetaWear retrieveEventWithIdentifier:] to recover it. The MetaWear API will persist MBLMet…
-
Issue confirmed, will add header file in next release (coming soon).
-
Thanks for reporting the issue, I will look into it. Also, since the device has to be connected to an iOS device to receive ANCS events. It might be better to think about using notifications rather than logging anyways.
-
iOS dev here, it's not currently possible to dump the raw notification attribute data. As you might of seen, we do offer the ability to match a single notification attribute, but I can see how not having access to the data will make it difficult to…
-
Thanks for bringing up the issue, this will be fixed in the next iOS API release. That release should be out by end of week.
-
We have just released a new iOS API release (v1.0.0) which makes the main thread the default for callbacks, so you don't have to explicitly dispatch everything to the main queue anymore.https://github.com/mbientlab/Metawear-iOSAPI/archive/1.0.0.zip …
-
We have just released a new iOS API release (v1.0.0) which makes the main thread the default for callbacks, so you don't have to explicitly dispatch everything to the main queue anymore.https://github.com/mbientlab/Metawear-iOSAPI/archive/1.0.0.zip …