* hcitool cc .... connected and drop
@ 2010-01-27 20:27 Ed Tsang
2010-01-27 20:41 ` Iain Hibbert
0 siblings, 1 reply; 4+ messages in thread
From: Ed Tsang @ 2010-01-27 20:27 UTC (permalink / raw)
To: Bluettooth Linux
Hi,
I am trying to use hcitool to create a connection. The connection seem to be connected and dropped right the way.
Looking at the hcidump, look like the connect command is ok, but then there is a "read remote supported feature", "read remote name" then a "disconnect command".
I tried to search "hci_read_remote_features" or usage of "OCF_READ_REMOTE_FEATURES" and put in debug print on all functions but could not figure out where the "read remote supported feature" was called from the "hcitool cc" command.
Anyone please point me to the trivial stuff.
Regards,
Ed
__________________________________________________________________
Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hcitool cc .... connected and drop
2010-01-27 20:27 hcitool cc .... connected and drop Ed Tsang
@ 2010-01-27 20:41 ` Iain Hibbert
2010-01-28 14:52 ` Ed Tsang
0 siblings, 1 reply; 4+ messages in thread
From: Iain Hibbert @ 2010-01-27 20:41 UTC (permalink / raw)
To: Ed Tsang; +Cc: Bluettooth Linux
On Wed, 27 Jan 2010, Ed Tsang wrote:
> I am trying to use hcitool to create a connection. The connection seem
> to be connected and dropped right the way. Looking at the hcidump, look
> like the connect command is ok, but then there is a "read remote
> supported feature", "read remote name" then a "disconnect command". I
> tried to search "hci_read_remote_features" or usage of
> "OCF_READ_REMOTE_FEATURES" and put in debug print on all functions but
> could not figure out where the "read remote supported feature" was
> called from the "hcitool cc" command. Anyone please point me to the
> trivial stuff.
the Linux kernel does that for all completed connections
iain
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hcitool cc .... connected and drop
2010-01-27 20:41 ` Iain Hibbert
@ 2010-01-28 14:52 ` Ed Tsang
2010-01-28 17:32 ` Iain Hibbert
0 siblings, 1 reply; 4+ messages in thread
From: Ed Tsang @ 2010-01-28 14:52 UTC (permalink / raw)
To: Iain Hibbert; +Cc: Bluettooth Linux
Thanks, Lain.
>the Linux kernel does that for all completed connections
I am still very "green" to bluez and linux. Is there a place where I can look into the bluetooth related kernel codes?
Is the disconnect command came from the kernel code too?
Cheers, Ed
__________________________________________________________________
Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: hcitool cc .... connected and drop
2010-01-28 14:52 ` Ed Tsang
@ 2010-01-28 17:32 ` Iain Hibbert
0 siblings, 0 replies; 4+ messages in thread
From: Iain Hibbert @ 2010-01-28 17:32 UTC (permalink / raw)
To: Ed Tsang; +Cc: Bluettooth Linux
On Thu, 28 Jan 2010, Ed Tsang wrote:
> >the Linux kernel does that for all completed connections
>
> I am still very "green" to bluez and linux. Is there a place where I can
> look into the bluetooth related kernel codes?
I don't think there is any API documentation, but the kernel sources can
be seen at many places on the internet, such as
http://lxr.linux.no/#linux+v2.6.32/net/bluetooth/
> Is the disconnect command came from the kernel code too?
most likely
iain
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-28 17:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 20:27 hcitool cc .... connected and drop Ed Tsang
2010-01-27 20:41 ` Iain Hibbert
2010-01-28 14:52 ` Ed Tsang
2010-01-28 17:32 ` Iain Hibbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox