[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tekram IR-210B
From: |
Jean Tourrilhes |
Subject: |
Re: Tekram IR-210B |
Date: |
Mon, 21 Oct 2002 10:10:55 -0700 |
User-agent: |
Mutt/1.3.28i |
On Sat, Oct 19, 2002 at 06:09:55PM +0200, Pawel Kot wrote:
> On Fri, 18 Oct 2002, Jean Tourrilhes wrote:
>
> > Well, direct Nokia support over Ir has always been a problem
> > (I'm not talking of IrDA compliant phones), because you can't use the
> > Linux-IrDA stack.
>
> Indeed. That's why we have irda and infrared modes. But AFAIR Nokia 61X0
> (the one that needs infrared mode) supports probably a subset of the IrDA
> protocol. I think it has be used when printing vCards over ir connection.
>
> > For serial dongles, it is only a minor annoyance (you could
> > always cut'n'paste dongle driver code into GNokii). But for USB
> > dongles, the current GNokii solution will never work. Note also that
> > new laptops are released with FIR chipset that don't offer serial
> > emulation be default, and for those guys the current GNokii solution
> > will never work as well. These IrDA hardware don't offer access at the
> > PHY level needed by GNooki.
> > Somebody told me that there was a way around this by running
> > the Nokia protocol over the IrDA stack, but this was never verified,
> > so it may be urban legend. Actually, I don't know how they manage to
> > do things under Win32.
>
> So the solution is not known at the moment?
I have no idea, this is not my are of expertise, and
personally I don't own a mobile. I was under the impression that you
guys were the specialist on the subject...
If I believe the info below, those phones do IrLMP :
http://homepage.mac.com/alvinmok/nokia/
http://www.dev-thomynet.de/nokworld/nokdocs/index.html
You should be able to open a IrLMP socket to those Nokia
phones and use the same Nokia:PhoneNet protocol as for more modern
phones (except that the socket is IrLMP, not IrTTP).
Now, managing IrLMP socket with Linux-IrDA is actually
identical to IrTTP sockets, so with minor changes you may be able to
experiment with IrLMP sockets.
The only trick is the socket initialisation :
---------------------------------------------------
/* Create socket - Datagram == IrLMP socket */
fd = socket(AF_IRDA, SOCK_DGRAM, 0);
---------------------------------------------------
After that, you can connect normally and do the usual
stuff. Be careful, because there is no flow control and you may need
to fragment packet yourself.
If the above work, that would greatly simplify support of
those old phones. I think it's worth trying...
> > Now, if you guys are interested in OBEX compliant phones
> > (another breed), there is already a bunch of packages that support
> > them (ex ObexFTP and Multisysnc).
>
> Yeah, that's what I want to look at a bit later -- when gnokii will be in
> a bit better shape then now. Or Pavel maybe will do this as he may need
> this for his Siemens ;-)
Actually, the beta of OpenFTP also support Ericsson phones.
> pkot
Have fun...
Jean