File tree Expand file tree Collapse file tree 18 files changed +131
-77
lines changed
tests/bluetooth/tester/src Expand file tree Collapse file tree 18 files changed +131
-77
lines changed Original file line number Diff line number Diff line change 66 *
77 * SPDX-License-Identifier: Apache-2.0
88 */
9-
10- #include <zephyr/kernel.h>
9+ #include <errno.h>
1110#include <stdio.h>
11+ #include <stdint.h>
1212#include <string.h>
13- #include <zephyr/types.h>
13+
14+ #include <zephyr/autoconf.h>
15+ #include <zephyr/bluetooth/bluetooth.h>
1416#include <zephyr/device.h>
1517#include <zephyr/drivers/uart.h>
16- #include <zephyr/toolchain.h>
17- #include <zephyr/bluetooth/bluetooth.h>
18- #include <zephyr/sys/byteorder.h>
1918#include <zephyr/drivers/uart_pipe.h>
20-
19+ #include <zephyr/kernel.h>
20+ #include <zephyr/kernel/thread_stack.h>
2121#include <zephyr/logging/log.h>
22+ #include <zephyr/net_buf.h>
23+ #include <zephyr/sys/__assert.h>
24+ #include <zephyr/sys/byteorder.h>
25+ #include <zephyr/sys/util.h>
26+ #include <zephyr/sys_clock.h>
27+ #include <zephyr/toolchain.h>
28+ #include <zephyr/types.h>
29+
2230#define LOG_MODULE_NAME bttester
2331LOG_MODULE_REGISTER (LOG_MODULE_NAME , CONFIG_BTTESTER_LOG_LEVEL );
2432
Original file line number Diff line number Diff line change 1010#ifndef TESTS_BLUETOOTH_TESTER_SRC_BTP_
1111#define TESTS_BLUETOOTH_TESTER_SRC_BTP_
1212
13- #include <zephyr/sys/util.h>
14- #include <zephyr/bluetooth/addr.h>
13+ #include <stdint.h>
1514
1615#include "bttester.h"
1716#include "btp_core.h"
Original file line number Diff line number Diff line change 77 * SPDX-License-Identifier: Apache-2.0
88 */
99
10- #include <zephyr/sys/util.h>
11- #include <zephyr/bluetooth/addr.h>
10+ #include <stdint.h>
1211
1312/* Core Service */
1413#define BTP_CORE_READ_SUPPORTED_COMMANDS 0x01
Original file line number Diff line number Diff line change 77 * SPDX-License-Identifier: Apache-2.0
88 */
99
10- #include <zephyr/sys/util.h>
10+ #include <stddef.h>
11+ #include <stdint.h>
12+
1113#include <zephyr/bluetooth/addr.h>
1214
1315/* GAP Service */
Original file line number Diff line number Diff line change 77 * SPDX-License-Identifier: Apache-2.0
88 */
99
10- #include <zephyr/sys/util.h>
10+ #include <stdint.h>
11+
1112#include <zephyr/bluetooth/addr.h>
1213
1314/* GATT Service */
Original file line number Diff line number Diff line change 66 * SPDX-License-Identifier: Apache-2.0
77 */
88
9- #include <zephyr/bluetooth/services/ias.h>
109#include <stdint.h>
1110
1211/* events */
Original file line number Diff line number Diff line change 77 * SPDX-License-Identifier: Apache-2.0
88 */
99
10- #include <zephyr/sys/util.h>
10+ #include <stdint.h>
11+
1112#include <zephyr/bluetooth/addr.h>
1213
1314/* L2CAP Service */
Original file line number Diff line number Diff line change 77 * SPDX-License-Identifier: Apache-2.0
88 */
99
10- #include <zephyr/sys/util.h>
10+ #include <stdint.h>
11+
1112#include <zephyr/bluetooth/addr.h>
13+ #include <zephyr/sys/util_macro.h>
1214
1315/* MESH Service */
1416/* commands */
Original file line number Diff line number Diff line change 66 * SPDX-License-Identifier: Apache-2.0
77 */
88
9+ #include <stdint.h>
10+
911/* OTS commands */
1012#define BTP_OTS_READ_SUPPORTED_COMMANDS 0x01
1113struct btp_ots_read_supported_commands_rp {
Original file line number Diff line number Diff line change 77 * SPDX-License-Identifier: Apache-2.0
88 */
99
10- #include <zephyr/types.h>
11- #include <zephyr/sys/util.h>
10+ #include <stddef.h>
11+ #include <stdint.h>
12+
1213#include <zephyr/bluetooth/addr.h>
14+ #include <zephyr/sys/util_macro.h>
1315#include <sys/types.h>
1416
1517static inline void tester_set_bit (uint8_t * addr , unsigned int bit )
You can’t perform that action at this time.
0 commit comments