ReceivedBytesThreshold d'un SerialPort

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arbtec
    New Member
    • Jul 2008
    • 1

    ReceivedBytesThreshold d'un SerialPort

    Hi,
    I've a small prog using RS232 : sending bytes is Ok, but i've a problem for receive. My application send data by block (256), so i set ReceivedBytesTh reshold = 256, it seems to works but sometime doesnt work.

    Receive interrupt raise when 256 bytes are arrived but also when 0x1A (EOF) byte arrived; My problem is this value is a possible value and not an EOF, so I want to continue receiving other value and deal with 0x1A like with other one.

    So How can I configure my serialport to deal with 0x1A like with other value, and no gon in interrupt.

    regards

    arb
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Turn off flow control?

    Comment

    Working...