msg1
Posts: 4
Joined: Mon Jul 24, 2017 1:42 pm

Windows IOT 10 10.0.17134.1 Serial Port problem

Mon Aug 20, 2018 11:29 am

Hi
Has anyone else found that they cant access the serial port on the raspberry Pi3 using the IOT core version 10.0.17134.1.
I have used a previous version (didn't keep a record!) and all worked ok.
Now , although I can obtain a list of serial ports using :-
string aqs = SerialDevice.GetDeviceSelector();
var dis = await DeviceInformation.FindAllAsync(aqs);
// status.Text = "Select a device and connect";
for (int i = 0; i < dis.Count; i++)
{
listOfDevices.Add(dis);
} :

Trying to create an instance of a serial port using this:-

SerialDevice serialPort = null;
serialPort = await SerialDevice.FromIdAsync(listOfDevices[0].Id );

returns a null serial port.

Unfortunately I do not have the previous version and I cant find the previous versions on the web site either!
I have contacted Microsoft and am awaiting a call with them soon.

So two questions if I may:-

1 Has anyone else experienced the same problem.

2. Does anyone else know where I can get previous versions from.

I will keep you up to date with the progress from Microsoft.

Thanks for your help

Regards

Mark

fruitoftheloom
Posts: 17838
Joined: Tue Mar 25, 2014 12:40 pm

Re: Windows IOT 10 10.0.17134.1 Serial Port problem

Mon Aug 20, 2018 12:35 pm

msg1 wrote:
Mon Aug 20, 2018 11:29 am
Hi
Has anyone else found that they cant access the serial port on the raspberry Pi3 using the IOT core version 10.0.17134.1.
I have used a previous version (didn't keep a record!) and all worked ok.
Now , although I can obtain a list of serial ports using :-
string aqs = SerialDevice.GetDeviceSelector();
var dis = await DeviceInformation.FindAllAsync(aqs);
// status.Text = "Select a device and connect";
for (int i = 0; i < dis.Count; i++)
{
listOfDevices.Add(dis);
} :

Trying to create an instance of a serial port using this:-

SerialDevice serialPort = null;
serialPort = await SerialDevice.FromIdAsync(listOfDevices[0].Id );

returns a null serial port.

Unfortunately I do not have the previous version and I cant find the previous versions on the web site either!
I have contacted Microsoft and am awaiting a call with them soon.

So two questions if I may:-

1 Has anyone else experienced the same problem.

2. Does anyone else know where I can get previous versions from.

I will keep you up to date with the progress from Microsoft.

Thanks for your help

Regards

Mark



Have you tried the latest Insider Preview Release, believe it is version 17733 ?

https://www.microsoft.com/en-us/softwar ... windowsiot
Adieu

msg1
Posts: 4
Joined: Mon Jul 24, 2017 1:42 pm

Re: Windows IOT 10 10.0.17134.1 Serial Port problem

Mon Aug 20, 2018 2:25 pm

Hi Adieu

Thankyou for your reply..

I have tried to dowdload that version but all I get is this;-

Error
We encountered a problem processing your request. Please try again later.
CloseFAQ

I need to find a stable website and try that version.

Thanks again

Mark

DirkS
Posts: 9475
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Windows IOT 10 10.0.17134.1 Serial Port problem

Mon Aug 20, 2018 2:36 pm

msg1 wrote:
Mon Aug 20, 2018 2:25 pm
Hi Adieu
:shock: :mrgreen:

DirkS
Posts: 9475
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Windows IOT 10 10.0.17134.1 Serial Port problem

Mon Aug 20, 2018 2:38 pm

msg1 wrote:
Mon Aug 20, 2018 2:25 pm
I need to find a stable website and try that version.
Just downloaded both previews without problems.
You don't need a more stable website, but a better internet connection / ISP / downloader...

fruitoftheloom
Posts: 17838
Joined: Tue Mar 25, 2014 12:40 pm

Re: Windows IOT 10 10.0.17134.1 Serial Port problem

Mon Aug 20, 2018 2:41 pm

msg1 wrote:
Mon Aug 20, 2018 2:25 pm
Hi Adieu

Thankyou for your reply..

I have tried to dowdload that version but all I get is this;-

Error
We encountered a problem processing your request. Please try again later.
CloseFAQ

I need to find a stable website and try that version.

Thanks again

Mark

You need to be signed in with your Microsoft Account, a Hotmail/Outlook one should suffice.....
Adieu

msg1
Posts: 4
Joined: Mon Jul 24, 2017 1:42 pm

Re: Windows IOT 10 10.0.17134.1 Serial Port problem

Mon Aug 20, 2018 2:55 pm

Hi

I will try to download using a different machine / isp combo

Will let you know how I get on

Regards

Mark

msg1
Posts: 4
Joined: Mon Jul 24, 2017 1:42 pm

Re: Windows IOT 10 10.0.17134.1 Serial Port problem

Fri Aug 24, 2018 9:22 am

Hi All
Just to close this post as I have solved my original problem.
It turned out to be as simple as enabling the Serial Device in the Package.appxmanifext.xml.
I added :-
<Capabilities>
<DeviceCapability Name="serialcommunication">
<Device Id="any">
<Function Type="name:serialPort" />
</Device>
</DeviceCapability>
</Capabilities>

I have also managed to join the Insider program and download the test version of IOT10 10.0.17733.1000.

Thankyou for your help

Regards

Mark.

francistiley5
Posts: 1
Joined: Fri Aug 24, 2018 7:49 pm

Re: Windows IOT 10 10.0.17134.1 Serial Port problem

Fri Aug 24, 2018 7:54 pm

Will definitely try and test this one on my PC. I have the same issue with my Windows 10 got from go2top.
Thank you for sharing this topic. It's very useful and helpful to me.

Return to “Windows 10 for IoT”