RE: GATT Dbus APIs Use.

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

 



Hi Claudio,
Thanks for your inputs. I needed code reference to modules which use the attribute dbus methods(Example: Mentioned below) rather than directly using GATT APIs (gatt_discover_char()). 

EXAMPLE:
Interface	org.bluez.Characteristic

-- dict GetProperties()
-- array{object} DiscoverCharacteristics()

Thanks,
Vijay

-----Original Message-----
From: linux-bluetooth-owner@xxxxxxxxxxxxxxx [mailto:linux-bluetooth-owner@xxxxxxxxxxxxxxx] On Behalf Of Claudio Takahasi
Sent: Tuesday, August 30, 2011 5:44 PM
To: Vijaykumar Dadmode
Cc: linux-bluetooth@xxxxxxxxxxxxxxx
Subject: Re: GATT Dbus APIs Use.

Hi Vijay,

On Mon, Aug 29, 2011 at 10:29 AM, Vijaykumar Dadmode
<Vijaykumar.Dadmode@xxxxxxx> wrote:
> Hi,
> Could you please let me know if there are any modules which makes use of the GATT Client Dbus APIs as mentioned in /doc/attribute-api.txt.
>
> I am happy to have some code references for the same.
>
> Thanks,
> Vijay

First of all you will need a kernel with SM and Interleaved discovery
patches. I sent an e-mail some weeks ago with repository references
and development status, search for "Re: Current status on BLE
development
" in the ML.

Generic API(attribute-api.txt) is working, use d-feet or test-attrib
to test the attribute API. BLE and BR/EDR use the same methods to
discover and "create" devices, call StartDiscovery() followed by
CreateDevice() or CreatePairedDevice() to "create" the device "object"
that you wanna read attributes.

Generic API needs some extra effort to fix some known issues, but in
general is functional. Let me know if you wanna test(force) over
BR/EDR, I have a small patch that allows it.

BR,
Claudio
--
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


 To report this email as spam click https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== .


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[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