Kris Scholte Lubberink
/
SSS_Ble
Ble for smart sOlutions
source/InterestService.h
- Committer:
- kris@kris-X682X
- Date:
- 2019-06-20
- Revision:
- 11:d6ed1437c2ee
- Parent:
- 10:d845189d146e
File content as of revision 11:d6ed1437c2ee:
// // Created by kris on 7-5-19. // #ifndef SSS_BLE_INTERESTSERVICE_H #define SSS_BLE_INTERESTSERVICE_H #include "FlashIAP.h" #include "ble/BLE.h" #include "CustomUUIDs.h" class InterestService { public: virtual ~InterestService(); typedef int interests_T[5]; InterestService(BLE &ble); virtual void onDataWritten(const GattWriteCallbackParams *writeParams); int readFromFs(); int writeToFs(); int createFs(); private: BLE& ble; interests_T interests; ReadWriteGattCharacteristic<interests_T> interestCharacteristic; }; #endif //SSS_BLE_INTERESTSERVICE_H