Hello Johan On Thu, Apr 19, 2012 at 4:56 AM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote: > Hi João Paulo, > > On Wed, Apr 18, 2012, João Paulo Rechi Vita wrote: >> LE pairing is broken on bluetooth-next atm. > > What exactly is broken? Have you already sent patches to fix this? We've > been planning to enable LE support by default in 3.5 (based on current > bluetooth-next) so this needs to be fixed asap. > Pairing from bluetoothd through CreatePairedDevice() is currently broken for LE devices. The problem is that userspace creates a LE connection before pairing, to be able to ATT traffic coming during the pairing process. When it latter triggers pairing, an error is returned due to the already existing connection. Vinicius sent a patch [1] on February fixing this issue, but it have never been integrated. It doesn't apply anymore, so I'm going to re-send a version that apply. [1] http://article.gmane.org/gmane.linux.bluez.kernel/21234/match=bluetooth+add+support+reusing+same+hci_conn+le+links -- João Paulo Rechi Vita Openbossa Labs - INdT -- 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