summaryrefslogtreecommitdiff
path: root/emulator/serial.h
blob: 1dce15f5123133029fb5ea7ae660bc9a84ab68d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 *
 *  BlueZ - Bluetooth protocol stack for Linux
 *
 *  Copyright (C) 2011-2014  Intel Corporation
 *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>
 *
 *
 */

#include <stdint.h>

enum serial_type {
	SERIAL_TYPE_BREDRLE,
	SERIAL_TYPE_BREDR,
	SERIAL_TYPE_LE,
	SERIAL_TYPE_AMP,
};

struct serial;

struct serial *serial_open(enum serial_type type);
void serial_close(struct serial *serial);