View Single Post
  #5   Spotlight this post!  
Unread 31-01-2003, 02:01
Micah Brodsky Micah Brodsky is offline
Registered User
#0824 (SWAT)
 
Join Date: Jan 2003
Location: Seattle
Posts: 5
Micah Brodsky is an unknown quantity at this point
Hmm... can't say I'm familiar enough with the Win32 serial APIs to check your code, but...

Did you try hooking up to another computer terminal with a null modem cable, to see if you could read known-good serial data?

Are you getting the '255, 255' signature correctly? If so, it's probably a good indicator that the communication infrastructure itself is at least nominally functional and properly set up, and vice versa.

Also, you explicitly checked for timeout conditions in the code that actually does the reading, right? Otherwise, you might just be reading uninitialized data members...

--Micah