Scott Dattalo <[EMAIL PROTECTED]> writes:
> I've spent the last few hours pouring through code trying to find examples
> of how all this wonder irda library can be used. But, I could spend
> weeks...
> What I'm looking for is either documentation of the API or applications
> that make extensive use of it. Now I realize the breadth of this request,
> so let me describe specifically what I'm trying to do. I'm working on a
> Pilot app that needs to communicate via IrDA to a remote device. It'd be
> trivial to use obex except for one tiny detail; the Pilot obex api is not
> exposed (at least AFAIK).
You can find an example in the Pilot SDK on how to use their Exchange
Manager. The Exchange Manager is a wrapper over IrOBEX. Its API is general
and could be used over HTTP, FTP etc as well, but right now it only
supports IrOBEX.
> So I'm confined to IrLMP and TinyTP (for the
> most part). In order to test my pilot application, I want to write
> relatively simple Linux programs that can connect to the pilot and
> exchange data. Irdadump is a good start, and perhaps that's where I
> should
Irdadump is not a good start! Then you would have to implement your own
IrDA stack. To use the Linux IrDA stack, you should use the sockets API
(AF_IRDA). But in your case you should probably just use IrOBEX instead.
> begin. But I'd like to seek advice from others before I dive in too
> deeply.
>
> Scott
-- Dag
--
/ Dag Brattli | The Linux-IrDA Project /
// University of Tromsoe, Norway | Infrared communication for Linux //
/// http://www.cs.uit.no/~dagb | http://www.cs.uit.no/linux-irda/ ///
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda