Jason Ginchereau

Results 139 comments of Jason Ginchereau

I have no plans. I am no longer working on node.js bluetooth projects, so I don't have the time or motivation to develop this project or a related one any...

`DeviceIOControl` isn't allowed in UWP apps published to the store. (Although developer / sideloaded UWP apps can call any Win32 APIs.) Even if it was allowed, it would be difficult...

The UWP API docs are nearly worthless. :( But I just realized `MinSamplingInterval` is a read-only property, so that's not going to help. This seems like a very unfortunate limitation...

I'm actually on vacation now, I won't be able to really look into this for at least a couple weeks.

Looks like a bug in [NodeRT](https://github.com/NodeRT/NodeRT). Unfortunately that project isn't very actively maintained anymore. Another reason to [consider not using NodeRT for this project](https://github.com/jasongin/noble-uwp/issues/4). But I personally don't have time...

All the code files changed in this PR are actually autogenerated by [NodeRT](https://github.com/NodeRT/NodeRT). So I'd rather not merge this because the changes would all be lost if the code was...

I noticed [a fix](https://github.com/NodeRT/NodeRT/pull/131) was merged into NodeRT (months after we last looked at this), so we should be able to update that dependency and regenerate the code to resolve...

I think what is needed is to add a call to `deviceRecord.device.close()` [in the `noble-uwp` disconnect() function](https://github.com/jasongin/noble-uwp/blob/master/lib/bindings.js#L122). I'm not able to test this at the moment, but I will try...

I found some discussion of this issue here: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/9eae39ff-f6ca-4aa9-adaf-97450f2b4a6c/disconnect-bluetooth-low-energy?forum=wdk There is a suggestion that also calling `close()` on all the `GattDeviceService` objects obtained from the device should allow it to...

I tried a few things, but could not get the device to disconnect. As far as I can tell this is a bug / limitation in the Windows bluetooth API.