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: public/Gap.h
- Revision:
- 533:c2aafeedaf8c
- Parent:
- 532:a709cfc1500d
- Child:
- 534:754131484cf1
--- a/public/Gap.h	Fri Jun 19 15:52:07 2015 +0100
+++ b/public/Gap.h	Fri Jun 19 15:52:07 2015 +0100
@@ -334,36 +334,36 @@
     template<typename T>
     void addToDisconnectionCallChain(T *tptr, void (T::*mptr)(void)) {disconnectionCallChain.add(tptr, mptr);}
 
-    GapAdvertisingParams &getAdvParams(void) {
+    GapAdvertisingParams &advParams(void) {
         return _advParams;
     }
-    const GapAdvertisingParams &getAdvParams(void) const {
+    const GapAdvertisingParams &advParams(void) const {
         return _advParams;
     }
     void setAdvParams(const GapAdvertisingParams &newParams) {
         _advParams = newParams;
     }
 
-    GapAdvertisingData &getAdvPayload(void) {
+    GapAdvertisingData &advPayload(void) {
         needToSetAdvPayload = true;
         return _advPayload;
     }
-    const GapAdvertisingData &getAdvPayload(void) const {
+    const GapAdvertisingData &advPayload(void) const {
         return _advPayload;
     }
 
-    GapAdvertisingData &getScanResponse(void) {
+    GapAdvertisingData &scanResponse(void) {
         needToSetAdvPayload = true;
         return _scanResponse;
     }
-    const GapAdvertisingData &getScanResponse(void) const {
+    const GapAdvertisingData &scanResponse(void) const {
         return _scanResponse;
     }
 
-    GapScanningParams &getScanningParams(void) {
+    GapScanningParams &scanningParams(void) {
         return _scanningParams;
     }
-    const GapScanningParams &getScanningParams(void) const {
+    const GapScanningParams &scanningParams(void) const {
         return _scanningParams;
     }
 
    