Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Macros | Functions
HCITypes.cpp File Reference
#include <cstring>
#include <string>
#include <memory>
#include <cstdint>
#include <vector>
#include <cstdio>
#include <algorithm>
#include <jau/ringbuffer.hpp>
#include "HCITypes.hpp"
#include <inttypes.h>
#include <unistd.h>
#include <sys/param.h>
#include <sys/uio.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <poll.h>
Include dependency graph for HCITypes.cpp:

Go to the source code of this file.

Classes

struct  direct_bt::l2cap_hdr
 

Namespaces

 direct_bt
 

Macros

#define HCI_STATUS_CODE(X)
 
#define HCI_STATUS_CODE_CASE_TO_STRING(V)   case HCIStatusCode::V: return #V;
 
#define HCI_OPCODE(X)
 
#define HCI_OPCODE_CASE_TO_STRING(V)   case HCIOpcode::V: return #V;
 
#define HCI_EVENTTYPE(X)
 
#define HCI_EVENTTYPE_CASE_TO_STRING(V)   case HCIEventType::V: return #V;
 
#define HCI_METATYPE(X)
 
#define HCI_METATYPE_CASE_TO_STRING(V)   case HCIMetaEventType::V: return #V;
 

Functions

std::string direct_bt::to_string (const HCIStatusCode ec) noexcept
 
std::string direct_bt::to_string (const HCIPacketType op) noexcept
 
std::string direct_bt::to_string (const HCIOGF op) noexcept
 
std::string direct_bt::to_string (const HCIOpcode op) noexcept
 
std::string direct_bt::to_string (const HCIEventType op) noexcept
 
std::string direct_bt::to_string (const HCIMetaEventType op) noexcept
 

Macro Definition Documentation

◆ HCI_EVENTTYPE

#define HCI_EVENTTYPE (   X)

Definition at line 217 of file HCITypes.cpp.

◆ HCI_EVENTTYPE_CASE_TO_STRING

#define HCI_EVENTTYPE_CASE_TO_STRING (   V)    case HCIEventType::V: return #V;

Definition at line 250 of file HCITypes.cpp.

◆ HCI_METATYPE

#define HCI_METATYPE (   X)

Definition at line 260 of file HCITypes.cpp.

◆ HCI_METATYPE_CASE_TO_STRING

#define HCI_METATYPE_CASE_TO_STRING (   V)    case HCIMetaEventType::V: return #V;

Definition at line 297 of file HCITypes.cpp.

◆ HCI_OPCODE

#define HCI_OPCODE (   X)

Definition at line 170 of file HCITypes.cpp.

◆ HCI_OPCODE_CASE_TO_STRING

#define HCI_OPCODE_CASE_TO_STRING (   V)    case HCIOpcode::V: return #V;

Definition at line 207 of file HCITypes.cpp.

◆ HCI_STATUS_CODE

#define HCI_STATUS_CODE (   X)

Definition at line 53 of file HCITypes.cpp.

◆ HCI_STATUS_CODE_CASE_TO_STRING

#define HCI_STATUS_CODE_CASE_TO_STRING (   V)    case HCIStatusCode::V: return #V;

Definition at line 143 of file HCITypes.cpp.