Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Using SerialPort from org.eclipse.cdt.native.serial

Hello,

 

I was wandering if the public methods of class SerialPort from the plugin org.eclipse.cdt.native.serial is a public API, than can be used by other plugins?

 

If this class is an API:

Are the Strings retuned by list() to be used directly to open the COM ports?

In the Windows implementation, It works for COM1 and COM3, but for COM40 it failed.

Looks like there is some path massaging that needs to be: instead of “COM40” I need to pass “\\.\COM40”.

Here is a bit info on this: http://stackoverflow.com/questions/11775185/open-a-com-port-in-c-with-number-higher-that-9

 

Is this something that the clients should do, or it should be inside the class implementation?

 

Thanks

Dobrin

 


Back to the top