Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.

Fork of BLE_API by Bluetooth Low Energy

Revision:
337:e7c2eb38f5cc
Parent:
325:501ad8b8bbe5
Child:
341:8a104d9d80c1
--- a/public/Gap.h	Wed Apr 15 09:05:10 2015 +0100
+++ b/public/Gap.h	Wed Apr 15 09:05:11 2015 +0100
@@ -101,7 +101,7 @@
     virtual ble_error_t setAppearance(uint16_t appearance)                    = 0;
     virtual ble_error_t getAppearance(uint16_t *appearanceP)                  = 0;
 
-private:
+protected:
     /* Event callback handlers */
     void setOnTimeout(EventCallback_t callback) {onTimeout = callback;}
     void setOnConnection(ConnectionEventCallback_t callback) {onConnection = callback;}
@@ -128,6 +128,7 @@
     template<typename T>
     void addToDisconnectionCallChain(T *tptr, void (T::*mptr)(void)) {disconnectionCallChain.add(tptr, mptr);}
 
+private:
     GapState_t getState(void) const {
         return state;
     }
@@ -170,7 +171,7 @@
 protected:
     GapState_t                   state;
 
-private:
+protected:
     EventCallback_t              onTimeout;
     ConnectionEventCallback_t    onConnection;
     DisconnectionEventCallback_t onDisconnection;