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

Remove newlines from VERSION command. Fix for #16 #25

Merged
merged 1 commit into from
Oct 24, 2016

Conversation

mbaschnitzi
Copy link
Contributor

I would propose this fix for #16 which removes the additional newlines in the response of the VERSION command.

The specification states for "101:OK WITH TEXT": "The command has been successfully executed and this response is appended with an additional line of information, terminated with CR+LF"

Maybe the formatting of this line could be improved, but this should so far fix the issue with the chamtool.

I would rather fix this in the way displayed here than to include an exception in the chamtool code, as proposed in #19.

The newlines from the VERSION command response are removed, as they differ from the specification of "101:OK WITH TEXT"
@cons0l3
Copy link
Contributor

cons0l3 commented Oct 11, 2016

agreed, changing the firmware was out of my scope and abilities ;-)

@geo-rg geo-rg merged commit 8c3d2c3 into emsec:master Oct 24, 2016
@geo-rg
Copy link
Collaborator

geo-rg commented Oct 24, 2016

Thank you very much for your contribution!

@mbaschnitzi mbaschnitzi deleted the bugfix/version-oneline branch October 25, 2016 08:09
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.

3 participants