From eb77b38a11a2a6385738b00d0b24dae1343b088f Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Fri, 28 Nov 2014 08:39:46 +0000 Subject: [PATCH] add enums for TXPowerModes_t --- services/URIBeacon2Service.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/URIBeacon2Service.h b/services/URIBeacon2Service.h index 4607e23..fd0a0d1 100644 --- a/services/URIBeacon2Service.h +++ b/services/URIBeacon2Service.h @@ -31,6 +31,13 @@ const uint8_t txPowerCharUUID[] = UUID_INITIALIZER_LIST(0x20, 0x86) const uint8_t beaconPeriodCharUUID[] = UUID_INITIALIZER_LIST(0x20, 0x88); class URIBeacon2Service { + enum TXPowerModes_t { + TX_POWER_MODE_LOWEST = 0, + TX_POWER_MODE_LOW = 1, + TX_POWER_MODE_MEDIUM = 2, + TX_POWER_MODE_HIGH = 3, + }; + public: /** * @param[ref] ble