Hello -

I am having some trouble using irobex_palm3 to beam information from my linux
machine to my Palm 3, and I was hoping if someone knew what is going wrong.

I am running 2.2.12 with the latest patch in place.  I also have the latest
irda tools (0.9.4).  I believe I have everything set up right.. I can
sucessfully sync over the IR using pilot-xfer and I can also receive beams
from the pilot using irobex_receive.

The problem comes when I use irobex_palm3 to beam a message to the pilot.
It seems to discover the pilot and make a connection with it, but the 
data is never sent.  By looking at the dump output, it seems like it gets
in some sort of infinite loop, looking for something.

Here's the output generated by the irobex_palm3 command:  (I also have the 
output of the irda_dump below that.  

PUT file /tmp/Barbara.vcs
This is a Date Book file
insert_uint_header()
IrOBEX_ConnectRequest()
obex_do_event(), event = CONNECT_REQUEST, state = STATE_DISCONNECTED
obex_state_disconnected()
obex_connect_request()
obex_next_state(), STATE_DISCONNECTED
Sorry, unable to connect!
root@batman: irobex_palm3 /tmp/Barbara.vcs
Send and receive files to Palm3
PUT file /tmp/Barbara.vcs
This is a Date Book file
insert_uint_header()
IrOBEX_ConnectRequest()
obex_do_event(), event = CONNECT_REQUEST, state = STATE_DISCONNECTED
obex_state_disconnected()
obex_connect_request()
Discovered: (list len=1)
  name:  czerwin
  daddr: 143af306
  saddr: ba3aa374

irobex_connect_request(), transport mtu=507
obex_data_request(), self->response_next=1
obex_data_request(), len = 7 bytes
obex_data_request(), sending 7 bytes
obex_next_state(), STATE_SETUP
Waiting...
Got some input!
obex_data_indication()
obex_data_indication(), got 7 bytes
obex_data_indication(), msg len=7
obex_do_event(), event = RESPONSE_INDICATION, state = STATE_SETUP
obex_state_setup()
obex_next_state(), STATE_READY
obex_connect_confirm()
version=1.0
requested MTU=4072, used MTU=4072
obex_parse_connect_frame(), Allocating new object!
OBEX_PutRequest()
Waiting...
Waiting...
Waiting...
Waiting...
(and this keeps going)

--------- irda_dump output ----------------------------
08:25:37.891190 xid:cmd ba3aa374 > ffffffff S=6 s=0 (14) 
08:25:37.978285 xid:cmd ba3aa374 > ffffffff S=6 s=1 (14) 
08:25:38.068289 xid:cmd ba3aa374 > ffffffff S=6 s=2 (14) 
08:25:38.068385 xid:rsp ba3aa374 < 143af306 S=6 s=1 czerwin hint=8220 [ PDA/Palmtop 
IrOBEX ] (24) 
08:25:38.158277 xid:cmd ba3aa374 > ffffffff S=6 s=3 (14) 
08:25:38.248278 xid:cmd ba3aa374 > ffffffff S=6 s=4 (14) 
08:25:38.338277 xid:cmd ba3aa374 > ffffffff S=6 s=5 (14) 
08:25:38.428323 xid:cmd ba3aa374 > ffffffff S=6 s=* batman hint=0500 [ PnP Computer ] 
(22) 
08:25:38.428449 snrm:cmd ca=fe pf=1 ba3aa374 > 143af306 new-ca=da (32) 
08:25:38.588328 ua:rsp ca=da pf=1 ba3aa374 < 143af306 (31) 
08:25:38.838276 rr:cmd > ca=da pf=1 nr=0 (2) 
08:25:38.878295 rr:rsp < ca=da pf=1 nr=0 (2) 
08:25:38.878384 i:cmd  > ca=da pf=1 nr=0 ns=0 LM slsap=54 dlsap=00 CONN_CMD (6) 
08:25:38.918311 i:rsp  < ca=da pf=1 nr=1 ns=0 LM slsap=00 dlsap=54 CONN_RSP (6) 
08:25:38.918422 i:cmd  > ca=da pf=1 nr=1 ns=1 LM slsap=54 dlsap=00 GET_VALUE_BY_CLASS: 
"OBEX" "IrDA:TinyTP:LsapSel" (30) 
08:25:38.978322 i:rsp  < ca=da pf=1 nr=2 ns=1 LM slsap=00 dlsap=54 GET_VALUE_BY_CLASS: 
Success Integer: 02 (15) 
08:25:38.978456 i:cmd  > ca=da pf=1 nr=2 ns=2 LM slsap=54 dlsap=00 DISC (6) 
08:25:39.018287 rr:rsp < ca=da pf=1 nr=3 (2) 
08:25:39.018377 i:cmd  > ca=da pf=1 nr=2 ns=3 LM slsap=55 dlsap=02 CONN_CMD TTP 
credits=0(7) 
08:25:39.068290 i:rsp  < ca=da pf=1 nr=4 ns=2 LM slsap=02 dlsap=55 CONN_RSP TTP 
credits=0(7) 
08:25:39.068407 rr:cmd > ca=da pf=1 nr=3 (2) 
08:25:39.103084 rr:rsp < ca=da pf=1 nr=4 (2) 
08:25:39.103173 i:cmd  > ca=da pf=1 nr=3 ns=4 LM slsap=55 dlsap=02 TTP credits=0 
        OBEX CONNECT len=7 ver=1.1 flags=0 mtu=4096 (12) 
08:25:39.148323 i:rsp  < ca=da pf=1 nr=5 ns=3 LM slsap=02 dlsap=55 TTP credits=1 
        OBEX SUCCESS (12) 
08:25:39.148458 rr:cmd > ca=da pf=1 nr=4 (2) 
08:25:39.188237 rr:rsp < ca=da pf=1 nr=5 (2) 
08:25:39.238277 rr:cmd > ca=da pf=1 nr=4 (2) 
08:25:39.278235 rr:rsp < ca=da pf=1 nr=5 (2) 
08:25:39.378275 rr:cmd > ca=da pf=1 nr=4 (2) 
08:25:39.408754 rr:rsp < ca=da pf=1 nr=5 (2) 
08:25:39.558277 rr:cmd > ca=da pf=1 nr=4 (2) 
08:25:39.588268 rr:rsp < ca=da pf=1 nr=5 (2) 
08:25:39.788274 rr:cmd > ca=da pf=1 nr=4 (2) 
08:25:39.828234 rr:rsp < ca=da pf=1 nr=5 (2) 
08:25:40.078269 rr:cmd > ca=da pf=1 nr=4 (2) 
08:25:40.118234 rr:rsp < ca=da pf=1 nr=5 (2) 
08:25:40.418283 rr:cmd > ca=da pf=1 nr=4 (2) 
(and this pattern keeps going on)..


I would love to get this working, so thanks in advance to anyone that
can help!

-Steve Czerwinski





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

Reply via email to