From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4D4BED6C.3040506@nokia.com> Date: Fri, 04 Feb 2011 14:13:32 +0200 From: Mika Linnanoja MIME-Version: 1.0 To: ext Vijayalakshmi N CC: linux-bluetooth Subject: Re: Not able to test GATT on ubuntu References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On 02/04/2011 01:59 PM, ext Vijayalakshmi N wrote: > Dear all, > > I have taken the bluetooth code with BLE changes (net/bluetooth and > include/net/bluetooth) from > > http://git.infradead.org/users/vcgomes/linux-2.6.git/tree/refs/heads/le-l2cap > to my 2.6.35 kernel and built the kernel. > > and also built bluez 4.84 on ubuntu 10.10. > > Tried testing GATT with the gatttool that is available with the bluez. > > gatttool --primary -b Hi. If you want to use LE add "--le" to gatttool options. Otherwise (and evident from your hcidump) it tries to create classic BT connection. We haven't tried adding LE kernel patches to .35 kernels (stock ubuntu one), why don't you checkout whole vcgomes' kernel and compile it for your ubuntu box instead? Boots fine in Ubuntu 10.10. Used "make oldconfig" with .config from /boot/ for stock kernel and answered defaults to most questions and "Y" to the one asking about enabling SMP for BT LE. > Please see the log (hcidump) of the Master BT device below followed by > the hcidump of Slave (GATT Server). Also, upgrade to hcidump 2.0 it has LE stuff in it, logs will be more useful. Ie get git version and compile and run from compile dir, no need to install. > Thanks, > Vijayalakshmi BR, Mika