Skip to contentSkip to conversation

ACL Connection Handles

Bluez-devel Kevin Mahaffey 2 participants 3 messages Jun 23, 2006 – Jun 24, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Kevin,

Quoted 9 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Marcel,

Thanks. l2test has exactly what I need.

-Kevin

-----Original Message-----
From: [email protected] [mailto:[email protected]] 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,

Quoted 9 lines

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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel