Direct-BT v3.3.0-1-gc2d430c
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 "HCIHandler.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

namespace  direct_bt
 

Macros

#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;
 
#define HCI_OPCODE(X)
 
#define HCI_OPCODE_CASE_TO_STRING(V)   case HCIOpcode::V: return #V;
 
#define HCI_STATUS_CODE(X)
 
#define HCI_STATUS_CODE_CASE_TO_STRING(V)   case HCIStatusCode::V: return #V;
 

Functions

std::string direct_bt::to_string (const HCIEventType op) noexcept
 
std::string direct_bt::to_string (const HCIMetaEventType 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 HCIPacketType op) noexcept
 
std::string direct_bt::to_string (const HCIStatusCode ec) noexcept
 

Macro Definition Documentation

◆ 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.

◆ 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 221 of file HCITypes.cpp.

◆ HCI_EVENTTYPE

#define HCI_EVENTTYPE (   X)

Definition at line 231 of file HCITypes.cpp.

◆ HCI_EVENTTYPE_CASE_TO_STRING

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

Definition at line 264 of file HCITypes.cpp.

◆ HCI_METATYPE

#define HCI_METATYPE (   X)

Definition at line 274 of file HCITypes.cpp.

◆ HCI_METATYPE_CASE_TO_STRING

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

Definition at line 311 of file HCITypes.cpp.