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

Go to the source code of this file.

Classes

class  DelegatedBTGattCharListener
 

Macros

#define CHAR_DECL_PROPS_ENUM(X)
 
#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...
 

Functions

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

Macro Definition Documentation

◆ 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 67 of file BTGattChar.cpp.

◆ CHAR_DECL_PROPS_ENUM

#define CHAR_DECL_PROPS_ENUM (   X)
Value:
X(BTGattChar,Broadcast,broadcast) \
X(BTGattChar,Read,read) \
X(BTGattChar,WriteNoAck,write-without-response) \
X(BTGattChar,Notify,notify) \
X(BTGattChar,Indicate,indicate) \
X(BTGattChar,AuthSignedWrite,authenticated-signed-writes) \
X(BTGattChar,ExtProps,extended-properties)

Definition at line 45 of file BTGattChar.cpp.

Function Documentation

◆ _getPropertyBitValStr()

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

Definition at line 68 of file BTGattChar.cpp.

Here is the caller graph for this function:
WriteWithAck
@ WriteWithAck
Definition: test_datatype02.hpp:108
ExtProps
@ ExtProps
Definition: test_datatype02.hpp:112
Notify
@ Notify
Definition: test_datatype02.hpp:109
WriteNoAck
@ WriteNoAck
Definition: test_datatype02.hpp:107
direct_bt::BTGattChar
Definition: BTGattChar.hpp:75
Broadcast
@ Broadcast
Definition: test_datatype02.hpp:105
Indicate
@ Indicate
Definition: test_datatype02.hpp:110
AuthSignedWrite
@ AuthSignedWrite
Definition: test_datatype02.hpp:111
Read
@ Read
Definition: test_datatype02.hpp:106