forked from scream3r/java-simple-serial-connector
-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Reported downstream: qzind/tray#476.
https://github.com/java-native/jssc/blob/master/src/java/jssc/SerialPort.java#L49:L55
Baud 2400 is missing, despite it being supported natively.
Infact, the API doesn't seem to restrict the baud rate, it's jint baudRate and it's not an enumerated type:
JNIEXPORT jboolean JNICALL Java_jssc_SerialNativeInterface_setParams
(JNIEnv *env, jobject object, jlong portHandle, jint baudRate, jint byteSize, jint stopBits, jint parity, jboolean setRTS, jboolean setDTR, jint flags){Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working