|
4 | 4 | * SPDX-License-Identifier: Apache-2.0
|
5 | 5 | */
|
6 | 6 |
|
7 |
| -#include <zephyr/bluetooth/bluetooth.h> |
8 |
| - |
9 | 7 | #include <assert.h>
|
10 | 8 | #include <errno.h>
|
| 9 | +#include <stdint.h> |
| 10 | +#include <string.h> |
| 11 | +#include <va.h> |
| 12 | + |
| 13 | +#include <zephyr/autoconf.h> |
| 14 | +#include <zephyr/bluetooth/bluetooth.h> |
11 | 15 | #include <zephyr/bluetooth/mesh.h>
|
| 16 | +#include <zephyr/bluetooth/mesh/access.h> |
12 | 17 | #include <zephyr/bluetooth/mesh/cfg.h>
|
13 |
| -#include <zephyr/sys/byteorder.h> |
| 18 | +#include <zephyr/bluetooth/mesh/cfg_cli.h> |
| 19 | +#include <zephyr/bluetooth/mesh/cfg_srv.h> |
| 20 | +#include <zephyr/bluetooth/mesh/health_cli.h> |
| 21 | +#include <zephyr/bluetooth/mesh/health_srv.h> |
| 22 | +#include <zephyr/bluetooth/mesh/main.h> |
| 23 | +#include <zephyr/bluetooth/mesh/msg.h> |
| 24 | +#include <zephyr/bluetooth/mesh/proxy.h> |
| 25 | +#include <zephyr/logging/log.h> |
| 26 | +#include <zephyr/net_buf.h> |
14 | 27 | #include <zephyr/settings/settings.h>
|
15 |
| -#include <app_keys.h> |
16 |
| -#include <va.h> |
17 |
| -#include <sar_cfg_internal.h> |
18 |
| -#include <string.h> |
| 28 | +#include <zephyr/sys/byteorder.h> |
| 29 | +#include <zephyr/sys/util.h> |
| 30 | +#include <zephyr/sys/util_macro.h> |
| 31 | +#include <zephyr/sys_clock.h> |
| 32 | + |
19 | 33 | #include "mesh/access.h"
|
| 34 | +#include "mesh/dfu_slot.h" |
20 | 35 | #include "mesh/testing.h"
|
21 | 36 |
|
22 |
| -#include <zephyr/logging/log.h> |
| 37 | +#include "btp/btp.h" |
| 38 | + |
23 | 39 | #define LOG_MODULE_NAME bttester_mesh
|
24 | 40 | LOG_MODULE_REGISTER(LOG_MODULE_NAME, CONFIG_BTTESTER_LOG_LEVEL);
|
25 | 41 |
|
26 |
| -#include "btp/btp.h" |
27 |
| -#include "dfu_slot.h" |
28 |
| - |
29 | 42 | #define CID_LOCAL 0x05F1
|
30 | 43 | #define COMPANY_ID_LF 0x05F1
|
31 | 44 | #define COMPANY_ID_NORDIC_SEMI 0x05F9
|
@@ -1444,7 +1457,7 @@ static uint8_t start(const void *cmd, uint16_t cmd_len,
|
1444 | 1457 | LOG_DBG("");
|
1445 | 1458 |
|
1446 | 1459 | if (IS_ENABLED(CONFIG_BT_SETTINGS)) {
|
1447 |
| - printk("Loading stored settings\n"); |
| 1460 | + LOG_INF("Loading stored settings\n"); |
1448 | 1461 | settings_load();
|
1449 | 1462 | }
|
1450 | 1463 |
|
|
0 commit comments