BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
bluetoe::link_layer::sleep_clock_accuracy_ppm< SleepClockAccuracyPPM, typename > Struct Template Reference

defines the sleep clock accuracy of the device hardware. More...

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

Static Public Attributes

static constexpr unsigned accuracy_ppm = static_cast< unsigned >( SleepClockAccuracyPPM )
 configured sleep clock accuracy
 

Detailed Description

template<unsigned long long SleepClockAccuracyPPM, typename = typename details::check_sleep_clock_accuracy_ppm< SleepClockAccuracyPPM >::type>
struct bluetoe::link_layer::sleep_clock_accuracy_ppm< SleepClockAccuracyPPM, typename >

defines the sleep clock accuracy of the device hardware.

The stack uses the accuracy information to keep the time window where the peripheral listens for radio messages from the central, as small as possible. It's important to determine the real sleep clock accuracy. Giving to large accuracy will leed to not optimal power consumption. To small accuracy will leed to instable connections.


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