@@ -867,7 +867,7 @@ void NimBLEDevice::onSync(void) {
867867 * @brief The main host task.
868868 */
869869void NimBLEDevice::host_task (void * param) {
870- NIMBLE_LOGI (LOG_TAG , " BLE Host Task Started" );
870+ NIMBLE_LOGI (LOG_TAG , " NimBLE Started! " );
871871 nimble_port_run (); // This function will return only when nimble_port_stop() is executed
872872 nimble_port_freertos_deinit ();
873873} // host_task
@@ -878,6 +878,7 @@ void NimBLEDevice::host_task(void* param) {
878878 */
879879bool NimBLEDevice::init (const std::string& deviceName) {
880880 if (!m_initialized) {
881+ NIMBLE_LOGD (LOG_TAG , " Starting %s" , getVersion ());
881882# ifdef ESP_PLATFORM
882883
883884# if defined(CONFIG_ENABLE_ARDUINO_DEPENDS) && SOC_BT_SUPPORTED
@@ -999,6 +1000,7 @@ bool NimBLEDevice::init(const std::string& deviceName) {
9991000 }
10001001
10011002 m_initialized = true ; // Set the initialization flag to ensure we are only initialized once.
1003+ NIMBLE_LOGD (LOG_TAG , " Initialized" );
10021004 return true ;
10031005} // init
10041006
@@ -1331,7 +1333,7 @@ std::string NimBLEDevice::toString() {
13311333
13321334/* *
13331335 * @brief Return the library version as a string.
1334- * @return A const char* containing the version string in the format "major.minor.patch" .
1336+ * @return A const char* containing library version information .
13351337 */
13361338const char * NimBLEDevice::getVersion () {
13371339 return NIMBLE_CPP_VERSION_STR ;
0 commit comments