summaryrefslogtreecommitdiff
path: root/emulator/btdev.h
diff options
context:
space:
mode:
authorJefferson Delfes <jefferson.delfes@openbossa.org>2013-04-11 11:24:42 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-04-30 13:01:58 +0300
commitb895b60dcff675f9f1e9f57749b0ef2eb7d1a2f7 (patch)
tree71e43f34ceedd1c6706c0a61de2e76c84d85dacd /emulator/btdev.h
parent1ba6ec3fbc7be27d5401b7e38d5dd3d399e1ae2e (diff)
downloadbluez-b895b60dcff675f9f1e9f57749b0ef2eb7d1a2f7.tar.gz
emulator: Add getter function for device address in btdev
This helper function returns bdaddr field from btdev.
Diffstat (limited to 'emulator/btdev.h')
-rw-r--r--emulator/btdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator/btdev.h b/emulator/btdev.h
index ef71a9ba5..fb4df66e0 100644
--- a/emulator/btdev.h
+++ b/emulator/btdev.h
@@ -66,6 +66,7 @@ struct btdev *btdev_create(enum btdev_type type, uint16_t id);
void btdev_destroy(struct btdev *btdev);
void btdev_set_bdaddr(struct btdev *btdev, uint8_t *bdaddr);
+const uint8_t *btdev_get_bdaddr(struct btdev *btdev);
void btdev_set_command_handler(struct btdev *btdev, btdev_command_func handler,
void *user_data);