linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] ACL Connection Handles
@ 2006-06-23 22:20 Kevin Mahaffey
  2006-06-23 23:19 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Mahaffey @ 2006-06-23 22:20 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 483 bytes --]

Because of the single ACL connection limit between two devices, this list
has recommended to use bluez to open new connections rather than direct HCI
manipulation.  

 

Once the connection is active and in the connection hash list, how can one
extract the handle out again to start raw HCI packet slinging?  Looking at
the kernel source, there is a hci_conn_hash_lookup_ba function that seems
promising, or is there another method that I am missing.

 

Cheers,

 

Kevin Mahaffey


[-- Attachment #1.2: Type: text/html, Size: 2351 bytes --]

[-- Attachment #2: Type: text/plain, Size: 299 bytes --]

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-devel] ACL Connection Handles
  2006-06-23 22:20 [Bluez-devel] ACL Connection Handles Kevin Mahaffey
@ 2006-06-23 23:19 ` Marcel Holtmann
  2006-06-24  0:51   ` Kevin Mahaffey
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2006-06-23 23:19 UTC (permalink / raw)
  To: BlueZ development

Hi Kevin,

> Because of the single ACL connection limit between two devices, this
> list has recommended to use bluez to open new connections rather than
> direct HCI manipulation.  
> 
> Once the connection is active and in the connection hash list, how can
> one extract the handle out again to start raw HCI packet slinging?
>  Looking at the kernel source, there is a hci_conn_hash_lookup_ba
> function that seems promising, or is there another method that I am
> missing.

check the source code of l2test and rctest. It will show you how the get
the underlaying connection handles for L2CAP and RFCOMM connections.

Regards

Marcel




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-devel] ACL Connection Handles
  2006-06-23 23:19 ` Marcel Holtmann
@ 2006-06-24  0:51   ` Kevin Mahaffey
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Mahaffey @ 2006-06-24  0:51 UTC (permalink / raw)
  To: 'BlueZ development'

Marcel,

Thanks.  l2test has exactly what I need.

-Kevin

-----Original Message-----
From: bluez-devel-bounces@lists.sourceforge.net
[mailto:bluez-devel-bounces@lists.sourceforge.net] On Behalf Of Marcel
Holtmann
Sent: Friday, June 23, 2006 4:19 PM
To: BlueZ development
Subject: Re: [Bluez-devel] ACL Connection Handles

Hi Kevin,

> Because of the single ACL connection limit between two devices, this
> list has recommended to use bluez to open new connections rather than
> direct HCI manipulation.  
> 
> Once the connection is active and in the connection hash list, how can
> one extract the handle out again to start raw HCI packet slinging?
>  Looking at the kernel source, there is a hci_conn_hash_lookup_ba
> function that seems promising, or is there another method that I am
> missing.

check the source code of l2test and rctest. It will show you how the get
the underlaying connection handles for L2CAP and RFCOMM connections.

Regards

Marcel




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-24  0:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-23 22:20 [Bluez-devel] ACL Connection Handles Kevin Mahaffey
2006-06-23 23:19 ` Marcel Holtmann
2006-06-24  0:51   ` Kevin Mahaffey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).