Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows pipe serial problem #28

Open
smirkcat opened this issue Aug 18, 2017 · 0 comments
Open

windows pipe serial problem #28

smirkcat opened this issue Aug 18, 2017 · 0 comments

Comments

@smirkcat
Copy link

smirkcat commented Aug 18, 2017

hello:

I think this code setCommState should replaced by like this

if err = setCommState(h, options); err == nil {
		if err = setupComm(h, 64, 64); err != nil {
			return nil, err
		}
		if err = setCommTimeouts(h, options); err != nil {
			return nil, err
		}
		if err = setCommMask(h); err != nil {
			return nil, err
		}
	}

the vmware create the pipe serial port \\.\pipe\com_1 will can work

this idea form putty

in winser.c the line of 101

Otherwise it can not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant