Re: Serial Port Comms

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Tue, 25 Oct 2005 02:38:13 -0700, "Chris Baker"
<ChrisBaker@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

>I have developed a PocketPC application which has to copy a file via a serial
>port.
>
>I am using hyperterminal to monitor what is being reveived at the other end
>of the serial port. But the data comes out corrupted while it should be a
>readable ascii text string.
>
>For example I get '??' instead of a return character. I know pocket PC se
>16 bit characters but I have tried converting them to CHAR but nothing
>happens.

What is the source of the strings you send? Are you generating them in
your code, reading them from a file or ...? How have you tried to
convert? I assume you converted before sending (because I don't know
how you would get Hyperterminal to convert them).


>
>Any ideas?

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.



Relevant Pages

  • Re: Wanted: Solution to virtual tty capture problem.
    ... > Under SCO OpenServer 5.0.5, an application that can listen to, and read ... > read from the port. ... > believe paying for a manual (or set of manuals) is warranted for a single ... character that I hope will never be in the real data like ~ or some ...
    (comp.unix.sco.misc)
  • Re: simple serial string display help
    ... I had the serial string stuff already from various examples I had ... the main window so that it will be repainted, ... CreateFile- open the serial port. ... what you need to do is get the serial character that you want to ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: reading on serial port slow...
    ... FIFO has some characters waiting but no new ones have arrived ... IIRC "a while" is a few character times. ... the port to signal an interrupt after each character. ...
    (comp.os.linux.development.system)
  • Re: Problem in establishing RS232 Communication
    ... I use hyperterminal to transmit one character through COM1, ... MATLAB simply hangs. ... Now check if you are getting any port listed in port2Use variable ...
    (comp.soft-sys.matlab)
  • Re: Opening a COM port on Smartphone
    ... > On my PocketPC the ports are COM5 for inbound and COM8 for outbound. ... >> I don't know for the Smartphone but i know that, for PocketPC 2003, ... Note the BT serial port. ... using a thirdparty SerialPort component but everytime I try to call OpenI ...
    (microsoft.public.dotnet.framework.compactframework)