Direct-BT v3.2.3-1-g688f983
Direct-BT - Direct Bluetooth Programming.
Classes | Typedefs | Functions
Direct-BT Peripheral-Server User Level API

User level Direct-BT API types and functionality addressing the peripheral-server GATTRole::Server perspective, , see Direct-BT Overview. More...

Classes

class  direct_bt::DBGattChar
 Representing a Gatt Characteristic object from the GATTRole::Server perspective. More...
 
class  direct_bt::DBGattDesc
 Representing a Gatt Characteristic Descriptor object from the GATTRole::Server perspective. More...
 
class  direct_bt::DBGattServer
 Representing a complete list of Gatt Service objects from the GATTRole::Server perspective, i.e. More...
 
class  direct_bt::DBGattService
 Representing a Gatt Service object from the GATTRole::Server perspective. More...
 

Typedefs

typedef std::shared_ptr< DBGattChardirect_bt::DBGattCharRef
 
typedef std::shared_ptr< DBGattDescdirect_bt::DBGattDescRef
 
typedef std::shared_ptr< DBGattServerdirect_bt::DBGattServerRef
 
typedef std::shared_ptr< DBGattServicedirect_bt::DBGattServiceRef
 

Functions

jau::POctets direct_bt::make_gvalue (const char *name)
 Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values. More...
 
jau::POctets direct_bt::make_gvalue (const char *name, const jau::nsize_t capacity)
 Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values. More...
 
jau::POctets direct_bt::make_gvalue (const jau::nsize_t capacity, const jau::nsize_t size)
 Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values. More...
 
jau::POctets direct_bt::make_gvalue (const jau::nsize_t capacity, const jau::nsize_t size, std::initializer_list< uint8_t > sourcelist)
 Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values. More...
 
jau::POctets direct_bt::make_gvalue (const uint16_t v)
 Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values. More...
 
jau::POctets direct_bt::make_gvalue (std::initializer_list< uint8_t > sourcelist)
 Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values. More...
 
bool direct_bt::operator!= (const DBGattChar &lhs, const DBGattChar &rhs) noexcept
 
bool direct_bt::operator!= (const DBGattDesc &lhs, const DBGattDesc &rhs) noexcept
 
bool direct_bt::operator!= (const DBGattService &lhs, const DBGattService &rhs) noexcept
 
bool direct_bt::operator== (const DBGattChar &lhs, const DBGattChar &rhs) noexcept
 
bool direct_bt::operator== (const DBGattDesc &lhs, const DBGattDesc &rhs) noexcept
 
bool direct_bt::operator== (const DBGattService &lhs, const DBGattService &rhs) noexcept
 
std::string direct_bt::to_string (const DBGattServer::Mode m) noexcept
 

Detailed Description

User level Direct-BT API types and functionality addressing the peripheral-server GATTRole::Server perspective, , see Direct-BT Overview.

Typedef Documentation

◆ DBGattDescRef

typedef std::shared_ptr<DBGattDesc> direct_bt::DBGattDescRef

Definition at line 243 of file DBGattServer.hpp.

◆ DBGattCharRef

typedef std::shared_ptr<DBGattChar> direct_bt::DBGattCharRef

Definition at line 503 of file DBGattServer.hpp.

◆ DBGattServiceRef

typedef std::shared_ptr<DBGattService> direct_bt::DBGattServiceRef

Definition at line 687 of file DBGattServer.hpp.

◆ DBGattServerRef

typedef std::shared_ptr<DBGattServer> direct_bt::DBGattServerRef

Definition at line 1044 of file DBGattServer.hpp.

Function Documentation

◆ operator==() [1/3]

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

Definition at line 237 of file DBGattServer.hpp.

◆ operator!=() [1/3]

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

Definition at line 240 of file DBGattServer.hpp.

◆ operator==() [2/3]

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

Definition at line 497 of file DBGattServer.hpp.

◆ operator!=() [2/3]

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

Definition at line 500 of file DBGattServer.hpp.

◆ make_gvalue() [1/6]

jau::POctets direct_bt::make_gvalue ( const char *  name)
inline

Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values.

Examples
dbt_peripheral00.cpp.

Definition at line 506 of file DBGattServer.hpp.

◆ make_gvalue() [2/6]

jau::POctets direct_bt::make_gvalue ( const char *  name,
const jau::nsize_t  capacity 
)
inline

Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values.

Definition at line 511 of file DBGattServer.hpp.

◆ make_gvalue() [3/6]

jau::POctets direct_bt::make_gvalue ( const uint16_t  v)
inline

Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values.

Definition at line 520 of file DBGattServer.hpp.

◆ make_gvalue() [4/6]

jau::POctets direct_bt::make_gvalue ( const jau::nsize_t  capacity,
const jau::nsize_t  size 
)
inline

Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values.

Definition at line 527 of file DBGattServer.hpp.

◆ make_gvalue() [5/6]

jau::POctets direct_bt::make_gvalue ( std::initializer_list< uint8_t >  sourcelist)
inline

Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values.

Definition at line 534 of file DBGattServer.hpp.

◆ make_gvalue() [6/6]

jau::POctets direct_bt::make_gvalue ( const jau::nsize_t  capacity,
const jau::nsize_t  size,
std::initializer_list< uint8_t >  sourcelist 
)
inline

Convenience jau::POctets ctor function to create DBGattChar or DBGattDesc values.

Definition at line 539 of file DBGattServer.hpp.

◆ operator==() [3/3]

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

Definition at line 681 of file DBGattServer.hpp.

◆ operator!=() [3/3]

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

Definition at line 684 of file DBGattServer.hpp.

◆ to_string()

std::string direct_bt::to_string ( const DBGattServer::Mode  m)
noexcept

Definition at line 75 of file DBGattServer.cpp.

Here is the caller graph for this function: