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);
    

      

posted @ 2023-12-05 10:41  ahuo  阅读(18)  评论(0编辑  收藏  举报