Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Macros | Functions
BTGattChar.cpp File Reference
#include <cstring>
#include <string>
#include <memory>
#include <cstdint>
#include <vector>
#include <cstdio>
#include <algorithm>
#include <jau/dfa_utf8_decode.hpp>
#include <jau/debug.hpp>
#include "BTDevice.hpp"
#include "BTGattService.hpp"
#include "BTGattChar.hpp"
#include "BTGattHandler.hpp"
Include dependency graph for BTGattChar.cpp:

Go to the source code of this file.

Macros

#define CASE2_TO_STRING2(U, V, W)   case U::V: return #W;
 "reliable-write" "writable-auxiliaries" "encrypt-read" "encrypt-write" "encrypt-authenticated-read" "encrypt-authenticated-write" "secure-read" (Server only) "secure-write" (Server only) "authorize" More...
 
#define CHAR_DECL_PROPS_ENUM(X)
 

Functions

static std::string _getPropertyBitValStr (const BTGattChar::PropertyBitVal prop) noexcept
 

Macro Definition Documentation

◆ CHAR_DECL_PROPS_ENUM

#define CHAR_DECL_PROPS_ENUM (   X)
Value:
X(BTGattChar,Broadcast,broadcast) \
X(BTGattChar,Read,read) \
X(BTGattChar,WriteNoAck,write-noack) \
X(BTGattChar,WriteWithAck,write-ack) \
X(BTGattChar,Notify,notify) \
X(BTGattChar,Indicate,indicate) \
X(BTGattChar,AuthSignedWrite,authenticated-signed-writes) \
X(BTGattChar,ExtProps,extended-properties)
Representing a Gatt Characteristic object from the GATTRole::Client perspective.
Definition: BTGattChar.hpp:94
@ Notify
@ Indicate
@ ExtProps
@ AuthSignedWrite
@ WriteNoAck
@ Read
@ Broadcast
@ WriteWithAck

Definition at line 54 of file BTGattChar.cpp.

◆ CASE2_TO_STRING2

#define CASE2_TO_STRING2 (   U,
  V,
 
)    case U::V: return #W;

"reliable-write" "writable-auxiliaries" "encrypt-read" "encrypt-write" "encrypt-authenticated-read" "encrypt-authenticated-write" "secure-read" (Server only) "secure-write" (Server only) "authorize"

Definition at line 76 of file BTGattChar.cpp.

Function Documentation

◆ _getPropertyBitValStr()

static std::string _getPropertyBitValStr ( const BTGattChar::PropertyBitVal  prop)
staticnoexcept

Definition at line 78 of file BTGattChar.cpp.

Here is the caller graph for this function: