aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2010-07-29 19:00:25 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-09 18:06:47 -0400
commitfc367513b16229cfb3643c5e130f22ab989ef517 (patch)
treec5fea5c47475d75032e3b5bc59216d95aa27ad6e /src/storage.h
parent3164df0ec2b9e995cb0a0c9123383d8322bab10f (diff)
downloadbluez-fc367513b16229cfb3643c5e130f22ab989ef517.tar.gz
bluez-fc367513b16229cfb3643c5e130f22ab989ef517.tar.xz
bluez-fc367513b16229cfb3643c5e130f22ab989ef517.zip
Add a way to store a device characteristics
This allows for the characteristics of a device to be stored on permanent storage, so they can be restored later on.
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h
index 93903a7c..37c6d54a 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -81,6 +81,8 @@ int write_blocked(const bdaddr_t *local, const bdaddr_t *remote,
int write_device_services(const bdaddr_t *sba, const bdaddr_t *dba,
const char *services);
char *read_device_services(const bdaddr_t *sba, const bdaddr_t *dba);
+int write_device_characteristics(const bdaddr_t *sba, const bdaddr_t *dba,
+ uint16_t handle, const char *chars);
#define PNP_UUID "00001200-0000-1000-8000-00805f9b34fb"