BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bluetoe::link_layer::peripheral_latency_configuration_set< Configurations > Class Template Reference

allows the peripheral latency configuration to be changed at runtime between a given set of configurations. More...

#include <bluetoe/link_layer/include/bluetoe/peripheral_latency.hpp>

Public Member Functions

template<typename NewConfig >
void change_peripheral_latency ()
 change to a different peripheral latency configuration
 

Detailed Description

template<typename ... Configurations>
class bluetoe::link_layer::peripheral_latency_configuration_set< Configurations >

allows the peripheral latency configuration to be changed at runtime between a given set of configurations.

Every given Configurations has to be a vaild peripheral_latency_configuration<>.

For example:

gatt_server_definition,
bluetoe::link_layer::peripheral_latency::peripheral_latency_ignored,
bluetoe::link_layer::peripheral_latency::peripheral_latency_strict_plus >
>
> gatt_server;
void foo()
{
bluetoe::link_layer::peripheral_latency::peripheral_latency_ignored >();
}
See also
bluetoe::link_layer::peripheral_latency_configuration

Member Function Documentation

◆ change_peripheral_latency()

template<typename ... Configurations>
template<typename NewConfig >
void bluetoe::link_layer::peripheral_latency_configuration_set< Configurations >::change_peripheral_latency ( )

change to a different peripheral latency configuration

NewConfig will be the new configuration. NewConfig has be an element of Configurations...


The documentation for this class was generated from the following file: