OSDN Git Service

gatt: Add write callback to btd_gatt_add_char helper
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Mon, 24 Mar 2014 13:30:02 +0000 (10:30 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Mar 2014 13:36:56 +0000 (15:36 +0200)
commitfb449723cb766d759291b2ecf34fbb44a155eb10
treee22132396fc6b01e4e1df51f3bfb41ee3767dd6b
parent3843e1822bed763de6d542352226b6faa423dde6
gatt: Add write callback to btd_gatt_add_char helper

This patch adds a function callback for write operations. When a remote
device writes to a given attribute, the core calls the specified write
callback informing the attribute server the new characteristic value.
src/gatt-dbus.c
src/gatt.c
src/gatt.h