0

So I'm currently building an app in UWP to run on Windows 10 IoT Core. So far everything works like a charm. Except I'm using an Dragino GPS/LoRa module to get GPS data and process that.

Now, in linux you read the serial port /dev/ttyAMA0 and get the GPS NMEA messages. But how can I do this in C# on Windows 10 IoT? I can't find anything online and it's the first time I'm trying to do this... Could anyone help me with this?

SerialPort sp = new SerialPort("/dev/ttyAMA0", 115200, Parity.None, 8, StopBits.One); Wouldn't work, since I don't have any kind of SerialPort package installed and you don't have any /dev/tty* "map" on windows.... How can I still read the data from that hat?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.