Search found 208 matches
- Tue Jul 30, 2019 1:18 pm
- Forum: General Discussion
- Topic: Sending large data over MQTT
- Replies: 3
- Views: 7376
Sending large data over MQTT
Hi everybody, I have to send multiple files (about 1000) content (for a total of about 1 MB or more) via MQTT to a remote broker. Since ESP32-WROOM-32 has limited RAM I can't read all files and put in a buffer before publish it. Is there any way to perform a "chuncked/segmented" publishing with esp-...
- Mon Jul 29, 2019 9:55 am
- Forum: General Discussion
- Topic: [SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
- Replies: 15
- Views: 16189
Re: esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
modified uart example attached # CONFIG_ESP_CONSOLE_UART_DEFAULT is not set CONFIG_ESP_CONSOLE_UART_CUSTOM=y # CONFIG_ESP_CONSOLE_UART_NONE is not set # CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_0 is not set CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_1=y CONFIG_ESP_CONSOLE_UART_NUM=1 CONFIG_ESP_CONSOLE_UART_TX_GP...
- Sun Jul 28, 2019 9:31 am
- Forum: General Discussion
- Topic: [SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
- Replies: 15
- Views: 16189
Re: esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
modified uart example attached # CONFIG_ESP_CONSOLE_UART_DEFAULT is not set CONFIG_ESP_CONSOLE_UART_CUSTOM=y # CONFIG_ESP_CONSOLE_UART_NONE is not set # CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_0 is not set CONFIG_ESP_CONSOLE_UART_CUSTOM_NUM_1=y CONFIG_ESP_CONSOLE_UART_NUM=1 CONFIG_ESP_CONSOLE_UART_TX_GP...
- Sat Jul 27, 2019 11:58 am
- Forum: General Discussion
- Topic: [SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
- Replies: 15
- Views: 16189
Re: esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
I have tested a simple example and it does work as long as you use the function calls I posted. Thanks for testing @WiFive. This means my code could have problems. May I ask you to provide the source code of your test example (and sdkconfig file if possible)? Did you setup the CONFIG_CONSOLE_UART_C...
- Fri Jul 26, 2019 9:35 pm
- Forum: General Discussion
- Topic: [SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
- Replies: 15
- Views: 16189
- Fri Jul 26, 2019 3:54 pm
- Forum: General Discussion
- Topic: [SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
- Replies: 15
- Views: 16189
Re: esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
Sorry, this is only documented in the UART API reference at the moment — wakep only works on the IO MUX pins: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/uart.html#_CPPv425uart_set_wakeup_threshold11uart_port_ti (see note in the function description) Thank you @E...
- Fri Jul 26, 2019 8:27 am
- Forum: General Discussion
- Topic: [SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
- Replies: 15
- Views: 16189
Re: esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
I think you might have to do this PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_U0RXD_U0RXD); PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, FUNC_U0TXD_U0TXD); Unfortunately, it seems not working. This my code: PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_U0RXD_U0RXD); PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_...
- Fri Jul 26, 2019 6:27 am
- Forum: General Discussion
- Topic: [SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
- Replies: 15
- Views: 16189
Re: esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
Is uart0 initialized and functional before sleep? Yes, it is. UART0 is working perfectly and I can send commands (via U0TX GPIO1) and receive (via U0RX GPIO3) replies from the external module. Infact, with the "default" Configuration everything works as expected. The problem is to sent debugs on UA...
- Thu Jul 25, 2019 1:57 pm
- Forum: General Discussion
- Topic: [SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
- Replies: 15
- Views: 16189
[SOLVED]esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration
Hi everybody, I'm testing "esp_sleep_enable_uart_wakeup" function. I have connected to UART0 (GPIO3 U0RX, GPIO1 U0TX) an external LTE module and I would like to wake up ESP32 when it is in light sleep but the external module send a particular string on the UART0. I have done a very simple test. It s...
- Tue Jun 25, 2019 6:58 am
- Forum: General Discussion
- Topic: Getting client IP connecting to esp_http_server
- Replies: 0
- Views: 1833
Getting client IP connecting to esp_http_server
Hi everybody, I have started working on esp_http_server and I used "restful_server" example as starting point. So far so good. I would like to know the IP of the client connecting to the esp_http_server (esp32 is NOT in softAP). I see that in "components/esp_http_server/src/httpd_main" the function ...