FrozenKiwi
About
- Username
- FrozenKiwi
- Joined
- Visits
- 80
- Last Active
- Roles
- Member
Comments
-
Thanks for the answers. I'll take a look at porting my app to Linux, (although I kinda wanted to sell this eventually, and requiring Linux isn't very consumer-friendly). Sorry, I wasn't clear with the original question (just in case there is a s…
-
Hey, Is there a place we can check supported models/versions against firmware versions? I cannot update my MMC Model: 2, HW: 0.3. (no value for bootloader).
-
Not to mention any perf gain that comes from not awaiting the calls is almost certainly nix'ed by all the threading overhead. > Making every function that internally calls sendCommand return a Task is not an ideal solution. An ideal soluti…
-
>> The top level interface should not care about the implementation details and nor should the use Async is not an implementation detail. It is a promise. The IBluetoothLeGatt interface explicitly defines async methods. It is the res…
-
Oh yeah, sorry - I copied and pasted in my modified version of the code. In the original, they don't return Task (which is the problem). I see very different threading patterns in UWP vs Android, which is to be expected given the vastly different…
-
Hey Stefaan, Short update, I've been tracking some odd activity through Android for a while, and finally traced it to some issues with use of async in the API. I've rebuilt the API around 0.3. It's not quite ready for consumption (I also had …
-
Ok, I figured the problem: It was nothing to do with find, rather it was to do with several functions in the NETStandard API not being async, but calling async functions internally. In short: var gpio = metawear.GetModule(); …
-
Note - even something as simple as blinking the LED when transmitting data would be super-helpful. At least then we would know that 1/2 the system is working. Is there any way to trigger that?
-
Thanks for the clarification! I've been knocking my head against this for the last few weekends! Do you mean the variant I have used will continue to notify after the 65K iterations? Right now, I've implemented a watcher to reset the timer…
-
interestingly - if I change the call to scheduler = await metawear.ScheduleAsync(250, ushort.MaxValue, false, () => adc.Read()); then it continues streaming for a much longer time...
-
Calling var gpio = metawear.GetModule(); IAnalogDataProducer adc = gpio.Pins[2].Adc; adc.Read(); reads as expected, including setting the LED (ie - the route is intact on the device). It just seems the s…
-
After a bit more testing, the streaming stops pretty precisely @ 1 minute after schedule is started
-
route & scheduler are both class variables (not temporary).
-
firmware : 1.3.4, hardware metawearC 0.3 The code is fairly simple: IAnalogDataProducer adc = gpio.Pins[2].Adc; int threshold = Settings.MoistureThreshold; // convert from 0-1024 to 1-255 (raw -> byte)…
-
Can you share your code with me Stefaan? I haven't done any logging, so I might need to do some tweaking. I've got a new version with android-specific fixes waiting - I just need to push some fixes upstream to the bluetooth library
-
I had a bit of trouble on the UWP platform with various operations timing out (from memory the characteristic search on UWP was so slow that sometimes an operation would timeout before we'd even starting sending to the board). I increased the…
-
Hi Stefaan, Sorry for the radio silence, I've had a family emergency and have been on the road for much of the past month. I've made a few changes to the project in the mean time though - I've updated the .Net Core version to 2.0 and there are…
-
Hmmm... odd, there shouldn't be a difference! Whats the error message you get? I'll have to get my hands on an iOS device to do some testing.
-
Sorry - I need to update the readme to make it clear - the link in the readme points to the MBientLabs SDK (which this version was forked from), not a build of my version. Clone the source and reference the MetaWear.NETStandard project. I'd su…
-
See here for a port of the C# SDK to Net Standard. Works on just about everything, has a dependency on aritchie/BluetoothLE, but if you setup your projects to inherit dependencies (the new VS2017 method) you won't even know about it. https://gi…
-
Oh nuts... now I see it... Thanks for the RTFM :-)
-
Thanks for the pointer (note - the links in the documentation still 404) Unfortunately, this doesn't seem to get me closer to my goal. If I call gpio.Pins[2].Adc.Read(); A read result is streamed to my device, all fine & dandy. …
-
Note: This is how the "Start" button is implemented: var gpio = metawear.GetModule(); gpio.Pins[2].Monitor.Start();