diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-02-28 20:31:56 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-02-28 20:31:56 -0800 |
commit | a545949b1eb63b95c0156b4980b2341c1c843336 (patch) | |
tree | 0ad4a741e59dc3de86eb1e02c3fad333e0a3b453 /tools/hci-tester.c | |
parent | 42e8f8844fd04140c600c538d26e888670d42c05 (diff) | |
download | bluez-a545949b1eb63b95c0156b4980b2341c1c843336.tar.gz |
tools: Add two simple LE white list test commands
Diffstat (limited to 'tools/hci-tester.c')
-rw-r--r-- | tools/hci-tester.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/hci-tester.c b/tools/hci-tester.c index 26ee80007..a5dbde2c9 100644 --- a/tools/hci-tester.c +++ b/tools/hci-tester.c @@ -329,6 +329,16 @@ static void test_read_local_supported_codecs(const void *test_data) test_command(BT_HCI_CMD_READ_LOCAL_CODECS); } +static void test_le_read_white_list_size(const void *test_data) +{ + test_command(BT_HCI_CMD_LE_READ_WHITE_LIST_SIZE); +} + +static void test_le_clear_white_list(const void *test_data) +{ + test_command(BT_HCI_CMD_LE_CLEAR_WHITE_LIST); +} + static void test_inquiry_complete(const void *data, uint8_t size, void *user_data) { @@ -643,6 +653,11 @@ int main(int argc, char *argv[]) test_hci_local("Read Local Supported Codecs", NULL, NULL, test_read_local_supported_codecs); + test_hci_local("LE Read White List Size", NULL, NULL, + test_le_read_white_list_size); + test_hci_local("LE Clear White List", NULL, NULL, + test_le_clear_white_list); + test_hci_local("Inquiry (LIAC)", NULL, NULL, test_inquiry_liac); test_hci("Create Connection", NULL, |