diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2015-05-15 16:46:22 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-05-17 10:39:10 +0300 |
commit | f16b30cf3f86ef2e9911e540e1c45c636a05284d (patch) | |
tree | 28f32da37af7c685d8821741da5a349eb395b323 | |
parent | bd16cbccb8bd93d26c2ab51428bc62a4e71180d3 (diff) | |
download | bluez-f16b30cf3f86ef2e9911e540e1c45c636a05284d.tar.gz |
tester: Add HCI LE Rand command
Check status only
-rw-r--r-- | tools/hci-tester.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/hci-tester.c b/tools/hci-tester.c index 903921d58..4b27038dd 100644 --- a/tools/hci-tester.c +++ b/tools/hci-tester.c @@ -406,6 +406,11 @@ static void test_le_encrypt(const void *test_data) } +static void test_le_rand(const void *test_data) +{ + test_command(BT_HCI_CMD_LE_RAND); +} + static void test_inquiry_complete(const void *data, uint8_t size, void *user_data) { @@ -726,6 +731,8 @@ int main(int argc, char *argv[]) test_le_clear_white_list); test_hci_local("LE Encrypt", NULL, NULL, test_le_encrypt); + test_hci_local("LE Rand", NULL, NULL, + test_le_rand); test_hci_local("Inquiry (LIAC)", NULL, NULL, test_inquiry_liac); |