summaryrefslogtreecommitdiff
path: root/emulator/btdev.h
diff options
context:
space:
mode:
authorƁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>2018-02-09 18:26:25 +0100
committerSzymon Janc <szymon.janc@codecoup.pl>2018-02-12 10:06:37 +0100
commitb54111d2a432cdbd4926cce8be5b119b298e8477 (patch)
tree05cfc36563c5c1c5854ece3dd5c1cdcf987ac46d /emulator/btdev.h
parentb83b171cadddcd2602f7486a6a0b4250d0e6ec7d (diff)
downloadbluez-b54111d2a432cdbd4926cce8be5b119b298e8477.tar.gz
emulator: Add initial LE states to btdev and API to set new one
Diffstat (limited to 'emulator/btdev.h')
-rw-r--r--emulator/btdev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulator/btdev.h b/emulator/btdev.h
index 40c72199b..ba06a1015 100644
--- a/emulator/btdev.h
+++ b/emulator/btdev.h
@@ -84,12 +84,13 @@ uint8_t btdev_get_scan_enable(struct btdev *btdev);
uint8_t btdev_get_le_scan_enable(struct btdev *btdev);
+void btdev_set_le_states(struct btdev *btdev, const uint8_t *le_states);
+
void btdev_set_command_handler(struct btdev *btdev, btdev_command_func handler,
void *user_data);
void btdev_set_send_handler(struct btdev *btdev, btdev_send_func handler,
void *user_data);
-
void btdev_receive_h4(struct btdev *btdev, const void *data, uint16_t len);
int btdev_add_hook(struct btdev *btdev, enum btdev_hook_type type,