Return-Path: Message-ID: From: Ssagarr Patil To: Marcel Holtmann CC: Szymon Janc , "linux-bluetooth@vger.kernel.org" Subject: RE: bluez5 pairing devices Date: Sun, 22 Mar 2015 15:07:13 +0530 In-Reply-To: References: ,<,<46068BD2-CF33-4617-80DB-5AE5C1FCA364@holtmann.org>,<,<,<12627750.IG3ACNRtuD@leonov>,<>>>,<,,<,<440EB08C-2BD4-4373-B3DC-80361AA74722@holtmann.org>,<,>>>>,,<,,<>>,,<03048CAB-EDA3-46D6-A65B-BB17927B1F7E@holtmann.org>,, Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 List-ID: Hi Marcel=0A= =0A= >>>=0A= >>> maybe the backport has some issues that got fixed. The latest stable ke= rnel is 3.19.2.=0A= >>>=0A= >>>> Is it true we cannot pair LE devices in bluez4.101 ?=0A= >>>=0A= >>> LE support with BlueZ 4 is limited to not really working at all. So if = want to work on LE=2C then you need mgmt API support and a recent Bluetooth= subsystem and BlueZ 5.=0A= >>>=0A= >> With gattool and hcitool lecc I am able to pair. But I am not sure How t= o get the data from le device ?=0A= >> Any pointers on doing this ?=0A= >>=0A= > $ # hcitool lecc 54:4A:16:5E:1B:9D=0A= > Connection handle 1025=0A= >=0A= > Does it create a fd ? so that me C app can access ?=0A= >=0A= > # gatttool -b 54:4A:16:5E:1B:9D -I=0A= > [ ][54:4A:16:5E:1B:9D][LE]> connect=0A= > [CON][54:4A:16:5E:1B:9D][LE]> char-desc=0A= > [CON][54:4A:16:5E:1B:9D][LE]>=0A= > handle: 0x0001=2C uuid: 2800=0A= > handle: 0x0002=2C uuid: 2803=0A= > handle: 0x0003=2C uuid: 2a00=0A= > handle: 0x0004=2C uuid: 2803=0A= > handle: 0x0005=2C uuid: 2a01=0A= >=0A= > I am not sure how to get events=2C how to hook for my application and get= the packets.=0A= >=0A= Gentle Ping.=0A= =0A= Regards=2C=0A= Sagar=0A= =