Joshua Slater / BLE_API_Changed

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Nov 28 14:11:22 2014 +0000
Parent:
174:5ae7781362b6
Child:
176:a213fd50613d
Commit message:
Synchronized with git rev eb77b38a
Author: Rohit Grover
add enums for TXPowerModes_t

Changed in this revision

services/URIBeacon2Service.h Show annotated file Show diff for this revision Revisions of this file
--- 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