diff options
| author | JF <jf@codingfield.com> | 2020-10-29 15:06:01 (GMT) |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-10-29 15:06:01 (GMT) |
| commit | 29f8074fcb844cf9668a5bf071e9cffa47299c99 (patch) | |
| tree | 9b410aee92af82099619c56a4d25c9c6b7c99e68 /src/components/ble/BleClient.h | |
| parent | f90f2254f55086589d1d378d35a54085e2620cb6 (diff) | |
Refactoring of BLE service discovery : it is now implemented into the classes of the services.
Diffstat (limited to 'src/components/ble/BleClient.h')
| -rw-r--r-- | src/components/ble/BleClient.h | 12 |
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 0000000..559f6c8 --- /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 |
