Closed donv closed 9 years ago
Hi!
I see the tests fail in travis, but they succeed for me locally on Linux and OS X. Do they pass for you?
Hi!
OK, travis build is green! Any chance this can be merged and released?
@donv ah yes so your source is sending you a null character, but rubyserial is passing it along as a ruby nil
and not the 0x00
. A similar change is required for the windows implementation so that we have consistent behavior between both platforms https://github.com/hybridgroup/rubyserial/blob/master/lib/rubyserial/windows.rb#L64
@zankich yes. Do we need to fix it for windows before merging this PR?
@donv yes if you wouldn't mind making the change and then we can test to make sure the behavior is correct, thanks!
Hi @zankich !
I do not have a Windows development environment, and I don't want to invest in that now. It would be great if you could add the fix for non-windows users, and a contributor on windows could fix it for windows.
Is that doable?
@donv yes I'll merge this now and get the windows fix in place, thanks for the pull request!
We experienced getting nil instead of a zero byte when reading using getbyte.
Can this make the 0.2.2 release? :smile: