add enums for TXPowerModes_t

master
Rohit Grover 2014-11-28 08:39:46 +00:00
parent 35d665a4e0
commit eb77b38a11
1 changed files with 7 additions and 0 deletions

View File

@ -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