Added an EddystoneURLConfigService in addition to UriBeaconConfigService. Updated README and converted comments that used UriBeacon to EddystoneURL in the EddystoneService.h
Dependents: mbed_EddystoneURL_Beacon_ssci mbed_EddystoneURL_Beacon_ssci mbed_EddystoneURL_Beacon_ssci
Fork of BLE_API by
EddystoneURLConfigService Class Reference
Eddystone URL Configuration Service. More...
#include <EddystoneURLConfigService.h>
Public Member Functions | |
EddystoneURLConfigService (BLE &bleIn, Params_t ¶msIn, bool resetToDefaultsFlag, const char *defaultURIDataIn, PowerLevels_t &defaultAdvPowerLevelsIn) | |
Static Public Attributes | |
static const uint8_t | TX_POWER_MODE_LOWEST = 0 |
Transmission Power Modes for Eddystone-URL beacon. | |
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 URL Configuration Service.
Can be used to set URL, adjust power levels, and set flags. See https://github.com/google/eddystone/tree/master/eddystone-url
Definition at line 42 of file EddystoneURLConfigService.h.
Constructor & Destructor Documentation
EddystoneURLConfigService | ( | BLE & | bleIn, |
Params_t & | paramsIn, | ||
bool | resetToDefaultsFlag, | ||
const char * | defaultURIDataIn, | ||
PowerLevels_t & | defaultAdvPowerLevelsIn | ||
) |
- Parameters:
-
ref] ble BLE object for the underlying controller. in/out] paramsIn Reference to application-visible beacon state, loaded from persistent storage at startup. [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. [in] defaultUriDataIn Default un-encoded URI; applies only if the resetToDefaultsFlag is true. [in] defaultAdvPowerLevelsIn Default power-levels array; applies only if the resetToDefaultsFlag is true.
Definition at line 89 of file EddystoneURLConfigService.h.
Field Documentation
const unsigned NUM_POWER_MODES = 4 [static] |
Number of Power Modes defined
Definition at line 51 of file EddystoneURLConfigService.h.
const uint8_t TX_POWER_MODE_HIGH = 3 [static] |
High TX power mode
Definition at line 50 of file EddystoneURLConfigService.h.
const uint8_t TX_POWER_MODE_LOW = 1 [static] |
Low TX power mode
Definition at line 48 of file EddystoneURLConfigService.h.
const uint8_t TX_POWER_MODE_LOWEST = 0 [static] |
Transmission Power Modes for Eddystone-URL beacon.
Lowest TX power mode
Definition at line 47 of file EddystoneURLConfigService.h.
const uint8_t TX_POWER_MODE_MEDIUM = 2 [static] |
Medium TX power mode
Definition at line 49 of file EddystoneURLConfigService.h.
Generated on Tue Jul 12 2022 21:57:19 by 1.7.2