Hi All, On Thu, Dec 2, 2010 at 10:21 PM, Mike Tsai <Mike.Tsai@xxxxxxxxxxx> wrote: > Hi Brian, > > -----Original Message----- > From: linux-bluetooth-owner@xxxxxxxxxxxxxxx [mailto:linux-bluetooth-owner@xxxxxxxxxxxxxxx] On Behalf Of Brian Gix > Sent: Thursday, December 02, 2010 3:46 PM > To: linux-bluetooth@xxxxxxxxxxxxxxx > Subject: Are LE connections possible yet? > > Hi All, > > I am bringing up an LE capable (BR/EDR/LE) baseband, and attempting to use > it to establish a > GATT/ATT connection over an LE link. ÂHowever when executing the command: > > % ./tools/hcitool lecc 00:14:BB:55:66:77 > > I get a very rapid failure of: > > "Could not create connection: Operation not permitted" > > The correct HCI command does not appear to be making it to the BR/EDR/LE > baseband. > > It appears to be a socket issue of some sort. ÂI can cause this error, when > attached to the baseband, and: > "Could not create connection: File descriptor in bad state" > > if I have not yet run hciattach. > > Other (BR/EDR) hcitool commands work as expected, such as "hcitool scan" and > "hcitool inq" > [MTsai]which kernel driver you are using? It seems the kernel does not know the LE create connection OpCode? > > > Brian Gix > bgix@xxxxxxxxxxxxxx > Employee of Qualcomm Innovation Center, Inc. > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html > For hcitool lecc it is not necessary a LE "capable" kernel, hcitool sends the HCI commands from the userspace. Try sudo hcitool lecc ... and don't forget putting the remote on advertising mode: $hciconfig hcix leadv If you want to test the connections managed by the kernel use Ville's kernel: git://git.kernel.org/pub/scm/linux/kernel/git/vtervo/bluetooth-le-2.6.git l2test support LE connections, use -J option to pass the fixed channel 4 Regards, Claudio -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html