/* * Copyright (c) 2021 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include #include #include #include #include #include #include #include "bt_common.h" void *ut_bt_setup(void) { int err; /* Initialize bluetooth subsystem */ err = bt_enable(NULL); zassert_equal(err, 0, "Bluetooth subsystem initialization failed"); return NULL; } void ut_bt_teardown(void *data) { int err; err = bt_disable(); zassert_equal(err, 0, "Bluetooth subsystem de-initialization failed"); }