|
@@ -86,8 +86,8 @@ public class RNSerialportModule extends ReactContextBaseJavaModule {
|
|
|
private int STOP_BIT = UsbSerialInterface.STOP_BITS_1;
|
|
|
private int PARITY = UsbSerialInterface.PARITY_NONE;
|
|
|
private int FLOW_CONTROL = UsbSerialInterface.FLOW_CONTROL_OFF;
|
|
|
- private boolean FLOW_CONTROL_RTS_CTS = UsbSerialInterface.FLOW_CONTROL_RTS_CTS;
|
|
|
- private boolean FLOW_CONTROL_DSR_DTR = UsbSerialInterface.FLOW_CONTROL_DSR_DTR;
|
|
|
+ private boolean FLOW_CONTROL_RTS_CTS = false;
|
|
|
+ private boolean FLOW_CONTROL_DSR_DTR = false;
|
|
|
private int BAUD_RATE = 9600;
|
|
|
|
|
|
|