Received characaters clipped - System.IO.Ports
I've got an issue with the data received (or transmitted) using System.IO.Ports. I have eliminated the hardware as the problem by creating a simple loop back such that whatever I send is echo'd back. The problem I am having is that any value greater than 0x7F (127) returns 63 decimal. So, I can send out 1 - 127 and I get what I expect. However, 128-255 all return 63.
My first thought was that I screwed up on the comm settings and set it at a 7,N,1 instead of 8,N,1... but that wasn't the case.
To me it appears that it's using some sort of 7 bit ASCII representation.... any suggestions?
Re: Received characaters clipped - System.IO.Ports
Can you post the sending and receiving code? This could be several things.
If you want to do some more investigating on your own first, you probably do want to keep heading down the encoding path. 128 is the beginning of the Extended ASCII Table, so I doubt this is a coincidence.