Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 231:1c4a4fd961a5
- Parent:
- 229:6664b6c0e92b
- Child:
- 232:4cfb5b8a4fb9
--- a/services/URIBeaconConfigService.h Wed Dec 03 14:38:40 2014 +0000
+++ b/services/URIBeaconConfigService.h Mon Dec 08 17:28:46 2014 +0000
@@ -32,14 +32,24 @@
static const uint8_t beaconPeriodCharUUID[] = URI_BEACON_CONFIG_UUID_INITIALIZER_LIST(0x20, 0x88);
static const uint8_t resetCharUUID[] = URI_BEACON_CONFIG_UUID_INITIALIZER_LIST(0x20, 0x89);
+/**
+* @class URIBeaconConfigService
+* @breif UriBeacon Configuration Service. Can be used to set URL, adjust power levels, and set flags.
+*/
class URIBeaconConfigService {
public:
+
+ /**
+ * @enum TXPowerModes_t
+ * @breif Transmission Power Modes for UriBeacon
+ */
enum TXPowerModes_t {
- TX_POWER_MODE_LOWEST = 0,
- TX_POWER_MODE_LOW = 1,
- TX_POWER_MODE_MEDIUM = 2,
- TX_POWER_MODE_HIGH = 3,
- NUM_POWER_MODES
+
+ TX_POWER_MODE_LOWEST = 0, /*!< Lowest TX power mode */
+ TX_POWER_MODE_LOW = 1, /*!< Low TX power mode */
+ TX_POWER_MODE_MEDIUM = 2, /*!< Medium TX power mode */
+ TX_POWER_MODE_HIGH = 3, /*!< High TX power mode */
+ NUM_POWER_MODES /*!< Number of Power Modes defined */
};
/**
