Skip to content

fixed issue in windows mode changes undoing previous mode changes, fix type on _device com string, add support for binary serial flags in osx/linux #10

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

czb182
Copy link

@czb182 czb182 commented Jun 21, 2014

I was having issue witih $this->_device = ".com" . $matches[1];
so added another slash after period which fixed the com port string, so that device could be initialized.

I also issues with each successive mode change undoing one of the other calls
For instance, setting data bits to 8, resets parity. In order to do this, I set some windows defaults, then keep track of each change user does so that no change is lost.

I also added call for setting some serial flags in osx/linux for not breaking on special characters. This can be an issue when sending binary data.

czb182 added 2 commits June 20, 2014 23:16
reformatting default netbeans 8 style
keep track of all mode parameters for windows, which seems to reset other parameters when not set as part of the mode command
added support for setting serial flags in osx/linux for binary communication(not breaking on special characters)
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.

1 participant