Re: [Fwd: Re: 5.2 USB + Bluetooth]

From: Maksim Yevmenkin <m_evmenkin_at_yahoo.com>
Date: Fri, 9 Jan 2004 09:35:45 -0800 (PST)
--- 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
Received on Fri Jan 09 2004 - 08:35:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:37 UTC