[Fwd: Re: 5.2 USB + Bluetooth]

Maksim Yevmenkin m_evmenkin at yahoo.com
Fri Jan 9 09:35:48 PST 2004


--- Randy Bush <randy at psg.com> wrote:
> > List RFCOMM channels on your Palm
> 
> aye, and there's the rub.
> 
> # l2control -a palm read_channel_list
> l2control: Could not bind socket, bdaddr=00:07:e0:0e:24:28: Network is down

you are misusing l2control(8) tool. the 'read_channel_list' should display
the list of *L2CAP* channels on your *local* device, i.e. it is more like
list of open L2CAP sockets. the 'palm' (or 00:07:e0:0e:24:28) BDADDR is
a *remote* device. that is why you get 'Network is down' error.

> roam.psg.com:/root# l2ping -a palm
> 20 bytes from 00:07:e0:0e:24:28 seq_no=0 time=1223.546 ms result=0 
> 20 bytes from 00:07:e0:0e:24:28 seq_no=1 time=46.969 ms result=0 
> 20 bytes from 00:07:e0:0e:24:28 seq_no=2 time=49.777 ms result=0 
> 20 bytes from 00:07:e0:0e:24:28 seq_no=3 time=52.577 ms result=0 
> ^C
> # l2control -a palm read_channel_list
> l2control: Could not bind socket, bdaddr=00:07:e0:0e:24:28: Network is down

same here. sdptool is what you should use to discover services on the
remote devices.

> # sdptool browse palm
> Browsing 00:07:e0:0e:24:28 ...
> #

that is normal. some devices are being lame and does not support browse. 
you just need to use 'sdptool search' command instead.

> hmmm.  but sdptool is working pointed to my phone

palm's bluetooth stack are known to have problems.

max

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


More information about the freebsd-current mailing list