I'm trying to get a serial communication over USB between an Arduino Nano and the Raspberry Pi 3. On the Raspberry is Windows IoT installed with a Background App that should read the incomming data.
My problem is that i can't find the connected Arduino. I wrote a simple app to iterate through all devices but i don't get a DeviceInformation for the connected Arduino.
public sealed class StartupTask : IBackgroundTask
{
public void Run(IBackgroundTaskInstance taskInstance)
{
while (true)
{
var devices = DeviceInformation.FindAllAsync(SerialDevice.GetDeviceSelector()).AsTask();
devices.Wait();
foreach (var dev in devices.Result)
{
Debug.WriteLine(dev.Name);
}
}
}
}
Has anyone an idea what is wrong? Maybe i have to install drivers manually?
Note: I can also find no device in the webinterface List of connected Device on Webinterface
Thanks in advance.
EDIT:
I found out that the Name is always the same, so i changed it to print the ID.
I inserted the DeviceCapability Node and now i getting a bunch of informations. I'll guess the Id's starting with USB are interessting. But i'm getting always the same, regardles if the arduino is pluged in or not.
Here is one Example: \?\USB#VID_0424&PID_EC00#5&3753427a&0&1#{ad498944-762f-11d0-8dcb-00c04fc3358c}{2697A3B2-2715-443C-8A9F-B050D699B775}
Current OS Version: 10.0.14393.448