Skip to content

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