Hi Vijay, On Tue, Oct 4, 2011 at 10:59 AM, Vijaykumar Dadmode <Vijaykumar.Dadmode@xxxxxxx> wrote: > Hi, > > This post contains a proposal for the DBUS GATT API(Gatt CLIENT) that enhances the existing GATT > functionality provided by DBUS APIs interface. Which include Methods,Signals and Properties. > Could you please provide your comments and feedback for the same? Or we need more APIs to cover all GATT Client functionality? > > . RegisterCharacteristicsWatcher can be used to monitor specific Characteristic change. > . PropertyChanged Signal for the SetProperty(). > . ServiceChanged and CharacteristicChanged Signal for Service or Characteristic changes on the server. > . New Properties for Permissions and remaining Characteristic Descriptors. > > PFA the updated document "new-attribute-api.txt". > > Proposed New API: > > Device Characteristic hierarchy > =============================== > Service org.bluez > Interface org.bluez.Characteristic > Object path [prefix]/{hci0}/{device0}/{service0}/{characteristic0,...} > > Methods: > RegisterCharacteristicsWatcher(object agent) > Register a watcher to monitor characteristic changes. > A watcher will be registered for the specific characteristic and will > notify about any changed characteristics. Is it really necessary? I thought registering a watcher at service "level" was enough. > Signals: > PropertyChanged(string name, variant value) > This signal indicates a changed value of the given > property. > > ServiceChanged (dict values) > This signal indicates service added on server. Could you please explain the relation between this property and Service Changed characteristic(Generic Attribute Profile Service)? In my opinion, it is a service property instead of characteristic property. > > CharacteristicChanged (dict values) > This signal indicates characteristic added on server. > > Properties: > uint8 Property [readonly] > The characteristic property, format defined by GATT spec. > > uint16 Configuration [readonly] > Optional field containing the configuration value on the server. Read only? CCC can be writeable right? BR, Claudio. > > uint16 Extended [readonly] > The characteristic descriptor describing > the additional Characteristic Properties. > > uint16 Aggregate [readonly] > Optional Characteristic descriptor which defines the > format of an aggregated Characteristic Value. > > uint16 Custom [readonly] > Optional Characteristic descriptor which defines profile defined descriptor UUID's. > > > Thanks, > Vijay > > > 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���)ߣ�