ELEC-C7222
Libraries for ELEC C7222 Course Work
Loading...
Searching...
No Matches
gap.hpp File Reference

Provides a C++ wrapper for the BTstack Generic Access Profile (GAP). More...

#include <cassert>
#include <cstddef>
#include <cstdint>
#include <iosfwd>
#include <list>
#include <map>
#include <vector>
#include "advertisement_data.hpp"
#include "ble_address.hpp"
#include "ble_error.hpp"
#include "non_copyable.hpp"
Include dependency graph for gap.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  c7222::Gap
 Manages Generic Access Profile (GAP) functionality for BLE. More...
 
struct  c7222::Gap::AdvertisingReport
 
struct  c7222::Gap::ExtendedAdvertisingReport
 
struct  c7222::Gap::InquiryResult
 
struct  c7222::Gap::EventHandler
 
struct  c7222::Gap::AdvertisementParameters
 
struct  c7222::Gap::PreferredConnectionParameters
 
struct  c7222::Gap::ConnectionParameters
 

Namespaces

namespace  c7222
 C7222 course abstractions namespace.
 

Typedefs

using c7222::ConnectionHandle = uint16_t
 

Functions

std::ostream & operator<< (std::ostream &os, c7222::Gap::AdvertisingEventType type)
 
std::ostream & operator<< (std::ostream &os, c7222::Gap::Phy phy)
 
std::ostream & operator<< (std::ostream &os, c7222::Gap::AdvertisingType type)
 
std::ostream & operator<< (std::ostream &os, c7222::Gap::DirectAddressType type)
 
std::ostream & operator<< (std::ostream &os, c7222::Gap::AdvertisingChannelMap map)
 
std::ostream & operator<< (std::ostream &os, c7222::Gap::AdvertisingFilterPolicy policy)
 
constexpr uint8_t operator| (c7222::Gap::AdvertisingChannelMap lhs, c7222::Gap::AdvertisingChannelMap rhs)
 
constexpr uint8_t operator| (uint8_t lhs, c7222::Gap::AdvertisingChannelMap rhs)
 
constexpr uint8_t operator|= (uint8_t lhs, c7222::Gap::AdvertisingChannelMap rhs)
 
constexpr uint8_t operator| (c7222::Gap::AdvertisingChannelMap lhs, uint8_t rhs)
 
constexpr uint8_t operator& (c7222::Gap::AdvertisingChannelMap lhs, c7222::Gap::AdvertisingChannelMap rhs)
 
constexpr uint8_t operator& (uint8_t lhs, c7222::Gap::AdvertisingChannelMap rhs)
 
constexpr uint8_t operator&= (uint8_t lhs, c7222::Gap::AdvertisingChannelMap rhs)
 
constexpr uint8_t operator& (c7222::Gap::AdvertisingChannelMap lhs, uint8_t rhs)
 
constexpr uint8_t operator^ (uint8_t lhs, c7222::Gap::AdvertisingChannelMap rhs)
 
constexpr uint8_t operator^= (uint8_t lhs, c7222::Gap::AdvertisingChannelMap rhs)
 
constexpr uint8_t operator^ (c7222::Gap::AdvertisingChannelMap lhs, uint8_t rhs)
 

Detailed Description

Provides a C++ wrapper for the BTstack Generic Access Profile (GAP).

Function Documentation

◆ operator&() [1/3]

constexpr uint8_t operator& ( c7222::Gap::AdvertisingChannelMap  lhs,
c7222::Gap::AdvertisingChannelMap  rhs 
)
constexpr

◆ operator&() [2/3]

constexpr uint8_t operator& ( c7222::Gap::AdvertisingChannelMap  lhs,
uint8_t  rhs 
)
constexpr

◆ operator&() [3/3]

constexpr uint8_t operator& ( uint8_t  lhs,
c7222::Gap::AdvertisingChannelMap  rhs 
)
constexpr

◆ operator&=()

constexpr uint8_t operator&= ( uint8_t  lhs,
c7222::Gap::AdvertisingChannelMap  rhs 
)
constexpr

◆ operator<<() [1/6]

std::ostream & operator<< ( std::ostream &  os,
c7222::Gap::AdvertisingChannelMap  map 
)

◆ operator<<() [2/6]

std::ostream & operator<< ( std::ostream &  os,
c7222::Gap::AdvertisingEventType  type 
)

◆ operator<<() [3/6]

std::ostream & operator<< ( std::ostream &  os,
c7222::Gap::AdvertisingFilterPolicy  policy 
)

◆ operator<<() [4/6]

std::ostream & operator<< ( std::ostream &  os,
c7222::Gap::AdvertisingType  type 
)

◆ operator<<() [5/6]

std::ostream & operator<< ( std::ostream &  os,
c7222::Gap::DirectAddressType  type 
)

◆ operator<<() [6/6]

std::ostream & operator<< ( std::ostream &  os,
c7222::Gap::Phy  phy 
)

◆ operator^() [1/2]

constexpr uint8_t operator^ ( c7222::Gap::AdvertisingChannelMap  lhs,
uint8_t  rhs 
)
constexpr

◆ operator^() [2/2]

constexpr uint8_t operator^ ( uint8_t  lhs,
c7222::Gap::AdvertisingChannelMap  rhs 
)
constexpr

◆ operator^=()

constexpr uint8_t operator^= ( uint8_t  lhs,
c7222::Gap::AdvertisingChannelMap  rhs 
)
constexpr

◆ operator|() [1/3]

constexpr uint8_t operator| ( c7222::Gap::AdvertisingChannelMap  lhs,
c7222::Gap::AdvertisingChannelMap  rhs 
)
constexpr

◆ operator|() [2/3]

constexpr uint8_t operator| ( c7222::Gap::AdvertisingChannelMap  lhs,
uint8_t  rhs 
)
constexpr

◆ operator|() [3/3]

constexpr uint8_t operator| ( uint8_t  lhs,
c7222::Gap::AdvertisingChannelMap  rhs 
)
constexpr

◆ operator|=()

constexpr uint8_t operator|= ( uint8_t  lhs,
c7222::Gap::AdvertisingChannelMap  rhs 
)
constexpr