Bike service
Fork of BLE_API by
Diff: ble/GattServerEvents.h
- Revision:
- 1184:1589830dbdb7
- Parent:
- 1180:4ab722f8dca0
diff -r b70129080ddf -r 1589830dbdb7 ble/GattServerEvents.h --- a/ble/GattServerEvents.h Wed Apr 06 19:15:34 2016 +0100 +++ b/ble/GattServerEvents.h Wed Apr 06 19:15:36 2016 +0100 @@ -17,14 +17,16 @@ #ifndef __GATT_SERVER_EVENTS_H__ #define __GATT_SERVER_EVENTS_H__ -/*! - \brief - The base class used to abstract away the callback events that can be - triggered with the GATT Server. -*/ +/** + * @brief The base class used to abstract away the callback events that can be + * triggered with the GATT Server. + */ class GattServerEvents { public: + /** + * Enumeration for GattServer events. + */ typedef enum gattEvent_e { GATT_EVENT_DATA_SENT = 1, /**< Fired when a message was successfully sent out (notify only?) */ GATT_EVENT_DATA_WRITTEN = 2, /**< Client wrote data to the server (separate into char and descriptor writes?) */ @@ -36,4 +38,4 @@ } gattEvent_t; }; -#endif // ifndef __GATT_SERVER_EVENTS_H__ \ No newline at end of file +#endif /* ifndef __GATT_SERVER_EVENTS_H__ */ \ No newline at end of file