question

MingiKim-6225 avatar image
0 Votes"
MingiKim-6225 asked MingiKim-6225 commented

SerialPort problems in UWP

Hi, Microsoft.
I'm making an app communicate with MWM2 in UWP. I know I have to use Neurosky's API(Window ver.), but it doesn't work.
Well, first i tried RFCOMM communicate but, it failed. Because DataWriter can't use ASCII, DataReader can't communicate with device(The error occurred like server cut off the stream).
So I found another way, finally I found Bluetooth Serial Communicate. MWM2 connected with COM3, COM4.
I read it and I thought How many ports left? So I use SerialPort.GetPortNames(). However, the error occurred : Enumeration of serial port names is not supported on the current platform.
I wonder UWP can not use SerialPort communcation?

windows-uwp
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could you mind share your OS version and the app's target version, what device you tested with?

0 Votes 0 ·

Ooops Sorry, I use PC and the OS version is Windows 10(last update done) And that MWM2 is a brainwave measure device

0 Votes 0 ·

0 Answers