hci.h (6decb5b45e70d6ffff6488cc8e8bad6b9ac7f99b) | hci.h (5075b972f20ddad5bb19542ea4f5794d06673375) |
---|---|
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 --- 277 unchanged lines hidden (view full) --- 286/* HCI packet types */ 287#define HCI_DM1 0x0008 288#define HCI_DM3 0x0400 289#define HCI_DM5 0x4000 290#define HCI_DH1 0x0010 291#define HCI_DH3 0x0800 292#define HCI_DH5 0x8000 293 | 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 --- 277 unchanged lines hidden (view full) --- 286/* HCI packet types */ 287#define HCI_DM1 0x0008 288#define HCI_DM3 0x0400 289#define HCI_DM5 0x4000 290#define HCI_DH1 0x0010 291#define HCI_DH3 0x0800 292#define HCI_DH5 0x8000 293 |
294/* HCI packet types inverted masks */ 295#define HCI_2DH1 0x0002 296#define HCI_3DH1 0x0004 297#define HCI_2DH3 0x0100 298#define HCI_3DH3 0x0200 299#define HCI_2DH5 0x1000 300#define HCI_3DH5 0x2000 301 |
|
294#define HCI_HV1 0x0020 295#define HCI_HV2 0x0040 296#define HCI_HV3 0x0080 297 298#define SCO_PTYPE_MASK (HCI_HV1 | HCI_HV2 | HCI_HV3) 299#define ACL_PTYPE_MASK (~SCO_PTYPE_MASK) 300 301/* eSCO packet types */ --- 47 unchanged lines hidden (view full) --- 349#define LMP_ULAW 0x40 350#define LMP_ALAW 0x80 351 352#define LMP_CVSD 0x01 353#define LMP_PSCHEME 0x02 354#define LMP_PCONTROL 0x04 355#define LMP_TRANSPARENT 0x08 356 | 302#define HCI_HV1 0x0020 303#define HCI_HV2 0x0040 304#define HCI_HV3 0x0080 305 306#define SCO_PTYPE_MASK (HCI_HV1 | HCI_HV2 | HCI_HV3) 307#define ACL_PTYPE_MASK (~SCO_PTYPE_MASK) 308 309/* eSCO packet types */ --- 47 unchanged lines hidden (view full) --- 357#define LMP_ULAW 0x40 358#define LMP_ALAW 0x80 359 360#define LMP_CVSD 0x01 361#define LMP_PSCHEME 0x02 362#define LMP_PCONTROL 0x04 363#define LMP_TRANSPARENT 0x08 364 |
365#define LMP_EDR_2M 0x02 366#define LMP_EDR_3M 0x04 |
|
357#define LMP_RSSI_INQ 0x40 358#define LMP_ESCO 0x80 359 360#define LMP_EV4 0x01 361#define LMP_EV5 0x02 362#define LMP_NO_BREDR 0x20 363#define LMP_LE 0x40 | 367#define LMP_RSSI_INQ 0x40 368#define LMP_ESCO 0x80 369 370#define LMP_EV4 0x01 371#define LMP_EV5 0x02 372#define LMP_NO_BREDR 0x20 373#define LMP_LE 0x40 |
374#define LMP_EDR_3SLOT 0x80 |
|
364 | 375 |
376#define LMP_EDR_5SLOT 0x01 |
|
365#define LMP_SNIFF_SUBR 0x02 366#define LMP_PAUSE_ENC 0x04 367#define LMP_EDR_ESCO_2M 0x20 368#define LMP_EDR_ESCO_3M 0x40 369#define LMP_EDR_3S_ESCO 0x80 370 371#define LMP_EXT_INQ 0x01 372#define LMP_SIMUL_LE_BR 0x02 --- 21 unchanged lines hidden (view full) --- 394 395/* LE features */ 396#define HCI_LE_ENCRYPTION 0x01 397#define HCI_LE_CONN_PARAM_REQ_PROC 0x02 398#define HCI_LE_SLAVE_FEATURES 0x08 399#define HCI_LE_PING 0x10 400#define HCI_LE_DATA_LEN_EXT 0x20 401#define HCI_LE_EXT_SCAN_POLICY 0x80 | 377#define LMP_SNIFF_SUBR 0x02 378#define LMP_PAUSE_ENC 0x04 379#define LMP_EDR_ESCO_2M 0x20 380#define LMP_EDR_ESCO_3M 0x40 381#define LMP_EDR_3S_ESCO 0x80 382 383#define LMP_EXT_INQ 0x01 384#define LMP_SIMUL_LE_BR 0x02 --- 21 unchanged lines hidden (view full) --- 406 407/* LE features */ 408#define HCI_LE_ENCRYPTION 0x01 409#define HCI_LE_CONN_PARAM_REQ_PROC 0x02 410#define HCI_LE_SLAVE_FEATURES 0x08 411#define HCI_LE_PING 0x10 412#define HCI_LE_DATA_LEN_EXT 0x20 413#define HCI_LE_EXT_SCAN_POLICY 0x80 |
414#define HCI_LE_PHY_2M 0x01 415#define HCI_LE_PHY_CODED 0x08 |
|
402#define HCI_LE_CHAN_SEL_ALG2 0x40 403 404/* Connection modes */ 405#define HCI_CM_ACTIVE 0x0000 406#define HCI_CM_HOLD 0x0001 407#define HCI_CM_SNIFF 0x0002 408#define HCI_CM_PARK 0x0003 409 --- 1721 unchanged lines hidden --- | 416#define HCI_LE_CHAN_SEL_ALG2 0x40 417 418/* Connection modes */ 419#define HCI_CM_ACTIVE 0x0000 420#define HCI_CM_HOLD 0x0001 421#define HCI_CM_SNIFF 0x0002 422#define HCI_CM_PARK 0x0003 423 --- 1721 unchanged lines hidden --- |