File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- #ifndef __GAP_EVENTS_H__
18
- #define __GAP_EVENTS_H__
17
+ #ifndef MBED_GAP_EVENTS_H__
18
+ #define MBED_GAP_EVENTS_H__
19
19
20
20
#include " blecommon.h"
21
21
22
- /* *************************************************************************/
22
+ // / @cond 0
23
+
23
24
/* !
24
25
\brief
25
26
The base class used to abstract away the callback events that can be
26
27
triggered with the GAP.
28
+
29
+ @deprecated Do not use; it is not used by BLE API.
27
30
*/
28
- /* *************************************************************************/
29
31
class GapEvents
30
32
{
31
33
public:
32
- /* *****************************************************************/
33
34
/* !
34
35
\brief
35
36
Identifies GAP events generated by the radio HW when an event
36
37
callback occurs.
38
+
39
+ @deprecated Do not use; it is not used by BLE API.
37
40
*/
38
- /* *****************************************************************/
39
41
typedef enum gapEvent_e {
40
42
GAP_EVENT_TIMEOUT = 1 , /* *< Advertising timed out before a connection could be established. */
41
43
GAP_EVENT_CONNECTED = 2 , /* *< A connection was established with a central device. */
42
44
GAP_EVENT_DISCONNECTED = 3 /* *< A connection was closed or lost with a central device. */
43
45
} gapEvent_t;
44
46
};
45
47
46
- #endif // ifndef __GAP_EVENTS_H__
48
+ // / @endcond
49
+
50
+ #endif // ifndef MBED_GAP_EVENTS_H__
You can’t perform that action at this time.
0 commit comments