On 2005-04-23, Dr. Vesselin Bontchev <[EMAIL PROTECTED]> wrote:
>> You can redirect IRDA to the emulator's serial port or put the
>> emulated device in loopback mode. Both are described in the POSE
>> manual, IIRC.
>
> Uhm, *where* is that?? All I could find was some PDF file containing a
> document named "Using Palm OS Emulator". It contains the word "infrared" only
> once, in the following context:
>
>> IR port Specifies which port Palm OS Emulator uses to emulate
>> infrared communications on the handheld.
>> NOTE: This function is not currently supported.
>
> which pretty much matches my observations. So, how do I do it? I have already
> redirected the serial port to TCP/IP and the Net.Lib calls too - but it
> doesn't help.
>
> Regards,
> Vesselin
Here is something from the old Palm FAQ:
------------------------------------------------------------------------------
3.9 - How can I debug beaming?
by Jay Hong
To debug beaming, use POSE. Please note that you will need a fairly fast
computer for this to be successful (500MHz+). Also note that I have only
used this process to beam apps, but it should also allow debugging.
1. Install the program you want to debug on POSE and on a real Palm
unit. If there are two different programs, load one onto the Palm
and the other into POSE. The one you're interested in debugging goes
into the POSE session.
2. Place the Palm in the cradle.
3. Turn off HotSync Manager.
4. Set POSE to use the serial port the cradle is connected to.
5. On POSE, go into MemoPad and enter shortcut.s This redirects IR
beaming to the serial port. Do the same on the Palm in the cradle.
6. Beam a database in launcher to ensure that beaming is working
correctly.
7. Debug beaming.
8. On Palm, go into MemoPad and enter shortcut.s to direct beaming back
to the IR port. Do the same in POSE.
If you lose track of whether or not IR is redirected, reset the device.
When a device comes out of reset, IR is directed to the IR hardware.
------------------------------------------------------------------------------A
The trick is shortcut s. I have no idea if this also works on PalmOS 5
devices.
HTH
Ton van Overbeek
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/