![]() ![]() The protocol is specifically designed to allow data communication in half duplex multi-point environments, but it can also be used for half duplex point-to-point RS-232C communication. Tramabuild.Append(((Int16)b).ToString("x")) Īs you could notice, I already try to send the received chain exactly as i received it, and even try to convert it to string, and then back to byte array with the exactly same result. SICP stands for Serial Interface Communication Protocol. ![]() StringBuilder tramabuild = new StringBuilder() My code Queue Port1Tail= Port1.lista // a queue of byte arrays received Received chain byte array, converted to string. When converting the byte array to string, the 02 and 03, values of STX and ETX still there, but when i send the byte array to the other port, it only sends Receiving the data is no problem, but when i try to write exactly the same byte array to the other port, STX and ETX dissapear, and I really can't figure why. I'm trying to receive a chain from a serial port, and writing it to another serial port
0 Comments
Leave a Reply. |