Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: GapAdvertisingParams.cpp
- Revision:
- 40:d405c9b1419d
- Parent:
- 34:da2ea8cd6216
- Child:
- 43:ac154ac74a30
diff -r a57137537521 -r d405c9b1419d GapAdvertisingParams.cpp
--- a/GapAdvertisingParams.cpp Thu May 22 14:51:06 2014 +0100
+++ b/GapAdvertisingParams.cpp Thu May 22 15:02:40 2014 +0100
@@ -133,7 +133,7 @@
\brief returns the current Advertising Type value
*/
/**************************************************************************/
-GapAdvertisingParams::AdvertisingType GapAdvertisingParams::getAdvertisingType(void)
+GapAdvertisingParams::AdvertisingType GapAdvertisingParams::getAdvertisingType(void) const
{
return _advType;
}
@@ -143,7 +143,7 @@
\brief returns the current Advertising Delay (in units of 0.625ms)
*/
/**************************************************************************/
-uint16_t GapAdvertisingParams::getInterval(void)
+uint16_t GapAdvertisingParams::getInterval(void) const
{
return _interval;
}
@@ -153,7 +153,7 @@
\brief returns the current Advertising Timeout (in seconds)
*/
/**************************************************************************/
-uint16_t GapAdvertisingParams::getTimeout(void)
+uint16_t GapAdvertisingParams::getTimeout(void) const
{
return _timeout;
}
