Re: Not able to test GATT on ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux