adaptation for book and plug demo

Dependents:   BookAndPlug

Fork of BLE_API by Bluetooth Low Energy

Embed: (wiki syntax)

« Back to documentation index

GattServerEvents Class Reference

GattServerEvents Class Reference

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

#include <GattServerEvents.h>

Public Types

enum  gattEvent_e {
  GATT_EVENT_DATA_SENT = 1, GATT_EVENT_DATA_WRITTEN = 2, GATT_EVENT_UPDATES_ENABLED = 3, GATT_EVENT_UPDATES_DISABLED = 4,
  GATT_EVENT_CONFIRMATION_RECEIVED = 5, GATT_EVENT_READ_AUTHORIZATION_REQ = 6, GATT_EVENT_WRITE_AUTHORIZATION_REQ = 7
}
 

Enumeration for GattServer events.

More...
typedef enum
GattServerEvents::gattEvent_e 
gattEvent_t
 Enumeration for GattServer events.

Detailed Description

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

Definition at line 24 of file GattServerEvents.h.


Member Typedef Documentation

Enumeration for GattServer events.


Member Enumeration Documentation

Enumeration for GattServer events.

Enumerator:
GATT_EVENT_DATA_SENT 

Fired when a message was successfully sent out (notify only?)

GATT_EVENT_DATA_WRITTEN 

Client wrote data to the server (separate into char and descriptor writes?)

GATT_EVENT_UPDATES_ENABLED 

Notify/Indicate enabled in CCCD.

GATT_EVENT_UPDATES_DISABLED 

Notify/Indicate disabled in CCCD.

GATT_EVENT_CONFIRMATION_RECEIVED 

Response received from Indicate message.

GATT_EVENT_READ_AUTHORIZATION_REQ 

Request application to authorize read.

GATT_EVENT_WRITE_AUTHORIZATION_REQ 

Request application to authorize write.

Definition at line 30 of file GattServerEvents.h.