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.
Dependencies: BLE_API_Native_IRC TB6612FNG2 mbed
Fork of BLE_RCBController by
GapEvents Class Reference
The base class used to abstract away the callback events that can be triggered with the GAP. More...
#include <GapEvents.h>
Inherited by GapEventHandler.
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. | |
Public Member Functions | |
virtual void | onTimeout (void) |
Advertising timed out before a connection was established. | |
virtual void | onConnected (void) |
A connection was established with a central device. | |
virtual void | onDisconnected (void) |
A connection was closed or lost with a central device. |
Detailed Description
The base class used to abstract away the callback events that can be triggered with the GAP.
Definition at line 30 of file GapEvents.h.
Member Typedef Documentation
typedef enum GapEvents::gapEvent_e gapEvent_t |
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:
Definition at line 39 of file GapEvents.h.
Member Function Documentation
virtual void onConnected | ( | void | ) | [virtual] |
A connection was established with a central device.
Definition at line 60 of file GapEvents.h.
virtual void onDisconnected | ( | void | ) | [virtual] |
A connection was closed or lost with a central device.
Definition at line 68 of file GapEvents.h.
virtual void onTimeout | ( | void | ) | [virtual] |
Advertising timed out before a connection was established.
Definition at line 52 of file GapEvents.h.
Generated on Tue Jul 12 2022 16:16:17 by
