1#ifndef BLUETOE_HCI_LINK_LAYER_HPP
2#define BLUETOE_HCI_LINK_LAYER_HPP
4#include <bluetoe/address.hpp>
18 class link_layer : Transport< link_layer< Server, Transport, Options... > >
57 template <
class Server,
template <
typename >
class Transport,
typename ... Options >
link layer implementation based on HCI
Definition: link_layer.hpp:19
const bluetoe::link_layer::device_address & local_address() const
returns the own local device address
std::size_t fill_l2cap_advertising_data(std::uint8_t *buffer, std::size_t buffer_size) const
fills the given buffer with l2cap advertising payload
bool connection_parameter_update_request(std::uint16_t interval_min, std::uint16_t interval_max, std::uint16_t latency, std::uint16_t timeout)
initiating the change of communication parameters of an established connection
void disconnect()
terminates the give connection
void run(Server &)
this function passes the CPU to the link layer implementation
Definition: link_layer.hpp:58
data type containing a device address and the address type (public or random).
Definition: address.hpp:107