From 3dfba0b90d8549d17a2aa4d228f31fbdcf803e70 Mon Sep 17 00:00:00 2001 From: JF Date: Fri, 19 Jun 2020 22:20:12 +0200 Subject: [PATCH] Update BLE status when BLE is connected. --- src/Components/Ble/NimbleController.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Ble/NimbleController.cpp b/src/Components/Ble/NimbleController.cpp index 8c4675b7..561dbce4 100644 --- a/src/Components/Ble/NimbleController.cpp +++ b/src/Components/Ble/NimbleController.cpp @@ -180,8 +180,8 @@ int NimbleController::OnGAPEvent(ble_gap_event *event) { StartAdvertising(); bleController.Disconnect(); } else { - //bleController.Connect(); - //systemTask.PushMessage(Pinetime::System::SystemTask::Messages::BleConnected); + bleController.Connect(); + systemTask.PushMessage(Pinetime::System::SystemTask::Messages::BleConnected); connectionHandle = event->connect.conn_handle; // Service discovery is deffered via systemtask }