View Esp Log With Arduino IDE

macirtr
Posts: 2
Joined: Tue May 15, 2018 5:45 pm

View Esp Log With Arduino IDE

Postby macirtr » Tue May 15, 2018 5:52 pm

Hello;

I am developing bluetooth application with arduino ide and esp32 ble development board in windows 7.

How how can i view esp log data?

Thanks.

Example
ESP_LOGD(LOG_TAG, "Ignoring %s, already seen it.", advertisedAddress.toString().c_str());


felix41382
Posts: 1
Joined: Sat Nov 24, 2018 8:01 am

Re: View Esp Log With Arduino IDE

Postby felix41382 » Sat Nov 24, 2018 8:06 am

Thanks for the advice. I changed the settings in the Arduino under Tools --> Core Debug Level to Verbose, but still no debug ouput.

Do you have any other idea?

Code: Select all

#include "esp32-hal-log.h"

void setup() {
  Serial.begin(115200);
  Serial.println("Starting"); // will be shown in the terminal
  Serial.setDebugOutput(true);

  esp_log_level_set("*", ESP_LOG_VERBOSE);
  ESP_LOGD("EXAMPLE", "This doesn't show");

  log_v("Verbose");
  log_d("Debug");
  log_i("Info");
  log_w("Warning"); 
  log_e("Error");
}

void loop() {
  // nothing to do
}

JoaoLopesF
Posts: 59
Joined: Thu Aug 17, 2017 5:40 pm

Re: View Esp Log With Arduino IDE

Postby JoaoLopesF » Sun Nov 25, 2018 3:40 pm

Hi,
If you not can it works, have a library for arduino that have debug levels and more:
https://github.com/JoaoLopesF/SerialDebug

Who is online

Users browsing this forum: ESP_Alvin, MSN [Bot] and 39 guests