1#ifndef BLUETOE_GATT_OPTIONS_HPP
2#define BLUETOE_GATT_OPTIONS_HPP
4#include <bluetoe/meta_types.hpp>
12 struct mtu_size_meta_type {};
13 struct cccd_callback_meta_type {};
23 template < std::u
int16_t MaxMTU >
27 details::mtu_size_meta_type,
28 details::valid_server_option_meta_type {};
30 static constexpr std::size_t mtu = MaxMTU;
47 template <
typename T, T& Obj >
52 details::cccd_callback_meta_type,
53 details::valid_server_option_meta_type {};
55 template <
class Server >
56 static void client_characteristic_configuration_updated( Server& srv,
const bluetoe::details::client_characteristic_configuration& data )
58 Obj.client_characteristic_configuration_updated( srv, data );
64 struct no_client_characteristic_configuration_update_callback
67 details::cccd_callback_meta_type,
68 details::valid_server_option_meta_type {};
70 template <
class Server >
71 static void client_characteristic_configuration_updated( Server&,
const bluetoe::details::client_characteristic_configuration& )
callback to be called, if the client characteristic configuration has changed or was written.
Definition: gatt_options.hpp:49
define the maximum GATT MTU size to be used
Definition: gatt_options.hpp:24