From d039f4ef208711487e0fb8f7ca7ca28fd32708f6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sun, 8 Mar 2015 21:51:05 +0200 Subject: [PATCH] tools/mgmt-tester: Update static addr test expected response --- tools/mgmt-tester.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index d879b4e56..20501a6cd 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -3273,12 +3273,15 @@ static const struct generic_data unblock_device_invalid_param_test_1 = { static const char set_static_addr_valid_param[] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0xc0 }; +static const char set_static_addr_settings[] = { 0x00, 0x82, 0x00, 0x00 }; static const struct generic_data set_static_addr_success_test = { .send_opcode = MGMT_OP_SET_STATIC_ADDRESS, .send_param = set_static_addr_valid_param, .send_len = sizeof(set_static_addr_valid_param), .expect_status = MGMT_STATUS_SUCCESS, + .expect_param = set_static_addr_settings, + .expect_len = sizeof(set_static_addr_settings), }; static const struct generic_data set_static_addr_failure_test = { @@ -5281,7 +5284,7 @@ int main(int argc, char *argv[]) &unblock_device_invalid_param_test_1, NULL, test_command_generic); - test_bredrle("Set Static Address - Success", + test_le("Set Static Address - Success", &set_static_addr_success_test, NULL, test_command_generic); test_bredrle("Set Static Address - Failure", -- 2.47.3