test/gatt-service: add test to device_information_service_client

This commit is contained in:
Milanka Ringwald 2024-04-17 10:11:34 +02:00
parent b7cc2959ca
commit f0ffc42b69

View File

@ -248,6 +248,9 @@ TEST(DEVICE_INFORMATION_SERVICE_CLIENT, double_query){
status = device_information_service_client_query(con_handle, &gatt_client_event_handler);
CHECK_EQUAL(ERROR_CODE_COMMAND_DISALLOWED, status);
status = device_information_service_client_query(HCI_CON_HANDLE_INVALID, &gatt_client_event_handler);
CHECK_EQUAL(ERROR_CODE_COMMAND_DISALLOWED, status);
}
TEST(DEVICE_INFORMATION_SERVICE_CLIENT, query_no_service){