Handle serialErrors

Authored by rizzitello on Aug 25 2018, 2:27 PM.

Description

Handle serialErrors

Summary:
Solve T9485 by

  • SerialLayer: emit serialErrors
  • AtCore: handleErrors from serialLayer
  • TestClient: Improve change to disconnect state

Most serial Errors are shown. Unless you get the error for device removal in that case, you will get a serial error about not being able to read from the device Then after some time about 2 minutes for my test device you will be disconnected from the device and atcore will close the serial layer.

Reviewers: patrickelectric, tcanabrava, laysrodrigues, leandrosantiago

Reviewed By: patrickelectric, laysrodrigues

Subscribers: Atelier: AtCore

Tags: Atelier: AtCore

Differential Revision: https://phabricator.kde.org/D15080

Details

Committed
rizzitelloAug 29 2018, 8:52 PM
Reviewer
patrickelectric
Differential Revision
D15080: Handle serialErrors
Parents
R232:e3ee2eb9ad5c: Improve change to disconnect state
R232:043e2e9822ab: Allow non reset on connect
Branches
Unknown
Tags
Unknown

Merged Changes

CommitAuthorDetailsCommitted
e3ee2eb9ad5cD15080rizzitello
Improve change to disconnect state 
Aug 29 2018
6c5e004b96e6D15080rizzitello
handleErrors from serialLayer 
Aug 29 2018
28149b3cdf1fD15080rizzitello
emit serialErrors 
Aug 29 2018