Windows 10 Serial Port Application

Parallel and serial ports not working in Windows 10 (Version 1511) Hi Since the 1511 update myself and my customers have problems with devices connected to COMx and LPTx ports.

  • The Windows.Devices.SerialCommunication namespace defines Windows Runtime classes that a Windows store app can use to communicate with a device that exposes a serial port or some abstraction of a serial port. Your Windows Store app must include device capabilities in its App package manifest. Please see this UWP sample: Serial Arduino sample.
  • I observed the same on a windows 10 Professional version too! Further, a tried running a sample UWP app for serial communication from Microsoft, which still did not detect any scanners connected over RS-232 connection. However I am able to establish serial communication using a USB to RS-232 instead on both winform app and sample serial UWP app.
  • Serial Monitor can be successfully used for monitoring data flow between serial devices and Windows application, debugging com port connections, developing, reverse-engineering and implementing serial protocol, serial device driver development, serial hardware development, research the functionality of any third-party software and hardware.
Active3 years, 6 months ago

using python on the Raspberry PI I use similar code to what is shown below to read data from the serial port:

Essentially I just want to be able to read a message off the serial port and perform an action based on that message.

How can this be achieved using Windows 10 Core and c#, Can anyone point me in the right direction or provide a code sample?

Access Serial Port Windows 10

Thanks in Advance for any help received.

Code Junkie
PortCode JunkieCode Junkie

Windows 10 Serial Port Application Form

2992 gold badges5 silver badges15 bronze badges

2 Answers

it turns out that the Serial Port on the PI is not supported yet, which is very frustrating: https://www.raspberrypi.org/forums/viewtopic.php?t=109047&p=751638

Here is the supported way:

Code JunkieWindows 10 com port applicationCode Junkie
2992 gold badges5 silver badges15 bronze badges

It is supported as of Windows 10 IoT Core version 10.0.10586.0. See: https://ms-iot.github.io/content/en-US/win10/samples/SerialSample.htm

RonRon

Serial Com Port Windows 10

Not the answer you're looking for? Browse other questions tagged c#raspberry-picorewin-universal-appwindows-10 or ask your own question.

Find Serial Ports Windows 10

-->

This section describes how to port your existing app to the Universal Windows Platform (UWP) where you can create a single Windows 10 app package that your customers can install onto all types of devices. Your app will benefit from exciting new hardware, great monetization opportunities, a modern API set, adaptive UI controls, and a range of input modalities including mouse/keyboard, touch, and speech.

The Windows Runtime (WinRT) is the technology that lets you build Universal Windows Platform (UWP) apps. You can refer to What's a Universal Windows Platform (UWP) app? for more background on WinRT and UWP apps.

This porting guide explains the differences between your current app's technology and the Universal Windows Platform (UWP). Once the path between technologies is understood, you'll be able to dive into the rest of the Developer Center, which is a comprehensive resource for developing UWP apps. A good way to do that, when you're ready, is to start with How to develop a Store app.

Windows 10 Com Port Application

TopicDescription
Move from desktop to UWPChoose one of several options to bring UWP experiences into your Win32 and .NET desktop applications.
Move from Windows Runtime 8.x to UWPIf you have a Universal 8.1 app—whether it's targeting Windows 8.1, Windows Phone 8.1, or both—then you'll find that your source code and skills will port smoothly to Windows 10. With Windows 10, you can create a UWP app, which is a single app package that your customers can install onto every kind of device.
Windows apps concept mapping for Android and iOS developersIf you're a developer with Android or iOS skills or code, and you want to make the move to Windows 10 and the Universal Windows Platform, then this resource has all you need to map platform features—and your knowledge—between the three platforms.
Move from iOS to UWPAre you an iOS developer, wondering how to make the move to Windows 10 and the UWP? It needn't be as scary as you think. We've got the tools, techniques, and info you need to make great apps that work as well on Windows as they do on your iOS devices: maybe better!
Move from Windows Phone Silverlight to UWPIf you’re a developer with a Windows Phone Silverlight app, then you can make great use of your skill set and your source code in the move to Windows 10. With Windows 10, you can create a UWP app, which is a single app package that your customers can install onto every kind of device.
Convert your web app to a PWAYou can now convert your web app to a Progressive Web App (PWA) will work on any platform, including UWP! The PWA Builder tool will generate the necessary manifest for you. This replaces the Hosted Web Apps (HWA) bridge.

Windows 10 Serial Port Application Download

Related topics