Scott Jenson / Mbed 2 deprecated BLE_EddystoneBeaconConfigService_Button

Dependencies:   BLE_API_EddystoneConfigService_2 mbed nRF51822

Fork of BLE_EddystoneBeaconConfigService_3 by URIBeacon

Embed: (wiki syntax)

« Back to documentation index

EddystoneConfigService Class Reference

EddystoneConfigService Class Reference

Eddystone Configuration Service. More...

#include <EddystoneConfigService.h>

Public Member Functions

 EddystoneConfigService (BLEDevice &bleIn, Params_t &paramsIn, PowerLevels_t &defaultAdvPowerLevelsIn, PowerLevels_t &radioPowerLevelsIn)

Static Public Attributes

static const uint8_t TX_POWER_MODE_LOWEST = 0
 Transmission Power Modes for UriBeacon.
static const uint8_t TX_POWER_MODE_LOW = 1
static const uint8_t TX_POWER_MODE_MEDIUM = 2
static const uint8_t TX_POWER_MODE_HIGH = 3
static const unsigned NUM_POWER_MODES = 4

Detailed Description

Eddystone Configuration Service.

Can be used to set URL, adjust power levels, and set flags. See https://github.com/google/eddystone

Definition at line 51 of file EddystoneConfigService.h.


Constructor & Destructor Documentation

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

Definition at line 125 of file EddystoneConfigService.h.


Field Documentation

const unsigned NUM_POWER_MODES = 4 [static]

Number of Power Modes defined

Definition at line 61 of file EddystoneConfigService.h.

const uint8_t TX_POWER_MODE_HIGH = 3 [static]

High TX power mode

Definition at line 60 of file EddystoneConfigService.h.

const uint8_t TX_POWER_MODE_LOW = 1 [static]

Low TX power mode

Definition at line 58 of file EddystoneConfigService.h.

const uint8_t TX_POWER_MODE_LOWEST = 0 [static]

Transmission Power Modes for UriBeacon.

Lowest TX power mode

Definition at line 57 of file EddystoneConfigService.h.

const uint8_t TX_POWER_MODE_MEDIUM = 2 [static]

Medium TX power mode

Definition at line 59 of file EddystoneConfigService.h.