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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |