High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: GapAdvertisingParams.cpp
- Revision:
- 9:124ae067ae27
- Parent:
- 7:5e1f0d7f7c7d
- Child:
- 14:6ea5d1012a64
--- a/GapAdvertisingParams.cpp Mon Dec 16 18:16:01 2013 +0000 +++ b/GapAdvertisingParams.cpp Mon Dec 16 19:43:33 2013 +0000 @@ -111,3 +111,23 @@ { return _advType; } + +/**************************************************************************/ +/*! + @brief returns the current Advertising Delay (in units of 0.625ms) +*/ +/**************************************************************************/ +uint16_t GapAdvertisingParams::getInterval(void) +{ + return _interval; +} + +/**************************************************************************/ +/*! + @brief returns the current Advertising Timeout (in seconds) +*/ +/**************************************************************************/ +uint16_t GapAdvertisingParams::getTimeout(void) +{ + return _timeout; +}