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

exclude binary corrupted pre opening port content #2

Open
wassfila opened this issue Oct 5, 2016 · 6 comments
Open

exclude binary corrupted pre opening port content #2

wassfila opened this issue Oct 5, 2016 · 6 comments
Labels

Comments

@wassfila
Copy link
Member

wassfila commented Oct 5, 2016

first data is most of the time corrupted right after opening the serial port

@wassfila
Copy link
Member Author

wassfila commented Oct 5, 2016

resolved by commit 6d76488

@wassfila wassfila closed this as completed Oct 5, 2016
@wassfila
Copy link
Member Author

wassfila commented Oct 5, 2016

still on the console

@wassfila wassfila reopened this Oct 5, 2016
@wassfila
Copy link
Member Author

wassfila commented Oct 6, 2016

it's complex because filtering the printable characters does not remove the gibberich

discarding the first port read still has an issue, port unreadable any more

@wassfila
Copy link
Member Author

wassfila commented Oct 6, 2016

So funny, it was working but the printf does not flush immidiatly unless you have a new line
http://stackoverflow.com/questions/1716296/why-does-printf-not-flush-after-the-call-unless-a-newline-is-in-the-format-strin

wassfila added a commit that referenced this issue Oct 6, 2016
@wassfila
Copy link
Member Author

wassfila commented Oct 6, 2016

discard first read d794955

@wassfila wassfila closed this as completed Oct 6, 2016
@wassfila
Copy link
Member Author

wassfila commented Oct 8, 2016

for some reason, even after discarding first read, gibberish is still there
log1.txt

@wassfila wassfila reopened this Oct 8, 2016
@wassfila wassfila added the bug label Oct 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant