Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

In windows,luars232 can not open "COM24" but can open "COM4" #1

Closed
zhangchunlin opened this issue Aug 10, 2010 · 2 comments
Closed

Comments

@zhangchunlin
Copy link

I can not open "COM24" with luars232,but when I change the com port name to "COM4",luars232 open successfully.And I can open "COM24" with HyperTerminal (hypertrm.exe).

I examine the code of luars232,but have not found the reason,and I have not VS2005,so I just submit this issue here.

Thanks.

@ynezz
Copy link
Owner

ynezz commented Aug 10, 2010

Hi,

Windows is crappy in this, serial ports 1-9 are valid names, but for ports above you need to use UNC name of the device - \.\COMxx, so please try to open the port with "\.\COM24" as device name and let me know if it helped. Thanks.

-- ynezz

@zhangchunlin
Copy link
Author

I try "\.\COM24" in lua,and it is opened successfully.Thank you very much,before you told me,I have no idea with the UNC device name.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants