Scott Simpson wrote:

> Hey gang,
>
> Long-time listener, first time caller.
>
> I am attempting to send a few bytes of data from a cradled Palm to a Windows
> app via the serial cable.
>
> I presume that I cannot use the Serial Manager since HotSync will own the
> COM port on the Windows side.

That is a false assumtion.  Nothing is "seized" on the action of inserting the
device into the cradle unlike other more unsocial environments.

>
> So, I am left with something simple like a Berkeley-style socket from the
> Palm to the Windows app, which sounds simple enough.

[snip]

> Or is there a simpler way of doing this?
>

Yes there is.  First, you can use the Serial Manager when the device is in the
cradle.  HotSync is just another application that communicates with the desktop.

The "magic" of it is that this is the default application launched when the
HotSync cradle button is pressed.  You can write you app to trap the hardChr
character event that is created by the HotSync button.  You can even set your
application to be the one that launched when the local HotSync button is pressed
via the Prefs application.

I assume you don't desire to work with the desktop HotSync Manager.  That is
fine.  You'll just need to make sure that your Windows application is running
and has control of the cradle serial port before you Palm application starts up.

A good first try of this is to write a program that sends and receives
characters on the Palm and then startup a terminal emulator on the desktop to
make sure it is communicating across the serial port.

Steve

>
> Hopefully, that's clear.  Any help would be much appreciated.  I hope I'm
> missing something obvious...
>
> Thanks,
> Scott

Reply via email to