Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: public/GattServerEvents.h
- Revision:
- 248:792e326c2dfd
- Parent:
- 227:5c4cb4553821
- Child:
- 249:5d9118449482
--- a/public/GattServerEvents.h Fri Dec 12 13:32:23 2014 +0000 +++ b/public/GattServerEvents.h Fri Dec 12 13:32:23 2014 +0000 @@ -17,25 +17,14 @@ #ifndef __GATT_SERVER_EVENTS_H__ #define __GATT_SERVER_EVENTS_H__ -#include "blecommon.h" - -/**************************************************************************/ /*! \brief The base class used to abstract away the callback events that can be triggered with the GATT Server. */ -/**************************************************************************/ class GattServerEvents { public: - /******************************************************************/ - /*! - \brief - Identifies GATT events generated by the radio HW when an event - callback occurs - */ - /******************************************************************/ typedef enum gattEvent_e { GATT_EVENT_DATA_SENT = 1, /**< Fired when a msg was successfully sent out (notify only?) */ GATT_EVENT_DATA_WRITTEN = 2, /**< Client wrote data to Server (separate into char and descriptor writes?) */