Is it possible to use System.IO.Ports in Unity?
I tried to use IoT.Device.PN532 based on System.IO.Ports in a Unity Project.
And now Unity shows:
PlatformNotSupportedException: System.IO.Ports is currently only supported on Windows.
System.IO.Ports.SerialPort..ctor (System.String portName, System.Int32 baudRate, System.IO.Ports.Parity parity, System.Int32 dataBits, System.IO.Ports.StopBits stopBits) (at <eabc9cb4ff56410badff95faf89658e0>:0)
(wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort..ctor(string,int,System.IO.Ports.Parity,int,System.IO.Ports.StopBits)
Iot.Device.Pn532.Pn532..ctor (System.String portName, System.Boolean checkVersion) (at <e77304a1d47943a791a1857e85d0f10f>:0)
pn532Reader.Start () (at Assets/pn532Reader.cs:11)