BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
link_layer.hpp
1#ifndef BLUETOE_HCI_LINK_LAYER_HPP
2#define BLUETOE_HCI_LINK_LAYER_HPP
3
4#include <bluetoe/address.hpp>
5
6namespace bluetoe {
7namespace hci {
8
12 template <
13 class Server,
14 template < typename >
15 class Transport,
16 typename ... Options
17 >
18 class link_layer : Transport< link_layer< Server, Transport, Options... > >
19 {
20 public:
27 void run( Server& );
28
35 bool connection_parameter_update_request( std::uint16_t interval_min, std::uint16_t interval_max, std::uint16_t latency, std::uint16_t timeout );
36
42 void disconnect();
43
47 std::size_t fill_l2cap_advertising_data( std::uint8_t* buffer, std::size_t buffer_size ) const;
48
53 private:
54 };
55
56 // implementation
57 template < class Server, template < typename > class Transport, typename ... Options >
59 {
60 }
61}
62}
63
64#endif