|
|
|
@ -33,13 +33,13 @@ public:
|
|
|
|
|
/*!
|
|
|
|
|
\brief
|
|
|
|
|
Identifies GAP events generated by the radio HW when an event
|
|
|
|
|
callback occurs
|
|
|
|
|
callback occurs.
|
|
|
|
|
*/
|
|
|
|
|
/******************************************************************/
|
|
|
|
|
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 could be 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;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|