1 /*
2  * Copyright (c) 2022 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/sys/printk.h>
8 #include <zephyr/bluetooth/bluetooth.h>
9 
10 int observer_start(void);
11 
main(void)12 int main(void)
13 {
14 	int err;
15 
16 	printk("Starting Observer Demo\n");
17 
18 	/* Initialize the Bluetooth Subsystem */
19 	err = bt_enable(NULL);
20 	if (err) {
21 		printk("Bluetooth init failed (err %d)\n", err);
22 		return 0;
23 	}
24 
25 	(void)observer_start();
26 
27 	printk("Exiting %s thread.\n", __func__);
28 	return 0;
29 }
30