Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Enumerations | Functions
BTAddress.hpp File Reference
#include <cstring>
#include <string>
#include <cstdint>
#include <functional>
#include <jau/packed_attribute.hpp>
#include <jau/ordered_atomic.hpp>
#include <jau/eui48.hpp>
Include dependency graph for BTAddress.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  direct_bt::BDAddressAndType
 Unique Bluetooth EUI48 address and BDAddressType tuple. More...
 
struct  std::hash< direct_bt::BDAddressAndType >
 

Namespaces

namespace  direct_bt
 
namespace  std
 STL namespace.
 

Enumerations

enum class  direct_bt::BDAddressType : uint8_t { direct_bt::BDAddressType::BDADDR_BREDR = 0x00 , direct_bt::BDAddressType::BDADDR_LE_PUBLIC = 0x01 , direct_bt::BDAddressType::BDADDR_LE_RANDOM = 0x02 , direct_bt::BDAddressType::BDADDR_UNDEFINED = 0xff }
 BT Core Spec v5.2: Vol 3, Part C Generic Access Profile (GAP): 15.1.1.1 Public Bluetooth address. More...
 
enum class  direct_bt::BLERandomAddressType : uint8_t {
  direct_bt::BLERandomAddressType::UNRESOLVABLE_PRIVAT = 0x00 , direct_bt::BLERandomAddressType::RESOLVABLE_PRIVAT = 0x01 , direct_bt::BLERandomAddressType::RESERVED = 0x02 , direct_bt::BLERandomAddressType::STATIC_PUBLIC = 0x03 ,
  direct_bt::BLERandomAddressType::UNDEFINED = 0xff
}
 BT Core Spec v5.2: Vol 6 LE, Part B Link Layer Specification: 1.3 Device Address. More...
 
enum class  direct_bt::HCILEOwnAddressType : uint8_t {
  direct_bt::HCILEOwnAddressType::PUBLIC = 0x00 , direct_bt::HCILEOwnAddressType::RANDOM = 0x01 , direct_bt::HCILEOwnAddressType::RESOLVABLE_OR_PUBLIC = 0x02 , direct_bt::HCILEOwnAddressType::RESOLVABLE_OR_RANDOM = 0x03 ,
  direct_bt::HCILEOwnAddressType::UNDEFINED = 0xff
}
 
enum class  direct_bt::HCILEPeerAddressType : uint8_t {
  direct_bt::HCILEPeerAddressType::PUBLIC = 0x00 , direct_bt::HCILEPeerAddressType::RANDOM = 0x01 , direct_bt::HCILEPeerAddressType::PUBLIC_IDENTITY = 0x02 , direct_bt::HCILEPeerAddressType::RANDOM_STATIC_IDENTITY = 0x03 ,
  direct_bt::HCILEPeerAddressType::UNDEFINED = 0xff
}
 HCI LE Address-Type is PUBLIC: 0x00, RANDOM: 0x01. More...
 

Functions

constexpr uint8_t direct_bt::number (const BDAddressType rhs) noexcept
 
constexpr uint8_t direct_bt::number (const BLERandomAddressType rhs) noexcept
 
constexpr uint8_t direct_bt::number (const HCILEOwnAddressType rhs) noexcept
 
constexpr uint8_t direct_bt::number (const HCILEPeerAddressType rhs) noexcept
 
bool direct_bt::operator!= (const BDAddressAndType &lhs, const BDAddressAndType &rhs) noexcept
 
bool direct_bt::operator== (const BDAddressAndType &lhs, const BDAddressAndType &rhs) noexcept
 
BDAddressType direct_bt::to_BDAddressType (const HCILEOwnAddressType hciOwnAddrType) noexcept
 
BDAddressType direct_bt::to_BDAddressType (const HCILEPeerAddressType hciPeerAddrType) noexcept
 
constexpr BDAddressType direct_bt::to_BDAddressType (const uint8_t v) noexcept
 
HCILEOwnAddressType direct_bt::to_HCILEOwnAddressType (const BDAddressType addrType, bool resolvable) noexcept
 
std::string direct_bt::to_string (const BDAddressAndType &a) noexcept
 
std::string direct_bt::to_string (const BDAddressType type) noexcept
 
std::string direct_bt::to_string (const BLERandomAddressType type) noexcept
 
std::string direct_bt::to_string (const HCILEOwnAddressType type) noexcept
 
std::string direct_bt::to_string (const HCILEPeerAddressType type) noexcept