Eddystone Configuration Service. More...
#include <EddystoneConfigService.h>
Data Structures | |
struct | Params_t |
Public Types |
Public Member Functions | |
EddystoneConfigService (BLEDevice &bleIn, Params_t ¶msIn, PowerLevels_t &defaultAdvPowerLevelsIn, PowerLevels_t &radioPowerLevelsIn) | |
void | start (bool resetToDefaultsFlag) |
Start EddystoneConfig advertising. More... | |
Eddystone Configuration Service.
Used to set URL, adjust power levels, and set flags. See https://github.com/google/eddystone
Definition at line 52 of file EddystoneConfigService.h.
anonymous enum |
Transmission Power Modes for UriBeacon.
Definition at line 58 of file EddystoneConfigService.h.
EddystoneConfigService | ( | BLEDevice & | bleIn, |
Params_t & | paramsIn, | ||
PowerLevels_t & | defaultAdvPowerLevelsIn, | ||
PowerLevels_t & | radioPowerLevelsIn | ||
) |
[in] | bleIn | BLEDevice object for the underlying controller. |
[in,out] | paramsIn | Reference to application-visible beacon state, loaded from persistent storage at startup. |
[in] | defaultAdvPowerLevelsIn | Default power-levels array; applies only if resetToDefaultsFlag is true. |
[in] | radioPowerLevelsIn | Transmission power-levels to use in TX. |
Definition at line 129 of file EddystoneConfigService.h.
void start | ( | bool | resetToDefaultsFlag | ) |
Start EddystoneConfig advertising.
This function should be called after the EddystoneConfig constructor and after all the frames have been added.
[in] | resetToDefaultsFlag | Applies to the state of the 'paramsIn' parameter. If true, it indicates that paramsIn is potentially un-initialized, and default values should be used instead. Otherwise, paramsIn overrides the defaults. |
Definition at line 191 of file EddystoneConfigService.h.