summaryrefslogtreecommitdiff
path: root/src/components/ble/BleClient.h
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2020-10-30 14:16:04 +0100
committerGitHub <noreply@github.com>2020-10-30 14:16:04 +0100
commit0e97db1c30748d9893291a27504bb55723f58e7d (patch)
tree9b410aee92af82099619c56a4d25c9c6b7c99e68 /src/components/ble/BleClient.h
parentcb9e8815d8bc6ce71fd8e97f3e3dae402658ce1f (diff)
parent29f8074fcb844cf9668a5bf071e9cffa47299c99 (diff)
Merge pull request #118 from JF002/improve-ble-connection
Improve ble connection
Diffstat (limited to 'src/components/ble/BleClient.h')
-rw-r--r--src/components/ble/BleClient.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/ble/BleClient.h b/src/components/ble/BleClient.h
new file mode 100644
index 00000000..559f6c8d
--- /dev/null
+++ b/src/components/ble/BleClient.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <functional>
+
+namespace Pinetime {
+ namespace Controllers{
+ class BleClient {
+ public:
+ virtual void Discover(uint16_t connectionHandle, std::function<void(uint16_t)> lambda) = 0;
+ };
+ }
+} \ No newline at end of file