bluetooth.h (ca2045e059c3aa1b06c9aed448672bc86dfdce11) bluetooth.h (26afbd826ee326e63a334c37fd45e82e50a615ec)
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 41 unchanged lines hidden (view full) ---

50#define BTPROTO_L2CAP 0
51#define BTPROTO_HCI 1
52#define BTPROTO_SCO 2
53#define BTPROTO_RFCOMM 3
54#define BTPROTO_BNEP 4
55#define BTPROTO_CMTP 5
56#define BTPROTO_HIDP 6
57#define BTPROTO_AVDTP 7
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 41 unchanged lines hidden (view full) ---

50#define BTPROTO_L2CAP 0
51#define BTPROTO_HCI 1
52#define BTPROTO_SCO 2
53#define BTPROTO_RFCOMM 3
54#define BTPROTO_BNEP 4
55#define BTPROTO_CMTP 5
56#define BTPROTO_HIDP 6
57#define BTPROTO_AVDTP 7
58#define BTPROTO_ISO 8
59#define BTPROTO_LAST BTPROTO_ISO
58
59#define SOL_HCI 0
60#define SOL_L2CAP 6
61#define SOL_SCO 17
62#define SOL_RFCOMM 18
63
64#define BT_SECURITY 4
65struct bt_security {

--- 78 unchanged lines hidden (view full) ---

144#define BT_MODE 15
145
146#define BT_MODE_BASIC 0x00
147#define BT_MODE_ERTM 0x01
148#define BT_MODE_STREAMING 0x02
149#define BT_MODE_LE_FLOWCTL 0x03
150#define BT_MODE_EXT_FLOWCTL 0x04
151
60
61#define SOL_HCI 0
62#define SOL_L2CAP 6
63#define SOL_SCO 17
64#define SOL_RFCOMM 18
65
66#define BT_SECURITY 4
67struct bt_security {

--- 78 unchanged lines hidden (view full) ---

146#define BT_MODE 15
147
148#define BT_MODE_BASIC 0x00
149#define BT_MODE_ERTM 0x01
150#define BT_MODE_STREAMING 0x02
151#define BT_MODE_LE_FLOWCTL 0x03
152#define BT_MODE_EXT_FLOWCTL 0x04
153
152#define BT_PKT_STATUS 16
154#define BT_PKT_STATUS 16
153
154#define BT_SCM_PKT_STATUS 0x03
155
155
156#define BT_SCM_PKT_STATUS 0x03
157
158#define BT_ISO_QOS 17
159
160#define BT_ISO_QOS_CIG_UNSET 0xff
161#define BT_ISO_QOS_CIS_UNSET 0xff
162
163struct bt_iso_io_qos {
164 __u32 interval;
165 __u16 latency;
166 __u16 sdu;
167 __u8 phy;
168 __u8 rtn;
169};
170
171struct bt_iso_qos {
172 __u8 cig;
173 __u8 cis;
174 __u8 sca;
175 __u8 packing;
176 __u8 framing;
177 struct bt_iso_io_qos in;
178 struct bt_iso_io_qos out;
179};
180
181#define BT_ISO_PHY_1M 0x01
182#define BT_ISO_PHY_2M 0x02
183#define BT_ISO_PHY_CODED 0x04
184#define BT_ISO_PHY_ANY (BT_ISO_PHY_1M | BT_ISO_PHY_2M | \
185 BT_ISO_PHY_CODED)
186
156#define BT_CODEC 19
157
158struct bt_codec_caps {
159 __u8 len;
160 __u8 data[];
161} __packed;
162
163struct bt_codec {

--- 404 unchanged lines hidden ---
187#define BT_CODEC 19
188
189struct bt_codec_caps {
190 __u8 len;
191 __u8 data[];
192} __packed;
193
194struct bt_codec {

--- 404 unchanged lines hidden ---