fork BLE_API to add update adv payload API

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Jun 19 15:52:05 2015 +0100
Parent:
518:54731cc463b3
Child:
520:2ac0f11a183a
Commit message:
Synchronized with git rev 33e1d6f9
Author: Rohit Grover
minor reordering of APIs in BLEDeviceInstanceBase

Changed in this revision

common/BLEDeviceInstanceBase.h Show annotated file Show diff for this revision Revisions of this file
--- a/common/BLEDeviceInstanceBase.h	Fri Jun 19 15:52:05 2015 +0100
+++ b/common/BLEDeviceInstanceBase.h	Fri Jun 19 15:52:05 2015 +0100
@@ -24,12 +24,12 @@
 class BLEDeviceInstanceBase
 {
 public:
+    virtual ble_error_t init(void)                 = 0;
+    virtual ble_error_t shutdown(void)             = 0;
+    virtual ble_error_t reset(void)                = 0;
     virtual const char *getVersion(void)           = 0;
     virtual Gap&        getGap()                   = 0;
     virtual GattServer& getGattServer()            = 0;
-    virtual ble_error_t init(void)                 = 0;
-    virtual ble_error_t shutdown(void)             = 0;
-    virtual ble_error_t reset(void)                = 0;
     virtual ble_error_t initializeSecurity(bool                          enableBonding = true,
                                            bool                          requireMITM   = true,
                                            Gap::SecurityIOCapabilities_t iocaps        = Gap::IO_CAPS_NONE,