hparra / ruby-serialport

ruby-serialport is a Ruby library that provides a class for using RS-232 serial ports
http://rubygems.org/gems/serialport
GNU General Public License v2.0
246 stars 58 forks source link

incoming CR (0x13) bytes get stripped #66

Open corecode opened 7 years ago

corecode commented 7 years ago

Seems the IO is opened in "text" mode and some ruby subsystem strips the carriage return (0x13) characters. That's no good if you are actually talking a binary protocol.

rickyzheng commented 5 years ago

This is caused by the config bug during port open, #68 pull request will fix this issue.