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:
- 116:ca826083980e
- Parent:
- 106:a20be740075d
- Child:
- 126:fdebe4d5d62f
--- a/public/GattServerEvents.h Fri Aug 29 10:41:06 2014 +0200 +++ b/public/GattServerEvents.h Tue Sep 02 15:09:46 2014 +0100 @@ -44,53 +44,6 @@ GATT_EVENT_UPDATES_DISABLED = 4, /**< Notify/Indicate Disabled in CCCD */ GATT_EVENT_CONFIRMATION_RECEIVED = 5 /**< Response received from Indicate message */ } gattEvent_t; - - /******************************************************************/ - /*! - \brief - A message was successfully transmitted - */ - /******************************************************************/ - virtual void onDataSent(uint16_t charHandle) { - } - - /******************************************************************/ - /*! - \brief - The GATT client (the phone, tablet, etc.) wrote data to a - characteristic or descriptor on the GATT Server (the peripheral - device). - */ - /******************************************************************/ - virtual void onDataWritten(uint16_t charHandle) { - } - - /******************************************************************/ - /*! - \brief - A Notify or Indicate flag was enabled in the CCCD - */ - /******************************************************************/ - virtual void onUpdatesEnabled(uint16_t charHandle) { - } - - /******************************************************************/ - /*! - \brief - A Notify or Indicate flag was disabled in the CCCD - */ - /******************************************************************/ - virtual void onUpdatesDisabled(uint16_t charHandle) { - } - - /******************************************************************/ - /*! - \brief - A confirmation response was received from an Indicate message - */ - /******************************************************************/ - virtual void onConfirmationReceived(uint16_t charHandle) { - } }; #endif // ifndef __GATT_SERVER_EVENTS_H__