This question really belongs on comm-dev-forum.

> I have seen that IrConnect(), IrPacket() methods present
> will do a lot of good to me and I ma trying to communicate with the
control.

IrConnect and IrPacket are typedefs (structures), not functions.

> I would appreciate if one of you can give me a sample application.

First, you should read the relevant sections of the Palm OS Reference and
Companion documents. You should read at least a high-level overview of the
various IrDA protocols at http://www.irda.org as well. This will help you
decide which of the IrDA protocols to use. I have posted several messages,
both in this forum and in comm-dev-forum, explaining the differences between
the various IrDA protocols supported by Palm OS:

        http://www.escribe.com/computing/communicationforum/m1131.html
        http://www.escribe.com/computing/pcpqa/m53175.html

Finally, to answer your question, there are no sample apps published by
PalmSource that use the IR Library. However, there are some apps written by
third parties and released with source code. The canonical example is IR
Ping by Till Harbaum:

        http://bodotill.suburbia.com.au/ir_ping/ir_ping.html

Many of us "cut our teeth" with IR Ping, myself included. Also see
BeamBooks:

        http://www.appliedthought.com/beambooks

We put the source in the public domain a while back.

Good luck!
--
Danny Epstein
PalmSource / Applied Thought

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

Reply via email to