OSDN Git Service

gatt: Add read callback to btd_gatt_add_char helper
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Tue, 18 Mar 2014 20:26:21 +0000 (17:26 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 20 Mar 2014 17:35:06 +0000 (19:35 +0200)
commita5e4bfa1c273d7a8cba78d32e041a65fab815575
treebef22961e7e7b4187e169f5785b215835e4ad0cb
parentb47bfaf4fae305fd61f91caba27781a7c884c267
gatt: Add read callback to btd_gatt_add_char helper

This patch adds a function callback for read operations. When a remote
device wants to reads a given attribute, the core calls the specified
read callback to get the value from the external services.
src/gatt-dbus.c
src/gatt.c
src/gatt.h