Michel Szybist - 2004-11-19

Hi,

I've a Fedora Core 2 (kernel 2.6) and a SPV SmartPhone.

It seems that the SPV is obex-aware but my 'computer' device does not obex :

SmartPh04092001 hint=9224 [ PDA/Palmtop Modem IrCOMM IrOBEX ] (32)
localhost hint=0400 [ Computer ] (25)

What did I miss ?

I've set this up :

modprobe esi-sir
modprobe ircomm
irattach /dev/ttyS0 -d esi -s

I've that :

cat /proc/net/irda/discovery
nickname: SmartPh04092001, hint: 0x9224, saddr: 0xed76b9e8, daddr: 0x0000260c

And that :

irdaping SmartPh04092001
IrDA ping (0x00000000): 32 bytes
32 bytes from 0x00000000: irda_seq=0 time=105.98 ms.
32 bytes from 0x00000000: irda_seq=1 time=106.00 ms.
32 bytes from 0x00000000: irda_seq=2 time=106.01 ms.

And that too :

[root@localhost root]# irdadump
17:28:13.873247 xid:cmd ed76b9e8 > ffffffff S=6 s=0 (14)
17:28:13.962218 xid:cmd ed76b9e8 > ffffffff S=6 s=1 (14)
17:28:14.051221 xid:rsp ed76b9e8 < 0000260c S=6 s=1 SmartPh04092001 hint=9224 [ PDA/Palmtop Modem IrCOMM IrOBEX ] (32)
17:28:14.052213 xid:cmd ed76b9e8 > ffffffff S=6 s=2 (14)
17:28:14.142180 xid:cmd ed76b9e8 > ffffffff S=6 s=3 (14)
17:28:14.232163 xid:cmd ed76b9e8 > ffffffff S=6 s=4 (14)
17:28:14.322147 xid:cmd ed76b9e8 > ffffffff S=6 s=5 (14)
17:28:14.412133 xid:cmd ed76b9e8 > ffffffff S=6 s=* localhost hint=0400 [ Computer ] (25)
17:28:16.871764 xid:cmd ed76b9e8 > ffffffff S=6 s=0 (14)

When I obex_test it :

[root@localhost root]# obex_test -r /dev/ircomm0
OBEX to R320 on /dev/ircomm0!
cobex_open()
OBEX Interactive test client/server.
> c
cobex_connect()
cobex_init()
cobex_do_at_cmd()
cobex_do_at_cmd() Sending command ATZ
cobex_do_at_cmd() Timeout waiting for answer
Comm-error sending ATZ

( block here )

thanks,
m;