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/URIBeacon2Service.h
- 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