/* main.c - Application main entry point */ | |
/* | |
* Copyright (c) 2015-2016 Intel Corporation | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
#include <zephyr/types.h> | |
#include <stddef.h> | |
#include <misc/printk.h> | |
#include <bluetooth/bluetooth.h> | |
void main(void) | |
{ | |
int err; | |
err = bt_enable(NULL); | |
if (err) { | |
printk("Bluetooth init failed (err %d)\n", err); | |
return; | |
} | |
printk("Bluetooth initialized\n"); | |
} |