1 /*
2  * Copyright (c) 2021 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/kernel.h>
8 #include <stddef.h>
9 #include <zephyr/ztest.h>
10 
11 #include <zephyr/bluetooth/bluetooth.h>
12 #include <pdu_df.h>
13 #include <lll/pdu_vendor.h>
14 #include <pdu.h>
15 #include "bt_common.h"
16 
ut_bt_setup(void)17 void *ut_bt_setup(void)
18 {
19 	int err;
20 
21 	/* Initialize bluetooth subsystem */
22 	err = bt_enable(NULL);
23 	zassert_equal(err, 0, "Bluetooth subsystem initialization failed");
24 
25 	return NULL;
26 }
27 
ut_bt_teardown(void * data)28 void ut_bt_teardown(void *data)
29 {
30 	int err;
31 
32 	err = bt_disable();
33 	zassert_equal(err, 0, "Bluetooth subsystem de-initialization failed");
34 }
35