1#ifndef BLUETOE_LINK_LAYER_CONNECTION_DETAILS_HPP
2#define BLUETOE_LINK_LAYER_CONNECTION_DETAILS_HPP
4#include <bluetoe/address.hpp>
5#include <bluetoe/channel_map.hpp>
27 std::uint16_t inter, std::uint16_t lat, std::uint16_t to,
69 std::uint16_t interval_;
70 std::uint16_t latency_;
71 std::uint16_t timeout_;
map that keeps track of the list of used channels and calculates the next channel based on the last u...
Definition: channel_map.hpp:13
local and remote address of a connection
Definition: connection_details.hpp:79
const device_address & local_address() const
local device address
const device_address & remote_address() const
remote device address
connection_addresses(const device_address &local, const device_address &remote)
construct a connection addresses from a pair of device addresses
data type to store details of an established link layer connection
Definition: connection_details.hpp:15
connection_details(const channel_map &channels, std::uint16_t inter, std::uint16_t lat, std::uint16_t to, unsigned acc)
construct the data object from its required parts.
std::uint16_t latency() const
peripheral latency
connection_details()=default
default c'tor leaving all data members in a meaningless state
unsigned cumulated_sleep_clock_accuracy_ppm() const
the cumulated sleep clock accuracy in parts per million.
std::uint16_t timeout() const
connection timeout
std::uint16_t interval() const
connection interval
const channel_map & channels() const
channels that a currently in use
data type containing a device address and the address type (public or random).
Definition: address.hpp:107