diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-01-15 15:24:52 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-01-15 15:28:09 +0200 |
commit | 21acd8257bbaee96bfe0c7df046c8fd4b32c9aca (patch) | |
tree | 70ef3d0dc740dd73704c96e446096eb0bdc43f3d | |
parent | 512b6897983748a907e6d7a6c35bd8b724ba5bde (diff) |
tools/mgmt-tester: Add new link key mgmt event to pair_device test conditions
-rw-r--r-- | tools/mgmt-tester.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 63d33037e..1609232af 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -2287,6 +2287,8 @@ static const struct generic_data pair_device_success_test_1 = { .send_func = pair_device_send_param_func, .expect_status = MGMT_STATUS_SUCCESS, .expect_func = pair_device_expect_param_func, + .expect_alt_ev = MGMT_EV_NEW_LINK_KEY, + .expect_alt_ev_len = 26, .expect_hci_command = BT_HCI_CMD_AUTH_REQUESTED, .expect_hci_param = auth_req_param, .expect_hci_len = sizeof(auth_req_param), @@ -2307,6 +2309,8 @@ static const struct generic_data pair_device_success_test_2 = { .send_func = pair_device_send_param_func, .expect_status = MGMT_STATUS_SUCCESS, .expect_func = pair_device_expect_param_func, + .expect_alt_ev = MGMT_EV_NEW_LINK_KEY, + .expect_alt_ev_len = 26, .expect_hci_command = BT_HCI_CMD_AUTH_REQUESTED, .expect_hci_param = auth_req_param, .expect_hci_len = sizeof(auth_req_param), @@ -2389,6 +2393,8 @@ static const struct generic_data pair_device_ssp_test_1 = { .send_func = pair_device_send_param_func, .expect_status = MGMT_STATUS_SUCCESS, .expect_func = pair_device_expect_param_func, + .expect_alt_ev = MGMT_EV_NEW_LINK_KEY, + .expect_alt_ev_len = 26, .expect_hci_command = BT_HCI_CMD_USER_CONFIRM_REQUEST_REPLY, .expect_hci_func = client_bdaddr_param_func, .io_cap = 0x03, /* NoInputNoOutput */ @@ -2402,6 +2408,8 @@ static const struct generic_data pair_device_ssp_test_2 = { .send_func = pair_device_send_param_func, .expect_status = MGMT_STATUS_SUCCESS, .expect_func = pair_device_expect_param_func, + .expect_alt_ev = MGMT_EV_NEW_LINK_KEY, + .expect_alt_ev_len = 26, .expect_hci_command = BT_HCI_CMD_USER_CONFIRM_REQUEST_REPLY, .expect_hci_func = client_bdaddr_param_func, .io_cap = 0x01, /* DisplayYesNo */ |