Search found 25 matches

by rosenrot
Fri Mar 18, 2022 10:06 pm
Forum: ESP-IDF
Topic: esp-idf rest server limit access to localhost
Replies: 1
Views: 1391

esp-idf rest server limit access to localhost

Dear All,

I'm using the Restful HTTP server example and I wanted to know if somehow I could restrict the access to GET and POST to the localhost.

https://github.com/espressif/esp-idf/bl ... /README.md

Any idea is welcome.
by rosenrot
Tue Jun 16, 2020 10:16 pm
Forum: General Discussion
Topic: UART baud rate >460800 leads to partial garbage
Replies: 13
Views: 15437

Re: UART baud rate >460800 leads to partial garbage

I think I found it. I use the hello_world example. Any help is welcome. Issue: # # Power Management # CONFIG_PM_ENABLE=y # CONFIG_PM_DFS_INIT_AUTO is not set # CONFIG_PM_PROFILING is not set # CONFIG_PM_TRACE is not set # end of Power Management No issue: # # Power Management # # CONFIG_PM_ENABLE is...
by rosenrot
Tue Jun 16, 2020 8:57 am
Forum: General Discussion
Topic: UART baud rate >460800 leads to partial garbage
Replies: 13
Views: 15437

Re: UART baud rate >460800 leads to partial garbage

Thank you for checking. So the hello_world example is working well on my board. I'm searching for the menuconfig change which causes it.

My guess is the FreeRTOS tick rate. However, just changing it to 1000hz didn't cause the effect.

I will report back as soon as possible.
by rosenrot
Sat Jun 13, 2020 11:13 pm
Forum: General Discussion
Topic: UART baud rate >460800 leads to partial garbage
Replies: 13
Views: 15437

Re: UART baud rate >460800 leads to partial garbage

I'm on USB and PSU. If this made a difference then why I do see the same effect over any of my esp32 modules. I really think that it might be a bug. Why always the same part of the boot message is perfectly alright without a single error. I'm always asking this stupid question: Am I the first one to...
by rosenrot
Sat Jun 13, 2020 4:06 pm
Forum: General Discussion
Topic: UART baud rate >460800 leads to partial garbage
Replies: 13
Views: 15437

Re: UART baud rate >460800 leads to partial garbage

Great, I'm not the only one wondering. 1. Shouldn't be the case because it works up to 460800 and then it becomes weird. So any idea would be great. 2. I was thinking about that. WIFI and BLE is turned of at this stage. What might it be? It is a ESP32-WROOM-32D modul. It happens to all modules I hav...
by rosenrot
Sat Jun 13, 2020 12:11 am
Forum: General Discussion
Topic: UART baud rate >460800 leads to partial garbage
Replies: 13
Views: 15437

Re: UART baud rate >460800 leads to partial garbage

I completely understand your answer. However, why is the bootloader output working perfectly alright while the rest isn't. Your answer doesn't explain this fact, does it?
by rosenrot
Fri Jun 12, 2020 10:59 pm
Forum: General Discussion
Topic: UART baud rate >460800 leads to partial garbage
Replies: 13
Views: 15437

UART baud rate >460800 leads to partial garbage

Could someone explain me why I do get partially perfect UART data? The garbage coming after the "cpu_start" are random ESP_LOGE and printf outputs. However, they are garbage. Could someone tell me why? UART console baud rate is set to 921600 or 2000000. Both lead to this results. Setting it to 46080...
by rosenrot
Thu May 07, 2020 11:39 am
Forum: ESP-IDF
Topic: Binary size increased
Replies: 3
Views: 4521

Re: Binary size increased

Thanks for the hint. So the flash code increased by almost 30'000 bytes. Where do I have to search? (base) C:\>C:\small.map Total sizes: DRAM .data size: 14664 bytes DRAM .bss size: 11768 bytes Used static DRAM: 26432 bytes ( 98148 available, 21.2% used) Used static IRAM: 89828 bytes ( 41244 availab...
by rosenrot
Tue May 05, 2020 12:17 am
Forum: ESP-IDF
Topic: Binary size increased
Replies: 3
Views: 4521

Binary size increased

I'm using the VCode extension to build my project. Recently I saw an increase of my binary from 524kb to 557kb from one moment to the next. Removing 10 variables from the code doesn't change the size of the binary file. I think this is because variables are rather small. Any ideas what I can remove ...
by rosenrot
Sat May 02, 2020 9:40 pm
Forum: ESP-IDF
Topic: bonding with devices which use random BLE addresses
Replies: 11
Views: 17941

Re: bonding with devices which use random BLE addresses

I'm playing with the same example. However, the example's information tells storing bonding information to be present after a reboot is not possible for now. https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/nimble/bleprph I get the following error after bonding, so bonding is not ...