Esempio n. 1
0
File: main.c Progetto: 520lly/bluez
static int time_init(void)
{
	if (!main_opts.gatt_enabled) {
		DBG("GATT is disabled");
		return -ENOTSUP;
	}

	return time_server_init();
}
Esempio n. 2
0
static int time_init(void)
{
	if (!main_opts.attrib_server) {
		DBG("Attribute server is disabled");
		return -1;
	}

	return time_server_init();
}