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

Printer did not respond after 1 second(s) #2

Open
alexsuslov opened this issue Mar 25, 2021 · 0 comments
Open

Printer did not respond after 1 second(s) #2

alexsuslov opened this issue Mar 25, 2021 · 0 comments

Comments

@alexsuslov
Copy link

iMac:go-3d-printer $ ls /dev/tty.usb*
/dev/tty.usbmodem3853306E35391

iMac:go-3d-printer $ go run cmd/wifi/wifi.go
...
INFO[0000] bytes Received data=2 n=1
INFO[0000] bytes Received data=0 n=1
INFO[0000] bytes Received data=2 n=1
INFO[0000] bytes Received data=1 n=1
INFO[0000] bytes Received data=- n=1
INFO[0000] bytes Received data=0 n=1
INFO[0000] bytes Received data=1 n=1
INFO[0000] bytes Received data=- n=1
INFO[0000] bytes Received data=2 n=1
INFO[0000] bytes Received data=1 n=1
INFO[0000] bytes Received data="\n" n=1
INFO[0000] bytes Received data=o n=1
INFO[0000] bytes Received data=k n=1
INFO[0000] bytes Received data="\n" n=1
FATA[0001] Timed outed trying to detect firmware: Printer did not respond after 1 second(s)
exit status 1

In my mind we have to collect bytes until the result appears "ok\n"

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