Return-Path: From: Szymon Janc To: Christophe Ricard Cc: linux-bluetooth@vger.kernel.org, marcel@holtmann.org Subject: Re: Bluetooth pairing using NFC Date: Mon, 27 Jun 2016 16:56:32 +0200 Message-ID: <10190122.Hd9JXv7fO7@leonov> In-Reply-To: <577136F7.4090505@gmail.com> References: <577136F7.4090505@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" List-ID: Hi Christophe, On Monday 27 of June 2016 16:23:51 Christophe Ricard wrote: > Hi, > > I have been trying to get bluetooth pairing working using NFC (bluez > together with neard). > I am using a NFC enabled bluetooth headset (Mototorola Elite Silver). > > I have been trying with bluez 5.23 up to 5.40 as well as with neard 0.9 > up to neard 0.15 but without success so far. > Bluez shows a message push_oob() but no pairing is happening. When > looking at the code, i have suspected an agent issue > but this is out of my knowledge scope. > > Can anybody suggest what would be the best bluez/neard combination to > get nfc/bluetooth pairing to work or to track down this to get > it working ? > > I can provide traces if you need. I didn't look at that code for quite some time but I think to get it work you need to have adapter powered up and have bluetooth agent registered. So doing: 'power up', 'agent on' 'default-agent' from bluetoothctl should do. PS Mailing list is linux-bluetooth@vger.kernel.org :) -- BR Szymon Janc