Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 231:1c4a4fd961a5
- Parent:
- 229:6664b6c0e92b
- Child:
- 232:4cfb5b8a4fb9
diff -r 2c414d3240a8 -r 1c4a4fd961a5 services/URIBeaconConfigService.h --- 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 */ }; /**