I've still some problems with using the BlinkstickUniversal Project within my own test project.
Meanwhile I found out, that it the latest Microsoft.NETCore.UniversalWindowsPlatform (5.2.2) is needed.
As my project used 5.1.0 the BlinkstickUniversal Project was downgraded and could not be compiled after this.
After updating the Framework via NuGet, the App can be deployed to my Rasperry Pi 3 without any problems.
But now: new problem: no connection.
FindFirstAsync finds a "Blinkstick".
Just to be sure this is no "false positive" I disconnected the Blinkstick and run the App again -> no blinkstick, no connection, no FindFirstAsync - so this seems to work like it should.
But when I use
theBS.OpenDeviceAsync(BlinkStickUniversal.BlinkStickDeviceEnum.BlinkStickPro) nothing seems to happen.
I found out, that there is a problem in OpenCurrentDevice:
this.device = await HidDevice.FromIdAsync(info.Id, Windows.Storage.FileAccessMode.ReadWrite);
This value of info.Id is given to the function:
What is going wrong? Any idea how to solve the problem?