On 7 Jan 2000, Dag Brattli wrote:

> 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.

And Frank suggested the Exhange Manager too. So I checked that out and it
mostly works - I can send data from the pilot to linux (irobex_palm3) and
it works perfectly. I'm having trouble sending data between two palms, but
that's a question for another list. (I'm having problems registering the
data type I wish to receive.)

> 
> > 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.

I'm taking the IrOBEX advice for the time being. However, in the
not-too-distant future I may be prohibited from using IrOBEX because
there's a device that I need to communicate with that doesn't support it.
I'd like to use Linux as the test bed - simulating what I expect the
device will send. So my question still stands (where should I look for
some good examples of IrDA socket programming), and it looks like the
irsockets/ subdirectory distributed with IrDA utils is the answer.

Thanks,
Scott


_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to