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

EnhancedSerialConnection.Find(); Results In Timeout When Arduino Is Connected #27

Closed
Brittank88 opened this issue Sep 12, 2018 · 2 comments

Comments

@Brittank88
Copy link

Brittank88 commented Sep 12, 2018

As the title suggests, EnhancedSerialConnection.Find(); results in a timeout error when an Arduino device is connected to one of my ports. If there is no device connected, the connection is null meaning it is indeed picking up the device, but timing out before whatever data exchange occurs can fully take place.

Is there any way for me to disable the timeout of EnhancedSerialConnection.Find();?

EDIT:
The stacktrace shows at Solid.Arduino.ArduinoSession.GetMessageFromQueue(FirmataMessage awaitedMessage)

@skpotocny
Copy link

I had a similar problem working with the embedded Leonardo on a LattePanda SBC. I found that setting DtrEnable after creating the EnhancedSerialConnection cleared this up. I found this suggestion on the issue 19 message trail.

@Brittank88
Copy link
Author

Thanks for your advice!

Unfortunately I'm unable to test this as the project involving it concluded (and there were other larger issues present anyway).

Hopefully others come across this if they're having the same issue.

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

3 participants