aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorPaulo Alcantara <paulo.alcantara@openbossa.org>2012-05-12 02:44:07 -0300
committerPaulo Alcantara <paulo.alcantara@openbossa.org>2012-05-22 01:18:01 -0300
commit225d0cf7458a4453ea1e7d3308ca9fd657c98f5d (patch)
treeac5594a3459eec436e812f80afd2ccae7b1ce533 /src/storage.h
parent0b17ce57481014d292f3c070f612c1a3731929a1 (diff)
downloadbluez-hog_test3.tar.gz
bluez-hog_test3.tar.xz
bluez-hog_test3.zip
storage: Store address type in "eir" filehog_test3
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/storage.h b/src/storage.h
index 53491d9c..9e5eff18 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -48,9 +48,10 @@ int write_device_name(bdaddr_t *local, bdaddr_t *peer, uint8_t bdaddr_type,
char *name);
int read_device_name(const char *src, const char *dst, uint8_t bdaddr_type,
char *name);
-int write_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t *data,
- uint8_t data_len);
-int read_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t *data);
+int write_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t bdaddr_type,
+ uint8_t *data, uint8_t data_len);
+int read_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t bdaddr_type,
+ uint8_t *data);
int write_version_info(bdaddr_t *local, bdaddr_t *peer, uint16_t manufacturer, uint8_t lmp_ver, uint16_t lmp_subver);
int write_features_info(bdaddr_t *local, bdaddr_t *peer, unsigned char *page1, unsigned char *page2);
int read_remote_features(bdaddr_t *local, bdaddr_t *peer, unsigned char *page1, unsigned char *page2);