Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c3cdfd61de94df220d0024d5c512c6493f961325
Ticket: ea53aa804d4ef48bddf9e20869231d7017331b74
[Serial port] Ignore BREAK condition on read
User & Date: ggros on 2016-06-16 08:56:37
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Is it possible to ignore "BREAK" condition when reading a serial port channel ?
    I'm using a RS-485 line and disabling my HALF-CTRL pin causes a BREAK condition but I would like to be able to read my buffer channel anyway.
    
    Below, a capture of a Tkcon console of what I'm talking about
    ********************************************
    ********************************************
    (xxxxxx) 197 % fconfigure $rh -queue
    30 0
    (xxxxxx) 197 % fconfigure $rh -queue
    33 0
    (xxxxxx) 197 % fconfigure $rh -lasterror
    (xxxxxx) 198 % read $rh
    error reading "file3de1490": I/O error
    (xxxxxx) 199 % fconfigure $rh -lasterror
    BREAK
    *********************************************
    *********************************************
    
    Thanks for your support!
    
  5. foundin changed to: "8.5.19"
  6. is_private changed to: "0"
  7. login: "ggros"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "a313ebdb87fc8fe7e01137df5f31ae2a66d49c6e"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "ggros"
  14. subsystem changed to: "18. Commands M-Z"
  15. title changed to: "[Serial port] Ignore BREAK condition on read"
  16. type changed to: "Support"