From: Mika Linnanoja <mika.linnanoja@nokia.com>
To: ext Vijayalakshmi N <vijayalakshmi.nk@gmail.com>
Cc: linux-bluetooth <linux-bluetooth@vger.kernel.org>
Subject: Re: Not able to test GATT on ubuntu
Date: Fri, 04 Feb 2011 14:13:32 +0200 [thread overview]
Message-ID: <4D4BED6C.3040506@nokia.com> (raw)
In-Reply-To: <AANLkTi=652bHGqL841fp1ufO1_7C3iTq+tZ4eBcGtEiO@mail.gmail.com>
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<bd-address>
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
next prev parent reply other threads:[~2011-02-04 12:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-04 11:59 Not able to test GATT on ubuntu Vijayalakshmi N
2011-02-04 12:13 ` Mika Linnanoja [this message]
2011-02-04 12:33 ` Vijayalakshmi N
2011-02-04 13:45 ` Luiz Augusto von Dentz
2011-02-09 11:47 ` Vijayalakshmi N
2011-02-09 17:56 ` Anderson Lizardo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D4BED6C.3040506@nokia.com \
--to=mika.linnanoja@nokia.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=vijayalakshmi.nk@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox