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.
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__