Skip to content

Conversation

@SuperOok
Copy link
Contributor

Added a boolean flag for a serial connection (COM Port) to configure the RST/DTR flags of the serial connection.
I testet it and can confirm it fixes #394 for me.

int stopbits;
boolean monitor = false;

// whether to pull DTR to GND during reset or not
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is wrong. As to the jssc doc It should state "initial state of RTS&DTR line(ON/OFF)"
I would also add: Some boards reset when the serial port is opened with RTS and DTR low.
Basically the value is not used during reset so it is confusing to reference reset.
jssc doc I reference to http://java-simple-serial-connector.googlecode.com/svn/trunk/additional_content/javadoc/0.8/index.html

@jantje jantje merged commit 208272a into Sloeber:master Mar 22, 2016
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.

ESP8266 resets when serial monitor is opened

2 participants