I'm developing in Visual Studio 2013 Pro with Dev for IoT 1.0 added on. My target is a Galileo Gen 2 running 9600.16384.x86fre.winblue_rtm_iotbuild.150309-0310_galileo_v2.
I can use the Serial object exposed by HardwareSerial.cpp to talk to the "\\.\COM1" device. However, when I try to open Serial1 to access the second port on "\\.\COM2", I get an "Error 2 due to invalid handle value: The system cannot find the file specified." What is the correct _comPortName for the second port?