summaryrefslogtreecommitdiff
path: root/src/components/ble/ServiceDiscovery.h
diff options
context:
space:
mode:
authorJoaquim <joaquim.org@gmail.com>2021-04-26 20:29:48 (GMT)
committerJoaquim <joaquim.org@gmail.com>2021-04-26 20:29:48 (GMT)
commitcd0d85dff95bbc5f285d92eb78a642aab1ae4b8b (patch)
treefc568aa2516c8c64cc55eb0d08e9a929c11b454a /src/components/ble/ServiceDiscovery.h
parent5fc07a8df7d18d1fa9c4971f2c7b69ea68db559b (diff)
parenteedff2c06c292bda8dcb92fc04c67097fe72e22f (diff)
Merge branch 'develop' of
https://github.com/JF002/InfiniTime into StepsApp
Diffstat (limited to 'src/components/ble/ServiceDiscovery.h')
-rw-r--r--src/components/ble/ServiceDiscovery.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/components/ble/ServiceDiscovery.h b/src/components/ble/ServiceDiscovery.h
index 0b26bd1..fc3b38c 100644
--- a/src/components/ble/ServiceDiscovery.h
+++ b/src/components/ble/ServiceDiscovery.h
@@ -8,17 +8,16 @@ namespace Pinetime {
class BleClient;
class ServiceDiscovery {
- public:
- ServiceDiscovery(std::array<BleClient*, 2>&& bleClients);
+ public:
+ ServiceDiscovery(std::array<BleClient*, 2>&& bleClients);
- void StartDiscovery(uint16_t connectionHandle);
+ void StartDiscovery(uint16_t connectionHandle);
-
- private:
- BleClient** clientIterator;
- std::array<BleClient*, 2> clients;
- void OnServiceDiscovered(uint16_t connectionHandle);
- void DiscoverNextService(uint16_t connectionHandle);
+ private:
+ BleClient** clientIterator;
+ std::array<BleClient*, 2> clients;
+ void OnServiceDiscovered(uint16_t connectionHandle);
+ void DiscoverNextService(uint16_t connectionHandle);
};
}
}