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

Added freeform string input on command line #46

Merged
merged 1 commit into from
Apr 9, 2016

Conversation

Baldanos
Copy link
Collaborator

@Baldanos Baldanos commented Apr 8, 2016

This patch adds the possibility to write strings in the command line that will be converted to their ASCII counterpart before being sent on each protocol :

> uart 
Device: UART1
Speed: 9600 bps
Parity: none
Stop bits: 1
uart1> "Hello world"
WRITE: 0x48 0x65 0x6C 0x6C 0x6F 0x20 0x77 0x6F 0x72 0x6C 0x64 
uart1> 0x01 "A" "B" 0x2:2
WRITE: 0x01
WRITE: 0x41
WRITE: 0x42
WRITE: 0x02 0x02 
uart1> test
WRITE: 0x74 0x65 0x73 0x74 
>

@bvernoux bvernoux merged commit 93117dc into hydrabus:master Apr 9, 2016
@Baldanos Baldanos deleted the string branch April 9, 2016 09:48
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.

None yet

2 participants