[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Btd problems



Hi all,

I am running the latest OpenBT stack on CSR's casira kits and has two problems:

P.1:

I'm running btd on two machines, kernel mode with CSR H4. I use the "rf_wait 0" command on one machine and rf_conn XX:XX:XX:XX:XX 1 0 on the other machine. The machine running the "rf_conn" command gets connected but the other one do not wake up from the "rf_wait" command. When looking att the bt_internal it looks okey on both machines which has registered the rfcomm connection. But why does not the "rf_wait" command wake up?

P:2

Running btd on the same machines with the same settings.

On the first:
>rf_conn 00:02:5b:ff:06:33 1 0
Connected.
> ppp
wait for a connection on line 0
bt_waitline : got a connection !
wait for a connection on line 0


On the other one:
> ppp
wait for a connection on line 0
bt_waitline : got a connection !
wait for a connection on line 0
bt_waitline : got a connection !
wait for a connection on line 0
bt_waitline : got a connection !
wait for a connection on line 0
bt_waitline : got a connection !

The syslog at the other one looks like this:
Jun 14 10:17:26 Jimmy kernel: Already got connection on line 0
Jun 14 10:17:26 Jimmy btd: Opening socket /tmp/ipa_server
Jun 14 10:17:26 Jimmy btd: open_socket /tmp/ipa_server failed
Jun 14 10:17:26 Jimmy btd: Could not find IP Assign server
Jun 14 10:17:26 Jimmy btd: build_pppdopt
Jun 14 10:17:26 Jimmy btd: close_device
Jun 14 10:17:26 Jimmy btd: Didn't get any remote IP
Jun 14 10:17:26 Jimmy btd: IP addresses used : 192.168.0.9:
Jun 14 10:17:26 Jimmy btd: start pppd...
Jun 14 10:17:26 Jimmy btd: Starting ppp client on /dev/ttyBT0
Jun 14 10:17:26 Jimmy btd: Spawned pppd[1041] in the background
Jun 14 10:17:26 Jimmy pppd[1040]: pppd 2.3.11 started by root, uid 0
Jun 14 10:17:26 Jimmy pppd[1040]: Device ttyBT0 is locked by pid 1038
Jun 14 10:17:26 Jimmy pppd[1040]: Exit.
Jun 14 10:17:26 Jimmy btd: ppp child died, now restart!  

and is repeating forever.

Any ideas what i am doing wrong here?

TIA
Peter