summaryrefslogtreecommitdiff
path: root/src/BLEServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BLEServer.h')
-rw-r--r--src/BLEServer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/BLEServer.h b/src/BLEServer.h
index 6c71679..95c55d5 100644
--- a/src/BLEServer.h
+++ b/src/BLEServer.h
@@ -42,6 +42,7 @@ public:
std::string toString();
BLEService* getFirst();
BLEService* getNext();
+ void removeService(BLEService *service);
private:
std::map<uint16_t, BLEService*> m_handleMap;
@@ -61,6 +62,7 @@ public:
BLEAdvertising* getAdvertising();
void setCallbacks(BLEServerCallbacks* pCallbacks);
void startAdvertising();
+ void removeService(BLEService *service);
private: