FWIW, the SNIFFIR utility included in the Win2000 DDK is pretty good.
It passively observes IrDA communication between two devices.

Best Regards,
-jjf

-----Original Message-----
From: Scott Dattalo [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 07, 2000 4:03 PM
To: Palm Developer Forum
Subject: Re: IAS service name for Palm Exchange Manager



Are you by any chance using Linux? If so, you may wish to install the
latest irda utils (and kernel...). There's a utility called irdadump,
which is irda packet sniffer. I've used it extensively to see what going
on. I'm not sure if it can be configured to passively sniff - in other
words, the irda modules running in the Linux kernel actively seek all
devices in the IR space. This would probably disrupt your pilot to pilot
communications. 

Here's an irdadump log of the linux box downloading a .prc to the pilot:

23:38:03.683795 xid:cmd 7da74179 > ffffffff S=6 s=4 (14)
23:38:03.773839 xid:cmd 7da74179 > ffffffff S=6 s=5 (14)
23:38:03.773942 xid:rsp 7da74179 < 8b51656a S=6 s=4 IA RD IrDA Developm
hint=8220 [ PDA/Palmtop IrOBEX ] (36)
23:38:03.863826 xid:cmd 7da74179 > ffffffff S=6 s=* dhcp-1-373 hint=4400
[
Computer LAN Access ] (26)
23:38:05.978350 snrm:cmd ca=fe pf=1 7da74179 > 8b51656a new-ca=88 (32)
23:38:06.094059 ua:rsp ca=88 pf=1 7da74179 < 8b51656a (31)
23:38:06.094155 rr:cmd > ca=88 pf=1 nr=0 (2)
23:38:06.343805 rr:cmd > ca=88 pf=1 nr=0 (2)
23:38:06.363813 rr:rsp < ca=88 pf=1 nr=0 (2)
23:38:06.363871 i:cmd  > ca=88 pf=1 nr=0 ns=0 LM slsap=47 dlsap=00
CONN_CMD (6)
23:38:06.383827 i:rsp  < ca=88 pf=1 nr=1 ns=0 LM slsap=00 dlsap=47
CONN_RSP (6)
23:38:06.383898 i:cmd  > ca=88 pf=1 nr=1 ns=1 LM slsap=47 dlsap=00
GET_VALUE_BY_CLASS: "OBEX" "IrDA:TinyTP:LsapSel" (30)
23:38:06.413853 i:rsp  < ca=88 pf=1 nr=2 ns=1 LM slsap=00 dlsap=47
GET_VALUE_BY_CLASS: Success Integer: 02 (15)
23:38:06.413953 i:cmd  > ca=88 pf=1 nr=2 ns=2 LM slsap=47 dlsap=00 (5)
23:38:06.433806 rr:rsp < ca=88 pf=1 nr=3 (2)
23:38:06.433864 i:cmd  > ca=88 pf=1 nr=2 ns=3 LM slsap=47 dlsap=00 DISC
(6)
23:38:06.453806 rr:rsp < ca=88 pf=1 nr=4 (2)
23:38:06.453863 i:cmd  > ca=88 pf=1 nr=2 ns=4 LM slsap=48 dlsap=02
CONN_CMD TTP credits=0(7)
23:38:06.473816 i:rsp  < ca=88 pf=1 nr=5 ns=2 LM slsap=02 dlsap=48
CONN_RSP TTP credits=0(7)
23:38:06.473891 rr:cmd > ca=88 pf=1 nr=3 (2)
23:38:06.493834 rr:rsp < ca=88 pf=1 nr=5 (2)
23:38:06.493921 i:cmd  > ca=88 pf=1 nr=3 ns=5 LM slsap=48 dlsap=02 TTP
credits=0
        OBEX CONNECT len=7 ver=1.1 flags=0 mtu=4096 (12)
23:38:06.513835 i:rsp  < ca=88 pf=1 nr=6 ns=3 LM slsap=02 dlsap=48 TTP
credits=1
        OBEX SUCCESS (12)
23:38:06.513919 rr:cmd > ca=88 pf=1 nr=4 (2)
23:38:06.533822 rr:rsp < ca=88 pf=1 nr=6 (2)
23:38:06.533892 i:cmd  > ca=88 pf=1 nr=4 ns=6 LM slsap=48 dlsap=02 TTP
credits=1
        OBEX PUT final=0 len=0 Name=ir.prc Description=ir.prc
Lenght=14323
custom=1819173736 (52)
23:38:06.763839 i:rsp  < ca=88 pf=1 nr=7 ns=4 LM slsap=02 dlsap=48 TTP
credits=1
        OBEX CONTINUE (8)
23:38:06.763937 rr:cmd > ca=88 pf=1 nr=5 (2)
23:38:06.813861 rr:rsp < ca=88 pf=1 nr=7 (2)

etc...

I'm not an IrDA expert either and so can't provide a meaningful
interpretation. However, the abbreviations in the dump are the same
you'll
find in the IrDA specs. 

Hope this helps,

Scott

On Mon, 7 Feb 2000, Steve Talley wrote:

> Hello,
> 
> I am trying to connect two Palms together over IR.  The idea is
> for the first Palm (the one initiating the connection) to use the
> IR library (not the Exchange Manager) to connect to the Exchange
> Manager on the second Palm.  An OBEX conversation will then
> occur.
> 
> So far I have been able to open a connection with IrOpen(),
> initialize the port using IrBind(), obtain the device's address
> with IrDescoveryReq(), and establish the IrLap connection with
> IrConncectIrLap().
> 
> At this point, I need to query the second Palm's IAS database to
> get the lsap to connect to its Exchange Manager.  But, I don't
> know the name of the IAS service for the Exchange Manager, so I
> can't complete this last step.  Does anyone know what it is?  Is
> it "OBEX"?
> 
> More generally, is there a way to query a Palm's (or any IR
> device's) IAS database to see what services are available?  It
> seems sort of limiting to have to know the name of the service
> beforehand to connect to it.
> 
> Any help?  I think these must be easy questions, but I'm not an
> IR expert...
> 
> Thanks,
> 
> Steve
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
> 


-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to