Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Public Types | Public Member Functions
EddystoneConfigService Class Reference

Eddystone Configuration Service. More...

#include <EddystoneConfigService.h>

Data Structures

struct  Params_t
 

Public Types

Public Member Functions

 EddystoneConfigService (BLEDevice &bleIn, Params_t &paramsIn, PowerLevels_t &defaultAdvPowerLevelsIn, PowerLevels_t &radioPowerLevelsIn)
 
void start (bool resetToDefaultsFlag)
 Start EddystoneConfig advertising. More...
 

Detailed Description

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.

Member Enumeration Documentation

anonymous enum

Transmission Power Modes for UriBeacon.

Definition at line 58 of file EddystoneConfigService.h.

Constructor & Destructor Documentation

EddystoneConfigService ( BLEDevice bleIn,
Params_t paramsIn,
PowerLevels_t &  defaultAdvPowerLevelsIn,
PowerLevels_t &  radioPowerLevelsIn 
)
Parameters
[in]bleInBLEDevice object for the underlying controller.
[in,out]paramsInReference to application-visible beacon state, loaded from persistent storage at startup.
[in]defaultAdvPowerLevelsInDefault power-levels array; applies only if resetToDefaultsFlag is true.
[in]radioPowerLevelsInTransmission power-levels to use in TX.

Definition at line 129 of file EddystoneConfigService.h.

Member Function Documentation

void start ( bool  resetToDefaultsFlag)

Start EddystoneConfig advertising.

This function should be called after the EddystoneConfig constructor and after all the frames have been added.

Parameters
[in]resetToDefaultsFlagApplies 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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.