Merge branch 'bugfix/module_logging_tag_lower_case' into 'master'

mqtt: unite supported components tags under common structure

See merge request espressif/esp-idf!22418
This commit is contained in:
Rocha Euripedes
2023-09-05 14:06:33 +08:00
13 changed files with 59 additions and 59 deletions

View File

@@ -15,7 +15,7 @@
#include "esp_log.h"
#include "mqtt_client.h"
static const char *TAG = "MQTT_EXAMPLE";
static const char *TAG = "mqtt_example";
static esp_err_t mqtt_event_handler_cb(esp_mqtt_event_handle_t event)
@@ -86,12 +86,12 @@ extern "C" void app_main(void)
ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version());
esp_log_level_set("*", ESP_LOG_INFO);
esp_log_level_set("MQTT_CLIENT", ESP_LOG_VERBOSE);
esp_log_level_set("MQTT_EXAMPLE", ESP_LOG_VERBOSE);
esp_log_level_set("TRANSPORT_TCP", ESP_LOG_VERBOSE);
esp_log_level_set("TRANSPORT_SSL", ESP_LOG_VERBOSE);
esp_log_level_set("TRANSPORT", ESP_LOG_VERBOSE);
esp_log_level_set("OUTBOX", ESP_LOG_VERBOSE);
esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE);
esp_log_level_set("mqtt_example", ESP_LOG_VERBOSE);
esp_log_level_set("transport_tcp", ESP_LOG_VERBOSE);
esp_log_level_set("transport_ssl", ESP_LOG_VERBOSE);
esp_log_level_set("transport", ESP_LOG_VERBOSE);
esp_log_level_set("outbox", ESP_LOG_VERBOSE);
ESP_ERROR_CHECK(nvs_flash_init());
ESP_ERROR_CHECK(esp_netif_init());

View File

@@ -33,7 +33,7 @@ extern const uint8_t client_pwd_key[] asm("_binary_client_pwd_key_start");
extern const uint8_t client_inv_crt[] asm("_binary_client_inv_crt_start");
extern const uint8_t client_no_pwd_key[] asm("_binary_client_no_pwd_key_start");
static const char *TAG = "CONNECT_TEST";
static const char *TAG = "connect_test";
static esp_mqtt_client_handle_t mqtt_client = NULL;
static int running_test_case = 0;

View File

@@ -16,7 +16,7 @@
#include "protocol_examples_common.h"
#include "esp_log.h"
static const char *TAG = "PUBLISH_CONNECT_TEST";
static const char *TAG = "publish_connect_test";
void connection_test(const char *line);
void publish_test(const char *line);
@@ -45,10 +45,10 @@ void app_main(void)
ESP_LOGI(TAG, "[APP] IDF version: %s", esp_get_idf_version());
esp_log_level_set("*", ESP_LOG_INFO);
esp_log_level_set("MQTT_CLIENT", ESP_LOG_VERBOSE);
esp_log_level_set("TRANSPORT_BASE", ESP_LOG_VERBOSE);
esp_log_level_set("TRANSPORT", ESP_LOG_VERBOSE);
esp_log_level_set("OUTBOX", ESP_LOG_VERBOSE);
esp_log_level_set("mqtt_client", ESP_LOG_VERBOSE);
esp_log_level_set("transport_base", ESP_LOG_VERBOSE);
esp_log_level_set("transport", ESP_LOG_VERBOSE);
esp_log_level_set("outbox", ESP_LOG_VERBOSE);
ESP_ERROR_CHECK(nvs_flash_init());
ESP_ERROR_CHECK(esp_netif_init());

View File

@@ -19,7 +19,7 @@
#include "mqtt_client.h"
#include "sdkconfig.h"
static const char *TAG = "PUBLISH_TEST";
static const char *TAG = "publish_test";
static EventGroupHandle_t mqtt_event_group;
const static int CONNECTED_BIT = BIT0;