Skip to content

Conversation

@Portisch
Copy link
Contributor

@Portisch Portisch commented Dec 2, 2019

1. Tell us something about your changes.
Add a timeout on asynchronous write. Sometimes it happen that the .write is successful but no bytes are written at all. This will be catched by the timeout timer like the QSerialPort example is showing.

Also the handling of written bytes in function bytesWritten got modified as only one single transfer can be handled in one shot on the asynchronous connection.

2. If this changes affect the .conf file. Please provide the changed section
none

3. Reference an issue (optional)
See 1.

Note: For further discussions use our forum: forum.hyperion-project.org

@Paulchen-Panther
Copy link
Member

Vielen Dank für deine Arbeit. Ich hoffe du bleibst uns erhalten. 👍

@Paulchen-Panther Paulchen-Panther merged commit fe728b1 into hyperion-project:master Dec 15, 2019
@Portisch Portisch deleted the rs232_timeout branch December 16, 2019 09:58
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.

2 participants