Search found 6 matches

by peter_moulin
Fri May 28, 2021 6:17 am
Forum: ESP-IDF
Topic: what is the info printed with esp_log
Replies: 6
Views: 5357

Re: what is the info printed with esp_log

Thanks for answer. It is also possible to use "#define LOG_LOCAL_LEVEL ESP_LOG_WARN" or any level in the code itself.

Best regards,
Pierre
by peter_moulin
Thu May 27, 2021 5:05 pm
Forum: ESP-IDF
Topic: what is the info printed with esp_log
Replies: 6
Views: 5357

Re: what is the info printed with esp_log

I am not sure of what you mean by menuconfig and where to find it.
Is it with idf.py menuconfig or with sdkconfig under eclipse ?
In the latest there is a
#
# Log output
#
# CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
# CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set
# CONFIG_LOG_DEFAULT_LEVEL_WARN is not ...
by peter_moulin
Thu May 27, 2021 6:19 am
Forum: ESP-IDF
Topic: what is the info printed with esp_log
Replies: 6
Views: 5357

Re: what is the info printed with esp_log

Thanks for your answer.
I had already read and used it (https://github.com/espressif/esp-idf/bl ... config#L87)

My question is more about: is it possible to avoid the cryptic info before the data, i.e. "<27>[0;32mI (13989)"
in a line like <27>[0;32mI (13989) smart_if: client number 0 sock: 55
where ...
by peter_moulin
Mon May 24, 2021 2:38 pm
Forum: ESP-IDF
Topic: what is the info printed with esp_log
Replies: 6
Views: 5357

what is the info printed with esp_log

I developp an APP with esp-IDF under Eclipse.

I use some instruction like ESP_LOGI(TAG_TX, " %s ",msg_V);
where TAG_TX is static const char *TAG_TX = "->";
and char msg_V[]={'V','N','2','.','0' ,'\n'};

Resulting on the output terminal in
<27>[0;32mI (25907) ->: VN2.0

nota <27> is 0x1B ( escape ...
by peter_moulin
Sat Oct 31, 2020 4:45 pm
Forum: ESP-IDF
Topic: esp32 idf example tcphttp
Replies: 0
Views: 1594

esp32 idf example tcphttp

Hello,

All the code for protocol TCP, HTTP given in example call for wifi_sta.
WIFI is called by example_connect() in #include "protocol_examples_common.h" which call for a station.

where can I found example where WIFI is an AccessPoint.

Best regards,
Pierre
by peter_moulin
Fri May 15, 2020 1:02 pm
Forum: General Discussion
Topic: 9 Bit UART
Replies: 5
Views: 12329

Re: 9 Bit UART


Hi!
I came across this problem and couldn't find anything.
But, I forked the SoftwareSerial library for the ESP32 and modified it a bit so 9 bit frames work.
Here you go!
https://github.com/ionini/espsoftwareserial
Hope someone finds this useful.


I have tried your library with an ESP32 board ...

Go to advanced search