Picon
Favicon

Re: Can't receive file from phone

Francois BARRIERE wrote:
> Hello,
> 
>    I try to transfer files from my phone (Mitsubishi m342i) to my
> laptop without success. The laptop chipset is the smsc one, I use
> a 2.6.18 kernel and can transfer files from/to my palm without
> problem, so the link works and the driver part is correct.
> 
> Trying to get files from the phone, I start 'irxfer' on the
> laptop and send the file from the phone. On the phone I get
> an error (kind of 'host not found') and don't receive anything.
> Running irdadump I get the following trace:
> 
> --------------------------------------------------------------------------------
> 
> 16:20:13.966255 xid:rsp ec5f851e > 5165f21c S=6 s=1 babylon hint=0400 [ Computer ] (23)
> 16:20:14.123187 xid:cmd ffffffff < 5165f21c S=6 s=2 (14)
> 16:20:14.220123 xid:cmd ffffffff < 5165f21c S=6 s=3 (14)
> 16:20:14.317064 xid:cmd ffffffff < 5165f21c S=6 s=4 (14)
> 16:20:14.413998 xid:cmd ffffffff < 5165f21c S=6 s=5 (14)
> 16:20:14.519260 xid:cmd ffffffff < 5165f21c S=6 s=* M342i hint=9024 [ Modem IrCOMM IrOBEX ] (22)

IMHO, at this point both devices need to have hints identical - at least 
the ones desired in upcomming communication. I can see that you babylon 
computer host doesn't support IrOBEX which is why the phone can't 
establish the link and fails below...

> 16:20:14.571155 snrm:cmd ca=fe pf=1 ec5f851e < 5165f21c new-ca=88
>         LAP QoS: Baud Rate=115200bps Max Turn Time=500ms Data Size=256B Window Size=1 Add BOFS=0 Min Turn
Time=10000us Link Disc=12s (32)
> 16:20:14.571184 ua:rsp ca=88 pf=1 ec5f851e > 5165f21c
>         LAP QoS: Baud Rate=115200bps Max Turn Time=500ms Data Size=2048B Window Size=3 Add BOFS=0 Min Turn
Time=1000us Link Disc=12s (31)
> 16:20:14.634968 rr:cmd < ca=88 pf=1 nr=0 (2)
> 16:20:14.634987 rr:rsp > ca=88 pf=1 nr=0 (2)
> 16:20:14.649161 i:cmd  < ca=88 pf=1 nr=0 ns=0 LM slsap=01 dlsap=00 CONN_CMD (6)
> 16:20:14.649194 i:rsp  > ca=88 pf=1 nr=1 ns=0 LM slsap=00 dlsap=01 CONN_RSP (6)
> 16:20:14.665062 i:cmd  < ca=88 pf=1 nr=1 ns=1 LM slsap=01 dlsap=00 GET_VALUE_BY_CLASS: "OBEX"
"IrDA:TinyTP:LsapSel" (30)
> 16:20:14.665090 i:rsp  > ca=88 pf=1 nr=2 ns=1 LM slsap=00 dlsap=01 GET_VALUE_BY_CLASS: No such class (11)
> 16:20:14.684149 i:cmd  < ca=88 pf=1 nr=2 ns=2 LM slsap=01 dlsap=00 GET_VALUE_BY_CLASS: "OBEX:IrXfer"
"IrDA:TinyTP:LsapSel" (37)
> 16:20:14.684178 i:rsp  > ca=88 pf=1 nr=3 ns=2 LM slsap=00 dlsap=01 GET_VALUE_BY_CLASS: No such class (11)
> 16:20:14.699990 i:cmd  < ca=88 pf=1 nr=3 ns=3 LM slsap=01 dlsap=00 DISC (6)
> 16:20:14.700020 rr:rsp > ca=88 pf=1 nr=4 (2)
> 16:20:14.713444 rr:cmd < ca=88 pf=1 nr=3 (2)
> 16:20:14.713463 rr:rsp > ca=88 pf=1 nr=4 (2)
> 16:20:14.727299 rr:cmd < ca=88 pf=1 nr=3 (2)
> 16:20:14.727319 rr:rsp > ca=88 pf=1 nr=4 (2)
> 16:20:14.741137 disc:cmd < ca=0x88 pf=1 (2)
> 16:20:14.741154 ua:rsp ca=88 pf=1 ec5f851e > 5165f21c (10)
> 
> ------------------------------------------------------------------------------
> 
> What did I do wrong? Anything to try next? Thanks in advance for any help.

Load IrOBEX support on the computer host. You could test the connection 
via irCOMM beforehand. It shouldn't be too much work - just insmod 
ircomm_tty and establish ppp connection with the phone via IrCOMM. Send 
some AT commands to the phone and you should be online in a jiffy.

> 
> Francois.
> 

best regards,
hinko

--

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenija
Tel. +386 (0) 4 280 66 37
E-mail: hinko.kocevar <at> cetrtapot.si
Http: www.cetrtapot.si

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
irda-users mailing list
irda-users <at> lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/irda-users

Gmane