Skip to content
New issue

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

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

Already on GitHub? # to your account

get invalid port name on Windows(commit 0996f84) #194

Open
fcying opened this issue Aug 9, 2024 · 1 comment
Open

get invalid port name on Windows(commit 0996f84) #194

fcying opened this issue Aug 9, 2024 · 1 comment

Comments

@fcying
Copy link

fcying commented Aug 9, 2024

in the pre commit(f5a4685), use Refresh func get port name Found port: COM1
last commit(0996f84), Found port: \Device\Serial0

func Refresh() []string {
	ports, err := serial.GetPortsList()
	if err != nil {
		log.Fatal(err)
	}
	for _, port := range ports {
		log.Printf("Found port: %v\n", port)
	}
	return ports
}

Is there a way to switch back to the original display?

@abakum
Copy link

abakum commented Feb 3, 2025

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

No branches or pull requests

2 participants