Improve readability with getHandle inline

Fork of BLE_API by Bluetooth Low Energy

Revision:
175:4e85f7225f8f
Parent:
174:5ae7781362b6
Child:
176:a213fd50613d
--- a/services/URIBeacon2Service.h	Fri Nov 28 14:11:22 2014 +0000
+++ b/services/URIBeacon2Service.h	Fri Nov 28 14:11:22 2014 +0000
@@ -31,6 +31,13 @@
 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