问题
I'm trying the Microsoft sample for Serial Port and it's working on Raspberry Pi2 but not on local machine , on,local machine return null.
the DeviceCapability already added, that's why it's working on Pi2.
any idea why it's not working on local machine
local system: Win10 Ent. VS 2015.3
回答1:
I found this answer :(
Link
System-internal or on-chassis serial ports may be enumerated by DeviceInformation.FindAllAsync(), but cannot be opened by SerialDevice.FromIdAsync() because they currently are not supported. However, serial ports connected over USB, such as on USB-to-Serial cables are supported.
来源:https://stackoverflow.com/questions/41319056/uwp-serialdevice-fromidasync-return-null