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

minichlink: Active polling of Ardulink device #501

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Baldanos
Copy link

Hi !

This PR allows to actively poll an Ardulink device instead of waiting for the '!' character.
The poll is done using the '?' command, which returns a '+' character.

Submitting this because the tool I develop uses a bus pirate-like interface. Switching to ardulink mode requires the user quit the terminal to run minichlink, and the initial '!' usually gets lost.

I also thought about changing the serial port behavior in minichlink (using timeouts on serial reads), but this solution is simplier and works on the original ardulink as well.

@Baldanos Baldanos changed the title Active polling of Ardulink device minichlink: Active polling of Ardulink device Jan 23, 2025
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

Successfully merging this pull request may close these issues.

1 participant