High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: public/GapEvents.h
- Revision:
- 116:ca826083980e
- Parent:
- 106:a20be740075d
- Child:
- 126:fdebe4d5d62f
diff -r 47e4cdd7b0c5 -r ca826083980e public/GapEvents.h --- a/public/GapEvents.h Fri Aug 29 10:41:06 2014 +0200 +++ b/public/GapEvents.h Tue Sep 02 15:09:46 2014 +0100 @@ -38,43 +38,10 @@ */ /******************************************************************/ typedef enum gapEvent_e { - GAP_EVENT_TIMEOUT = 1, /**< Advertising timed out - *before a connection was - *established */ - GAP_EVENT_CONNECTED = 2, /**< A connection was - *established with a - *central device */ - GAP_EVENT_DISCONNECTED = 3 /**< A connection was - *closed or lost with a - *central device */ + GAP_EVENT_TIMEOUT = 1, /**< Advertising timed out before a connection was established */ + GAP_EVENT_CONNECTED = 2, /**< A connection was established with a central device */ + GAP_EVENT_DISCONNECTED = 3 /**< A connection was closed or lost with a central device */ } gapEvent_t; - - /******************************************************************/ - /*! - \brief - Advertising timed out before a connection was established - */ - /******************************************************************/ - virtual void onTimeout(void) { - } - - /******************************************************************/ - /*! - \brief - A connection was established with a central device - */ - /******************************************************************/ - virtual void onConnected(void) { - } - - /******************************************************************/ - /*! - \brief - A connection was closed or lost with a central device - */ - /******************************************************************/ - virtual void onDisconnected(void) { - } }; #endif // ifndef __GAP_EVENTS_H__