![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/private/qglobal_p.h>#include <QtCore/qendian.h>#include <sys/socket.h>#include <QtBluetooth/QBluetoothUuid>#include <QtCore/qtmetamacros.h>Go to the source code of this file.
Classes | |
| struct | bt_security |
| struct | __attribute__ |
| struct | sockaddr_l2 |
| struct | sockaddr_rc |
| struct | sockaddr_hci |
| struct | hci_dev_req |
| struct | hci_dev_list_req |
| struct | hci_dev_stats |
| struct | hci_dev_info |
| struct | hci_conn_info |
| struct | hci_conn_list_req |
| struct | hci_filter |
| struct | evt_cmd_complete |
| struct | AclData |
| struct | L2CapHeader |
| struct | hci_command_hdr |
Namespaces | |
| namespace | QBluezConst |
Macros | |
| #define | ATTRIBUTE_CHANNEL_ID 4 |
| #define | SIGNALING_CHANNEL_ID 5 |
| #define | SECURITY_CHANNEL_ID 6 |
| #define | BTPROTO_L2CAP 0 |
| #define | BTPROTO_HCI 1 |
| #define | BTPROTO_RFCOMM 3 |
| #define | SOL_HCI 0 |
| #define | SOL_L2CAP 6 |
| #define | SOL_RFCOMM 18 |
| #define | SOL_BLUETOOTH 274 |
| #define | RFCOMM_LM 0x03 |
| #define | RFCOMM_LM_AUTH 0x0002 |
| #define | RFCOMM_LM_ENCRYPT 0x0004 |
| #define | RFCOMM_LM_TRUSTED 0x0008 |
| #define | RFCOMM_LM_SECURE 0x0020 |
| #define | L2CAP_LM 0x03 |
| #define | L2CAP_LM_AUTH 0x0002 |
| #define | L2CAP_LM_ENCRYPT 0x0004 |
| #define | L2CAP_LM_TRUSTED 0x0008 |
| #define | L2CAP_LM_SECURE 0x0020 |
| #define | BT_SECURITY 4 |
| #define | BT_SECURITY_SDP 0 |
| #define | BT_SECURITY_LOW 1 |
| #define | BT_SECURITY_MEDIUM 2 |
| #define | BT_SECURITY_HIGH 3 |
| #define | BDADDR_LE_PUBLIC 0x01 |
| #define | BDADDR_LE_RANDOM 0x02 |
| #define | SCO_LINK 0x00 |
| #define | ACL_LINK 0x01 |
| #define | ESCO_LINK 0x02 |
| #define | LE_LINK 0x80 |
| #define | htobs(d) |
| #define | htobl(d) |
| #define | htobll(d) |
| #define | btohs(d) |
| #define | btohl(d) |
| #define | btohll(d) |
| #define | HCIGETCONNLIST _IOR('H', 212, int) |
| #define | HCIGETDEVINFO _IOR('H', 211, int) |
| #define | HCIGETDEVLIST _IOR('H', 210, int) |
| #define | HCI_MAX_DEV 16 |
| #define | HCI_DEV_NONE 0xffff |
| #define | HCI_CHANNEL_CONTROL 0x3 |
| #define | HCI_MAX_EVENT_SIZE 260 |
| #define | HCI_FILTER 2 |
| #define | HCI_COMMAND_PKT 0x01 |
| #define | HCI_ACL_PKT 0x02 |
| #define | HCI_EVENT_PKT 0x04 |
| #define | HCI_VENDOR_PKT 0xff |
| #define | HCI_FLT_TYPE_BITS 31 |
| #define | HCI_FLT_EVENT_BITS 63 |
| #define | HCI_EVENT_HDR_SIZE 2 |
| #define | EVT_ENCRYPT_CHANGE_SIZE 4 |
| #define | opCodePack(ogf, ocf) |
| #define | ogfFromOpCode(op) |
| #define | ocfFromOpCode(op) |
Typedefs | |
| typedef QUuid::Id128Bytes | BluezUint128 |
Functions | |
| template<typename T> | |
| T | getBtData (const void *ptr) |
| static quint16 | bt_get_le16 (const void *ptr) |
| template<typename T> | |
| void | putBtData (T srcsrc, void *dstdst) |
| static void | hci_set_bit (int nr, void *addraddr) |
| static void | hci_clear_bit (int nr, void *addraddr) |
| static void | hci_filter_clear (struct hci_filter *ff) |
| static void | hci_filter_set_ptype (int tt, struct hci_filter *ff) |
| static void | hci_filter_clear_ptype (int tt, struct hci_filter *ff) |
| static void | hci_filter_set_event (int e, struct hci_filter *ff) |
| static void | hci_filter_clear_event (int e, struct hci_filter *ff) |
| static void | hci_filter_all_ptypes (struct hci_filter *ff) |
| static void | hci_filter_all_events (struct hci_filter *ff) |
| struct evt_cmd_complete | __attribute__ ((packed)) |
Variables | |
| quint8 | ncmd |
| quint16 | opcode |
| struct AclData | __attribute__ |
| quint8 | plen |
| Q_NAMESPACE enum QBluezConst::OpCodeGroupField | QBluezConst::__attribute__ |
| #define ACL_LINK 0x01 |
Definition at line 68 of file bluez_data_p.h.
| #define ATTRIBUTE_CHANNEL_ID 4 |
Definition at line 26 of file bluez_data_p.h.
| #define BDADDR_LE_PUBLIC 0x01 |
Definition at line 64 of file bluez_data_p.h.
| #define BDADDR_LE_RANDOM 0x02 |
Definition at line 65 of file bluez_data_p.h.
| #define BT_SECURITY 4 |
Definition at line 54 of file bluez_data_p.h.
| #define BT_SECURITY_HIGH 3 |
Definition at line 62 of file bluez_data_p.h.
| #define BT_SECURITY_LOW 1 |
Definition at line 60 of file bluez_data_p.h.
| #define BT_SECURITY_MEDIUM 2 |
Definition at line 61 of file bluez_data_p.h.
| #define BT_SECURITY_SDP 0 |
Definition at line 59 of file bluez_data_p.h.
| #define btohl | ( | d | ) |
Definition at line 78 of file bluez_data_p.h.
| #define btohll | ( | d | ) |
Definition at line 79 of file bluez_data_p.h.
| #define btohs | ( | d | ) |
Definition at line 77 of file bluez_data_p.h.
| #define BTPROTO_HCI 1 |
Definition at line 31 of file bluez_data_p.h.
| #define BTPROTO_L2CAP 0 |
Definition at line 30 of file bluez_data_p.h.
| #define BTPROTO_RFCOMM 3 |
Definition at line 32 of file bluez_data_p.h.
| #define ESCO_LINK 0x02 |
Definition at line 69 of file bluez_data_p.h.
| #define EVT_ENCRYPT_CHANGE_SIZE 4 |
Definition at line 281 of file bluez_data_p.h.
| #define HCI_ACL_PKT 0x02 |
Definition at line 152 of file bluez_data_p.h.
| #define HCI_CHANNEL_CONTROL 0x3 |
Definition at line 143 of file bluez_data_p.h.
| #define HCI_COMMAND_PKT 0x01 |
Definition at line 151 of file bluez_data_p.h.
| #define HCI_DEV_NONE 0xffff |
Definition at line 141 of file bluez_data_p.h.
| #define HCI_EVENT_HDR_SIZE 2 |
Definition at line 274 of file bluez_data_p.h.
| #define HCI_EVENT_PKT 0x04 |
Definition at line 153 of file bluez_data_p.h.
| #define HCI_FILTER 2 |
Definition at line 148 of file bluez_data_p.h.
| #define HCI_FLT_EVENT_BITS 63 |
Definition at line 157 of file bluez_data_p.h.
| #define HCI_FLT_TYPE_BITS 31 |
Definition at line 156 of file bluez_data_p.h.
| #define HCI_MAX_DEV 16 |
Definition at line 140 of file bluez_data_p.h.
| #define HCI_MAX_EVENT_SIZE 260 |
Definition at line 145 of file bluez_data_p.h.
| #define HCI_VENDOR_PKT 0xff |
Definition at line 154 of file bluez_data_p.h.
| #define HCIGETCONNLIST _IOR('H', 212, int) |
Definition at line 91 of file bluez_data_p.h.
| #define HCIGETDEVINFO _IOR('H', 211, int) |
Definition at line 92 of file bluez_data_p.h.
| #define HCIGETDEVLIST _IOR('H', 210, int) |
Definition at line 93 of file bluez_data_p.h.
| #define htobl | ( | d | ) |
Definition at line 75 of file bluez_data_p.h.
| #define htobll | ( | d | ) |
Definition at line 76 of file bluez_data_p.h.
| #define htobs | ( | d | ) |
Definition at line 74 of file bluez_data_p.h.
| #define L2CAP_LM 0x03 |
Definition at line 48 of file bluez_data_p.h.
| #define L2CAP_LM_AUTH 0x0002 |
Definition at line 49 of file bluez_data_p.h.
| #define L2CAP_LM_ENCRYPT 0x0004 |
Definition at line 50 of file bluez_data_p.h.
| #define L2CAP_LM_SECURE 0x0020 |
Definition at line 52 of file bluez_data_p.h.
| #define L2CAP_LM_TRUSTED 0x0008 |
Definition at line 51 of file bluez_data_p.h.
| #define LE_LINK 0x80 |
Definition at line 70 of file bluez_data_p.h.
| #define ocfFromOpCode | ( | op | ) |
Definition at line 390 of file bluez_data_p.h.
| #define ogfFromOpCode | ( | op | ) |
Definition at line 389 of file bluez_data_p.h.
| #define opCodePack | ( | ogf, | |
| ocf ) |
Definition at line 388 of file bluez_data_p.h.
| #define RFCOMM_LM 0x03 |
Definition at line 41 of file bluez_data_p.h.
| #define RFCOMM_LM_AUTH 0x0002 |
Definition at line 43 of file bluez_data_p.h.
| #define RFCOMM_LM_ENCRYPT 0x0004 |
Definition at line 44 of file bluez_data_p.h.
| #define RFCOMM_LM_SECURE 0x0020 |
Definition at line 46 of file bluez_data_p.h.
| #define RFCOMM_LM_TRUSTED 0x0008 |
Definition at line 45 of file bluez_data_p.h.
| #define SCO_LINK 0x00 |
Definition at line 67 of file bluez_data_p.h.
| #define SECURITY_CHANNEL_ID 6 |
Definition at line 28 of file bluez_data_p.h.
| #define SIGNALING_CHANNEL_ID 5 |
Definition at line 27 of file bluez_data_p.h.
| #define SOL_BLUETOOTH 274 |
Definition at line 38 of file bluez_data_p.h.
| #define SOL_HCI 0 |
Definition at line 34 of file bluez_data_p.h.
| #define SOL_L2CAP 6 |
Definition at line 35 of file bluez_data_p.h.
| #define SOL_RFCOMM 18 |
Definition at line 36 of file bluez_data_p.h.
| typedef QUuid::Id128Bytes BluezUint128 |
Definition at line 96 of file bluez_data_p.h.
| struct evt_cmd_complete __attribute__ | ( | (packed) | ) |
Definition at line 128 of file bluez_data_p.h.
|
inline |
Definition at line 123 of file bluez_data_p.h.
Definition at line 237 of file bluez_data_p.h.
|
inlinestatic |
Definition at line 265 of file bluez_data_p.h.
Referenced by HciManager::monitorAclPackets().
|
inlinestatic |
Definition at line 261 of file bluez_data_p.h.
|
inlinestatic |
Definition at line 241 of file bluez_data_p.h.
Referenced by HciManager::stopEvents().
|
inlinestatic |
Definition at line 257 of file bluez_data_p.h.
|
inlinestatic |
Definition at line 249 of file bluez_data_p.h.
|
inlinestatic |
Definition at line 253 of file bluez_data_p.h.
|
inlinestatic |
Definition at line 245 of file bluez_data_p.h.
Referenced by HciManager::monitorAclPackets().
Definition at line 233 of file bluez_data_p.h.
Definition at line 133 of file bluez_data_p.h.
| struct AclData __attribute__ |
| quint8 ncmd |
Definition at line 0 of file bluez_data_p.h.
| quint16 opcode |
Definition at line 1 of file bluez_data_p.h.
| quint8 plen |
Definition at line 1 of file bluez_data_p.h.