At 5:31 PM -0800 2/16/00, Neelesh Gokhale wrote:
> I need to receive information from a PC on to my PALM (and vica versa)
> using IR. I saw some irda products which connect to the serial port of
>a computer. On Palm side I'll be using the palm api. My question is..
>What do I use on the PC side to send? What is the format/protocol on
>which Palm beaming works? So that when I send the data a particular
>registered application (mine) should recieve it.

Palm uses the IrDA protocols IrLAP, IrLMP, TinyTP, IrCOMM, and IrOBEX. See 
http://www.irda.org for info on these protocols if you're interested.

- On the device, you can use the IR Library to communicate using the first three 
protocols.This is fairly tricky. These protocols let you send packets back and forth.
- You can use the serial manager to communicate using IrCOMM. This protocol gives you 
a fake serial port on which you can send bytes back and forth. This was added as an 
extension but is now part of the OS. This is what IR HotSync uses.
- And finally, you can use the Exchange Manager to communicate using IrOBEX. This 
protocol lets you send or receive a single object, including meta-information such as 
filename and MIME type. You can have your app register to receive data with a specific 
extension. If you have your PC app use a filename with this extension, it should work. 
I haven't used it, but people mention QuickBeam. This is how the PIM apps beam data.

I put these in reverse order. Use the last if it suits your purposes. Use the first if 
all else fails!

HTH.
-
Danny Epstein - Applied Thought
No Palm is an Island - try BeamBooks
http://www.appliedthought.com/beambooks

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html
  • beaming Neelesh Gokhale
    • Danny Epstein

Reply via email to