Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Typedefs | Enumerations | Functions
BTAdapter.hpp File Reference
#include <cstring>
#include <string>
#include <memory>
#include <cstdint>
#include <mutex>
#include <atomic>
#include <jau/darray.hpp>
#include <jau/cow_darray.hpp>
#include <jau/simple_timer.hpp>
#include "BTTypes1.hpp"
#include "BTDevice.hpp"
#include "HCIHandler.hpp"
#include "DBGattServer.hpp"
#include "SMPKeyBin.hpp"
#include "jau/int_types.hpp"
Include dependency graph for BTAdapter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  direct_bt::AdapterStatusListener
 BTAdapter status listener for remote BTDevice discovery events: Added, updated and removed; as well as for certain BTAdapter events. More...
 
class  direct_bt::BTAdapter
 BTAdapter represents one local Bluetooth Controller. More...
 

Namespaces

namespace  direct_bt
 

Typedefs

typedef std::shared_ptr< AdapterStatusListener > direct_bt::AdapterStatusListenerRef
 
typedef std::shared_ptr< BTAdapter > direct_bt::BTAdapterRef
 
typedef std::shared_ptr< BTManager > direct_bt::BTManagerRef
 

Enumerations

enum class  direct_bt::DiscoveryPolicy : uint8_t {
  direct_bt::DiscoveryPolicy::AUTO_OFF = 0 , direct_bt::DiscoveryPolicy::PAUSE_CONNECTED_UNTIL_DISCONNECTED = 1 , direct_bt::DiscoveryPolicy::PAUSE_CONNECTED_UNTIL_READY = 2 , direct_bt::DiscoveryPolicy::PAUSE_CONNECTED_UNTIL_PAIRED = 3 ,
  direct_bt::DiscoveryPolicy::ALWAYS_ON = 4
}
 Discovery policy defines the BTAdapter discovery mode after connecting a remote BTDevice: More...
 

Functions

constexpr uint8_t direct_bt::number (const DiscoveryPolicy rhs) noexcept
 
bool direct_bt::operator!= (const BTAdapter &lhs, const BTAdapter &rhs) noexcept
 
bool direct_bt::operator== (const BTAdapter &lhs, const BTAdapter &rhs) noexcept
 
constexpr DiscoveryPolicy direct_bt::to_DiscoveryPolicy (const uint8_t v) noexcept
 
std::string direct_bt::to_string (const DiscoveryPolicy v) noexcept