Diff between 5ae69263b70817c047e3c664a3bf9e13d1a45058 and 7d0783b7110219a1c05196c08b06aaad873d34de

Changed Files

File Additions Deletions Status
emulator/btdev.c +5 -0 modified
emulator/btdev.h +1 -0 modified

Full Patch

diff --git a/emulator/btdev.c b/emulator/btdev.c
index 6ff3b92..cdf3e5d 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -493,6 +493,11 @@ const uint8_t *btdev_get_bdaddr(struct btdev *btdev)
 	return btdev->bdaddr;
 }
 
+uint8_t *btdev_get_features(struct btdev *btdev)
+{
+	return btdev->features;
+}
+
 void btdev_set_command_handler(struct btdev *btdev, btdev_command_func handler,
 							void *user_data)
 {
diff --git a/emulator/btdev.h b/emulator/btdev.h
index 5118a4a..1e623f4 100644
--- a/emulator/btdev.h
+++ b/emulator/btdev.h
@@ -77,6 +77,7 @@ struct btdev *btdev_create(enum btdev_type type, uint16_t id);
 void btdev_destroy(struct btdev *btdev);
 
 const uint8_t *btdev_get_bdaddr(struct btdev *btdev);
+uint8_t *btdev_get_features(struct btdev *btdev);
 
 void btdev_set_command_handler(struct btdev *btdev, btdev_command_func handler,
 							void *user_data);