|
Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
#include <cstring>#include <string>#include <memory>#include <cstdint>#include <vector>#include <cstdio>#include <algorithm>#include <jau/debug.hpp>#include "BTIoctl.hpp"#include "MgmtTypes.hpp"#include "HCIIoctl.hpp"#include "HCIComm.hpp"#include "BTTypes1.hpp"#include <inttypes.h>#include <unistd.h>Go to the source code of this file.
Macros | |
| #define | CASE_TO_STRING(V) case V: return #V; |
| #define | CASE2_TO_STRING(U, V) case U::V: return #V; |
| #define | MGMT_STATUS_ENUM(X) |
| #define | MGMT_STATUS_CASE_TO_STRING(V) case MgmtStatus::V: return #V; |
| #define | MGMT_LINKKEYTYPE_ENUM(X) |
| #define | MGMT_LINKKEYTYPE_TO_STRING(V) case MgmtLinkKeyType::V: return #V; |
| #define | MGMT_LTKTYPE_ENUM(X) |
| #define | MGMT_LTKTYPE_TO_STRING(V) case MgmtLTKType::V: return #V; |
| #define | MGMT_CSRKTYPE_ENUM(X) |
| #define | MGMT_CSRKTYPE_TO_STRING(V) case MgmtCSRKType::V: return #V; |
| #define | MGMT_OPCODE_ENUM(X) |
| #define | MGMT_OPCODE_CASE_TO_STRING(V) case MgmtCommand::Opcode::V: return #V; |
| #define | MGMT_EV_OPCODE_ENUM(X) |
| #define | MGMT_EV_OPCODE_CASE_TO_STRING(V) case MgmtEvent::Opcode::V: return #V; |
| #define CASE2_TO_STRING | ( | U, | |
| V | |||
| ) | case U::V: return #V; |
Definition at line 58 of file MgmtTypes.cpp.
| #define CASE_TO_STRING | ( | V | ) | case V: return #V; |
Definition at line 57 of file MgmtTypes.cpp.
| #define MGMT_CSRKTYPE_ENUM | ( | X | ) |
Definition at line 143 of file MgmtTypes.cpp.
| #define MGMT_CSRKTYPE_TO_STRING | ( | V | ) | case MgmtCSRKType::V: return #V; |
Definition at line 150 of file MgmtTypes.cpp.
| #define MGMT_EV_OPCODE_CASE_TO_STRING | ( | V | ) | case MgmtEvent::Opcode::V: return #V; |
Definition at line 313 of file MgmtTypes.cpp.
| #define MGMT_EV_OPCODE_ENUM | ( | X | ) |
Definition at line 264 of file MgmtTypes.cpp.
| #define MGMT_LINKKEYTYPE_ENUM | ( | X | ) |
Definition at line 93 of file MgmtTypes.cpp.
| #define MGMT_LINKKEYTYPE_TO_STRING | ( | V | ) | case MgmtLinkKeyType::V: return #V; |
Definition at line 105 of file MgmtTypes.cpp.
| #define MGMT_LTKTYPE_ENUM | ( | X | ) |
Definition at line 115 of file MgmtTypes.cpp.
| #define MGMT_LTKTYPE_TO_STRING | ( | V | ) | case MgmtLTKType::V: return #V; |
Definition at line 123 of file MgmtTypes.cpp.
| #define MGMT_OPCODE_CASE_TO_STRING | ( | V | ) | case MgmtCommand::Opcode::V: return #V; |
Definition at line 250 of file MgmtTypes.cpp.
| #define MGMT_OPCODE_ENUM | ( | X | ) |
Definition at line 165 of file MgmtTypes.cpp.
| #define MGMT_STATUS_CASE_TO_STRING | ( | V | ) | case MgmtStatus::V: return #V; |
Definition at line 83 of file MgmtTypes.cpp.
| #define MGMT_STATUS_ENUM | ( | X | ) |
Definition at line 60 of file MgmtTypes.cpp.
1.8.18