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

Add support for SerialPort flags #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

TheZ3ro
Copy link

@TheZ3ro TheZ3ro commented Mar 6, 2020

Add support for SerialPort flags in SerialPortManagerjava
SerialPort flags are used in the C library here:
https://github.com/kongqw/AndroidSerialPort/blob/master/SerialPortLibrary/src/main/cpp/SerialPort.c#L98

but SerialPortManager.java has an hardcoded flag of 0
https://github.com/kongqw/AndroidSerialPort/blob/master/SerialPortLibrary/src/main/java/com/kongqw/serialportlibrary/SerialPortManager.java#L60

This PR doesn't break the previous API/interface but instead adds a new function overload/definition

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