From e40011cd46eb09c2c6fc923f75e99aefd262d6e8 Mon Sep 17 00:00:00 2001 From: sh123 Date: Sun, 19 Jun 2022 19:06:22 +0300 Subject: [PATCH] Update log lines --- ble_serial.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ble_serial.cpp b/ble_serial.cpp index 1e990d7..2c94b1c 100644 --- a/ble_serial.cpp +++ b/ble_serial.cpp @@ -20,13 +20,13 @@ class BLESerialServerCallbacks: public BLEServerCallbacks { void onConnect(BLEServer* pServer) { // do anything needed on connection - LOG_INFO("Client connected"); + LOG_INFO("BLE client connected"); delay(1000); // wait for connection to complete or messages can be lost }; void onDisconnect(BLEServer* pServer) { pServer->startAdvertising(); // restart advertising - LOG_INFO("Client disconnected, started advertising"); + LOG_INFO("BLE client disconnected, started advertising"); } }; @@ -99,7 +99,7 @@ bool BLESerial::begin(const char* localName) // Start the service pService->start(); - LOG_INFO("starting service"); + LOG_INFO("BLE starting service"); // Start advertising pServer->getAdvertising()->addServiceUUID(pService->getUUID()); @@ -107,7 +107,7 @@ bool BLESerial::begin(const char* localName) pServer->getAdvertising()->setMinPreferred(0x06); pServer->getAdvertising()->setMaxPreferred(0x12); pServer->getAdvertising()->start(); - LOG_INFO("Waiting a client connection to notify..."); + LOG_INFO("BLE is waiting a client connection to notify..."); return true; }