>Subject: sending Hex
>From: "Ian Alston" <[EMAIL PROTECTED]>

>Date: Fri, 13 Oct 2000 09:04:41 +1000
>X-Message-Number: 20
>
>Guys,
>    I'm trying to send out a hex command through a serial port.  I can open
>and close the port without difficulty, and send out packets, but I need to
>send charachters like 0x0D etc, as control signals for my device.  Any
>ideas, sample code please!?
>Regards Ian

If you want an app that does this, check out Online at
http://www.markspace.com/online.html. You can program hex codes inside of
macros or memo pad records to transmit to the device. The new 1.5d2 version
also has a "hex terminal" mode where all data received is displayed in hex
and ascii on the screen as it comes in.

As to sending it in your own app, just pass whatever values you want to
send on to SrmSend - there isn't anything magic about non-printable
characters as far as those routines are concerned.

brian
-- 
_____________________________________________________________________
Mark/Space Softworks                               voice 408-293-7299
111 West Saint John, 3rd Floor                       fax 408-293-7298
San Jose, CA 95113                         <http://www.markspace.com>

        PalmOS, Mac OS, Windows and Web Software & Solutions:

         PageNOW! Wireless Messaging, PhoneWatcher Caller ID,
                   Fax Send and Receive for PalmOS
     Online & Communicate terminal emulation and serial debugging
          DataCord serial data cables for Handheld Devices

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to