On Mon, 12 Jun 2000, Jean Tourrilhes wrote:
> Garst R. Reese wrote :
> > I'm constructing a device using a PIC16C773 micro which will transmit
> > SIR data to a PC and eventually a PDA of some sort, probably Palm XX.
> > The PC will be the client, the device server.
> > I have gleaned for the IR-HOWTO that different devices seem to use
> > different protocols, but somehow manage to identify themselves. Are
> > there any standards or recommended protocols? The micro has a uart of
> > sorts and I have built the circuits to do the RS232<-->IR.
> > Garst
>
> If you want to keep the complexity down on the microcontroller
> side, use Ultra (the spec is available inside the IrWW package). We
> are currently using bare Ultra, and we plan to go Obex over Ultra.
> Advantages :
> o much, much, much simpler to implement
> o More robust than full IrDA
> o faster than full IrDA
>
> Ciao...
>
> Jean
Since you're targetting the PIC, you may wish to check out Scenix's
implementation of the IrDA stack:
http://www.scenix.com/virtual/download/irda.html
They support through the IrLMP layer (supposedly).
Keep in mind that the Scenix chip while code compatible (for the most
part) lacks a UART. I'd suggest using their code as a reference for creating
your own IrDA stack and find a way in which the '773's UART may be used. The
'find a way' part is more difficult than it first seems becuase the infrared
beam is not a simple modulation of the one's and zero's from the UART. Instead,
a logic zero is a blip of infrared light one fourth of the bit time while a
logic one is no infrared light.
Scott
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda