summaryrefslogtreecommitdiff
path: root/src/components/ble/BleController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ble/BleController.cpp')
-rw-r--r--src/components/ble/BleController.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/ble/BleController.cpp b/src/components/ble/BleController.cpp
index a80c971..0e1c5d7 100644
--- a/src/components/ble/BleController.cpp
+++ b/src/components/ble/BleController.cpp
@@ -2,12 +2,12 @@
using namespace Pinetime::Controllers;
-void Ble::Connect() {
- isConnected = true;
+void Ble::SetConnectState(Ble::ConnectStates newState) {
+ connectionState = newState;
}
-void Ble::Disconnect() {
- isConnected = false;
+Ble::ConnectStates Ble::GetConnectState() const {
+ return connectionState;
}
void Ble::StartFirmwareUpdate() {