I have reproduced this example "to the T" using the RPi but when I connect to the USB-TTL device I always get a NULL returned.
The device is the same one used in the example with the RPi. The device also appears as shown in the sample in the Select Device dialog with the following Id:
\\\\?\\USB#VID_10C4&PID_EA60#0001#{86e0d1e0-8089-11d0-9ce4-08003e301f73}
Once I select and "Connect" as prescribed by the sample, the following line of code always returns null.
serialPort = await SerialDevice.FromIdAsync(entry.Id);
I have debugged and the entry.Id argument appears correct and is shown as Id:
"\\?\USB#VID_10C4&PID_EA60#0001#{86e0d1e0-8089-11d0-9ce4-08003e301f73}" string
I have also read the complete sample document and checked all the caveats. Why isn't this working for me?