Minor temporary patch to allow DFU packet callback

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
}

Detailed Description

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

Definition at line 25 of file GattServerEvents.h.


Member Enumeration Documentation

Enumerator:
GATT_EVENT_DATA_SENT 

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

GATT_EVENT_DATA_WRITTEN 

Client wrote data to 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 28 of file GattServerEvents.h.