Browse Source

NetworkClient debugging

v0.9.4
Guy Turcotte 3 years ago
parent
commit
07c3741687
  1. 2
      src/services/network_client.cpp

2
src/services/network_client.cpp

@ -207,7 +207,7 @@ static esp_err_t http_event_handler(esp_http_client_event_t * evt)
break;
case HTTP_EVENT_ON_HEADER:
ESP_LOGI(TAG, "HTTP_EVENT_ON_HEADER");
ESP_LOGI(TAG, "len = %d, %.*s", evt->data_len, evt->data_len, (char*)evt->data);
ESP_LOGI(TAG, "key = %s, value = %s", evt->header_key, evt->header_value);
break;
case HTTP_EVENT_ON_DATA:
ESP_LOGI(TAG, "HTTP_EVENT_ON_DATA, len=%d", evt->data_len);

Loading…
Cancel
Save