![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Ble for smart sOlutions
source/InterestService.h
- Committer:
- kris@kris-X682X
- Date:
- 2019-06-14
- Revision:
- 10:d845189d146e
- Parent:
- 9:92d861703f96
File content as of revision 10:d845189d146e:
// // 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