|
-
January 17th, 2007, 10:31 PM
#1
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?
-
January 21st, 2007, 12:56 PM
#2
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.
Good Luck,
Craig - CRG IT Solutions - Microsoft Gold Partner
-My posts after 08/2015 = .NET 4.x and Visual Studio 2015
-My posts after 11/2011 = .NET 4.x and Visual Studio 2012
-My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
-My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
-My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
-My posts before 04/2007 = .NET 1.1/2.0
*I do not follow all threads, so if you have a secondary question, message me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|