Search found 20 matches

by waterfox
Wed Aug 02, 2023 6:12 am
Forum: ESP-IDF
Topic: UART Interrupt. Porting from STM32 to ESP 32
Replies: 4
Views: 5098

Re: UART Interrupt. Porting from STM32 to ESP 32

I was never able to finish the port.
by waterfox
Sun Aug 23, 2020 9:14 pm
Forum: ESP-IDF
Topic: WiFi AP Mode. Not able to connect in Environment with many other WiFis.
Replies: 0
Views: 1685

WiFi AP Mode. Not able to connect in Environment with many other WiFis.

Hello together, I have set my ESP32 to APSTA mode but the station isn't connected. To set the credentials i have to connect to the ESP directly. At a place with only one other wifi this is not a big problem. Now I'm trying the same thing in a environment with many access points running a mesh WiFi. ...
by waterfox
Sat Aug 08, 2020 1:47 pm
Forum: ESP-IDF
Topic: GitLab CI
Replies: 4
Views: 6980

Re: GitLab CI

Did someone managed to do this?
by waterfox
Tue Jul 07, 2020 4:16 pm
Forum: General Discussion
Topic: CMake custom target macro definition
Replies: 3
Views: 6258

Re: CMake custom target macro definition

Hi, I also want to compile my code for different types of Boards. At the moment I have to go to the menuconfig and switch there to the config I want to use. For Example: I have an Analog and Digital board. So I have to select analog or digital into the menuconfig. I would like to set the board type ...
by waterfox
Tue Jun 23, 2020 8:28 pm
Forum: General Discussion
Topic: Measure VDD33 using ADC2
Replies: 6
Views: 14111

Re: Measure VDD33 using ADC2

Hi,

is there anything new on this?

What do i need to set the ADC2 to measure VDD33 if Bluetooth and wifi are disabled.
by waterfox
Wed Jun 17, 2020 3:53 pm
Forum: ESP-IDF
Topic: How to set up simple Modbus communication?
Replies: 8
Views: 20747

Re: How to set up simple Modbus communication?

I think that depends on your device. My device will return a value which is out of range. But I'm not sure if this is modbus standard.
by waterfox
Wed Jun 17, 2020 1:59 pm
Forum: ESP-IDF
Topic: How to set up simple Modbus communication?
Replies: 8
Views: 20747

Re: How to set up simple Modbus communication?

What I'm using for reading and writing registers now is this function. esp_err_t err = ESP_OK; mb_param_request_t setparam = {1, 6, 0, 1}; //Device Adress, Func code (3 Read Holding Reg, 6 Write Input Reg), start Adr, reg length int value = 3000; //Value to set or Variable for Output err = mbc_maste...
by waterfox
Mon Jun 01, 2020 5:08 pm
Forum: ESP-IDF
Topic: [solved] sprintf() Guru Meditation Error (maximum Task Size?)
Replies: 9
Views: 11179

Re: sprintf() Guru Meditation Error (maximum Task Size?)

I have for each format specifier one argument into the sprintf() fucntion. This was only a mistake in my example. like you said it's not a problem if there are more or less arguments if my html string is shorter than approximately 6500 bytes. If there are more format specifiers in this format strin...
by waterfox
Mon Jun 01, 2020 2:44 pm
Forum: ESP-IDF
Topic: [solved] sprintf() Guru Meditation Error (maximum Task Size?)
Replies: 9
Views: 11179

Re: sprintf() Guru Meditation Error (maximum Task Size?)

Thanks for your response. I've tried snprintf() but it changed nothing. html request is defined as static const char. It is html code wich I minified to put it into one line of code and then put to a Text -> C/C++ string converter to have a C string wich I use vor the variable. Here is a peace of t...
by waterfox
Mon Jun 01, 2020 12:38 pm
Forum: ESP-IDF
Topic: [solved] sprintf() Guru Meditation Error (maximum Task Size?)
Replies: 9
Views: 11179

Re: sprintf() Guru Meditation Error (maximum Task Size?)

char* HTML = (char*)malloc(8500); if (HTML != NULL) { ESP_LOGD(TAG,"Fill HTML file"); export_aio_conf(conf, HTML, html_request); ESP_LOGD(TAG,"Send Response"); httpd_resp_send(req, (const char*)HTML, strlen(HTML)); free(HTML); } Thank you for your correction of the code. Unfortunately, I still have...