Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Typedefs | Functions
Direct-BT Central-Client User Level API

User level Direct-BT API types and functionality addressing the central-client GATTRole::Client perspective, see Direct-BT Overview. More...

Classes

class  direct_bt::BTGattChar
 Representing a Gatt Characteristic object from the GATTRole::Client perspective. More...
 
class  direct_bt::BTGattCharListener
 BTGattChar event listener for notification and indication events. More...
 
class  direct_bt::BTGattCmd
 Class maps a GATT command and optionally its asynchronous response to a synchronous atomic operation. More...
 
class  direct_bt::BTGattDesc
 Representing a Gatt Characteristic Descriptor object from the GATTRole::Client perspective. More...
 
class  direct_bt::BTGattService
 Representing a Gatt Service object from the GATTRole::Client perspective. More...
 

Typedefs

typedef std::shared_ptr< BTGattCharListenerdirect_bt::BTGattCharListenerRef
 
typedef std::shared_ptr< BTGattChardirect_bt::BTGattCharRef
 
typedef std::shared_ptr< BTGattDescdirect_bt::BTGattDescRef
 
typedef std::shared_ptr< BTGattServicedirect_bt::BTGattServiceRef
 

Functions

constexpr uint8_t direct_bt::number (const BTGattChar::PropertyBitVal rhs) noexcept
 
bool direct_bt::operator!= (const BTGattChar &lhs, const BTGattChar &rhs) noexcept
 
constexpr bool direct_bt::operator!= (const BTGattChar::PropertyBitVal lhs, const BTGattChar::PropertyBitVal rhs) noexcept
 
bool direct_bt::operator!= (const BTGattDesc &lhs, const BTGattDesc &rhs) noexcept
 
bool direct_bt::operator!= (const BTGattService &lhs, const BTGattService &rhs) noexcept
 
constexpr BTGattChar::PropertyBitVal direct_bt::operator& (const BTGattChar::PropertyBitVal lhs, const BTGattChar::PropertyBitVal rhs) noexcept
 
bool direct_bt::operator== (const BTGattChar &lhs, const BTGattChar &rhs) noexcept
 
constexpr bool direct_bt::operator== (const BTGattChar::PropertyBitVal lhs, const BTGattChar::PropertyBitVal rhs) noexcept
 
bool direct_bt::operator== (const BTGattDesc &lhs, const BTGattDesc &rhs) noexcept
 
bool direct_bt::operator== (const BTGattService &lhs, const BTGattService &rhs) noexcept
 
constexpr BTGattChar::PropertyBitVal direct_bt::operator| (const BTGattChar::PropertyBitVal lhs, const BTGattChar::PropertyBitVal rhs) noexcept
 
std::string direct_bt::to_string (const BTGattChar::PropertyBitVal mask) noexcept
 

Detailed Description

User level Direct-BT API types and functionality addressing the central-client GATTRole::Client perspective, see Direct-BT Overview.

Typedef Documentation

◆ BTGattCharRef

typedef std::shared_ptr< BTGattChar > direct_bt::BTGattCharRef

Definition at line 410 of file BTGattChar.hpp.

◆ BTGattCharListenerRef

Definition at line 70 of file BTGattChar.hpp.

◆ BTGattDescRef

typedef std::shared_ptr<BTGattDesc> direct_bt::BTGattDescRef

Definition at line 190 of file BTGattDesc.hpp.

◆ BTGattServiceRef

typedef std::shared_ptr< BTGattService > direct_bt::BTGattServiceRef

Definition at line 67 of file BTGattChar.hpp.

Function Documentation

◆ operator==() [1/4]

bool direct_bt::operator== ( const BTGattChar lhs,
const BTGattChar rhs 
)
inlinenoexcept

Definition at line 412 of file BTGattChar.hpp.

◆ operator!=() [1/4]

bool direct_bt::operator!= ( const BTGattChar lhs,
const BTGattChar rhs 
)
inlinenoexcept

Definition at line 415 of file BTGattChar.hpp.

◆ number()

constexpr uint8_t direct_bt::number ( const BTGattChar::PropertyBitVal  rhs)
constexprnoexcept

Definition at line 418 of file BTGattChar.hpp.

◆ operator|()

constexpr BTGattChar::PropertyBitVal direct_bt::operator| ( const BTGattChar::PropertyBitVal  lhs,
const BTGattChar::PropertyBitVal  rhs 
)
constexprnoexcept

Definition at line 421 of file BTGattChar.hpp.

◆ operator&()

constexpr BTGattChar::PropertyBitVal direct_bt::operator& ( const BTGattChar::PropertyBitVal  lhs,
const BTGattChar::PropertyBitVal  rhs 
)
constexprnoexcept

Definition at line 424 of file BTGattChar.hpp.

◆ operator==() [2/4]

constexpr bool direct_bt::operator== ( const BTGattChar::PropertyBitVal  lhs,
const BTGattChar::PropertyBitVal  rhs 
)
constexprnoexcept

Definition at line 427 of file BTGattChar.hpp.

◆ operator!=() [2/4]

constexpr bool direct_bt::operator!= ( const BTGattChar::PropertyBitVal  lhs,
const BTGattChar::PropertyBitVal  rhs 
)
constexprnoexcept

Definition at line 430 of file BTGattChar.hpp.

◆ to_string()

std::string direct_bt::to_string ( const BTGattChar::PropertyBitVal  mask)
noexcept

Definition at line 86 of file BTGattChar.cpp.

◆ operator==() [3/4]

bool direct_bt::operator== ( const BTGattDesc lhs,
const BTGattDesc rhs 
)
inlinenoexcept

Definition at line 192 of file BTGattDesc.hpp.

◆ operator!=() [3/4]

bool direct_bt::operator!= ( const BTGattDesc lhs,
const BTGattDesc rhs 
)
inlinenoexcept

Definition at line 195 of file BTGattDesc.hpp.

◆ operator==() [4/4]

bool direct_bt::operator== ( const BTGattService lhs,
const BTGattService rhs 
)
inlinenoexcept

Definition at line 155 of file BTGattService.hpp.

◆ operator!=() [4/4]

bool direct_bt::operator!= ( const BTGattService lhs,
const BTGattService rhs 
)
inlinenoexcept

Definition at line 158 of file BTGattService.hpp.