Espressif-IDF开发
- 修改日志输出级别
#define LOG_LOCAL_LEVEL ESP_LOG_ERROR #include "esp_log.h" #define GATTS_TAG "GATTS_DEMO" ESP_LOGE(GATTS_TAG, "Advertising start failed\n"); ESP_LOGI(GATTS_TAG, "REGISTER_APP_EVT, status %d, app_id %d\n", param->reg.status, param->reg.app_id);