prova

Fork of BLE_API by Bluetooth Low Energy

Embed: (wiki syntax)

« Back to documentation index

GapEvents Class Reference

GapEvents Class Reference

The base class used to abstract away the callback events that can be triggered with the GAP. More...

#include <GapEvents.h>

Public Types

enum  gapEvent_e { GAP_EVENT_TIMEOUT = 1, GAP_EVENT_CONNECTED = 2, GAP_EVENT_DISCONNECTED = 3 }
 

Identifies GAP events generated by the radio HW when an event callback occurs.

More...
typedef enum GapEvents::gapEvent_e gapEvent_t
 Identifies GAP events generated by the radio HW when an event callback occurs.

Detailed Description

The base class used to abstract away the callback events that can be triggered with the GAP.

Definition at line 29 of file GapEvents.h.


Member Typedef Documentation

Identifies GAP events generated by the radio HW when an event callback occurs.


Member Enumeration Documentation

enum gapEvent_e

Identifies GAP events generated by the radio HW when an event callback occurs.

Enumerator:
GAP_EVENT_TIMEOUT 

Advertising timed out before a connection could be established.

GAP_EVENT_CONNECTED 

A connection was established with a central device.

GAP_EVENT_DISCONNECTED 

A connection was closed or lost with a central device.

Definition at line 39 of file GapEvents.h.