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
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
Comment