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
Diff: hw/GapEvents.h
- Revision:
- 77:1436ecf09583
- Parent:
- 34:da2ea8cd6216
--- a/hw/GapEvents.h Mon Jun 09 08:29:22 2014 +0100 +++ b/hw/GapEvents.h Mon Jun 09 08:34:47 2014 +0100 @@ -27,7 +27,8 @@ triggered with the GAP. */ /**************************************************************************/ -class GapEvents { +class GapEvents +{ public: /******************************************************************/ /*! @@ -36,8 +37,7 @@ callback occurs */ /******************************************************************/ - typedef enum gapEvent_e - { + typedef enum gapEvent_e { GAP_EVENT_TIMEOUT = 1, /**< Advertising timed out *before a connection was *established */