From 9d6c95166f1a93d34a1b10f45d5822cd3dceb04e Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Mon, 2 Jan 2023 21:13:48 +0100 Subject: [PATCH] test/gatt_server: add tests --- test/gatt_server/gatt_server_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/gatt_server/gatt_server_test.cpp b/test/gatt_server/gatt_server_test.cpp index 065e21c75..9d2979cce 100644 --- a/test/gatt_server/gatt_server_test.cpp +++ b/test/gatt_server/gatt_server_test.cpp @@ -490,7 +490,7 @@ TEST(ATT_SERVER, sm_event_numeric_comparison_request_event) { } TEST(ATT_SERVER, sm_event_identity_created_event) { - uint8_t buffer[11]; + uint8_t buffer[20]; buffer[0] = SM_EVENT_IDENTITY_CREATED; buffer[1] = 9; @@ -506,7 +506,7 @@ TEST(ATT_SERVER, sm_event_pairing_complete_event) { } TEST(ATT_SERVER, sm_event_authorization_result_event) { - uint8_t buffer[11]; + uint8_t buffer[12]; buffer[0] = SM_EVENT_AUTHORIZATION_RESULT; buffer[1] = 9;