Search found 12 matches

by JAHTKELD
Fri Jul 29, 2022 8:03 am
Forum: ESP-IDF
Topic: esp_bufi_send_custom_data() function not free the memory used
Replies: 1
Views: 1220

Re: esp_bufi_send_custom_data() function not free the memory used

Hello:

I have found the problem. I have been using the https://github.com/wolfeidau/esp32-blufi explample.
And I have found a error at blufi_event_callback(), this function define a nvs_handler, open it, but not close it.
by JAHTKELD
Tue Jul 26, 2022 9:13 am
Forum: ESP-IDF
Topic: esp_bufi_send_custom_data() function not free the memory used
Replies: 1
Views: 1220

esp_bufi_send_custom_data() function not free the memory used

Hello I use the blufi library to configure Wifi on ESP32 and send a 1Mb file to ESP32. For this, the file is sent in blocks of 255 bytes The ESP32 responds for each received block with, esp_bufi_send_custom_data, and the heap decreases. I can't receive the full file because at 91%, the heap memory i...
by JAHTKELD
Mon May 09, 2022 6:47 am
Forum: General Discussion
Topic: Bluetooth discover
Replies: 2
Views: 1959

Re: Bluetooth discover

Hello:

Thanks, but I use the ESP_IDF framework with Vicual Code Studio and Platformio without arduino.

Also I think that is a different question, I think taht me problem is Windows and not the ESP32 framework

Thanks
by JAHTKELD
Thu May 05, 2022 5:29 pm
Forum: General Discussion
Topic: Bluetooth discover
Replies: 2
Views: 1959

Bluetooth discover

Hello: I don´t know if this is the apropiate forum for this question. I'm try to discover ESP32 bluetooth from PC with WIndows 10. I use BLUFI library and I can see the ESP32 BLUFI_DEVICE at Windows bluetooth add device configuration page, but I can´t found any function to make it with a Windows pro...
by JAHTKELD
Sun Jan 23, 2022 9:43 am
Forum: General Discussion
Topic: UART0 for RS485 Hall Duplex, RTS pin not works
Replies: 0
Views: 3297

UART0 for RS485 Hall Duplex, RTS pin not works

Hello: I have write a task for working with a RS485 transceiver with a RTS pin for flow control. I test my task over uart1, and works fine (I have a RS485 transceiver at uart1 and other over uart0) I have disabled all log at uart0 and change form uart1 to uart0 (also change the pin out) but over uar...
by JAHTKELD
Sun Jun 06, 2021 5:31 am
Forum: ESP-IDF
Topic: How UART working?
Replies: 6
Views: 7524

Re: How UART working?

Then this means that the Uart working mode is 1 Data input in to the FIFO buffer 2.Data go from FIFO to Uart buffer when a: the FIFO is full (120 bytes) b: there is not more data after timeout* * this timeout is not the timeout from uart_read_bytes, this is the timeout of one character, for example ...
by JAHTKELD
Sat Jun 05, 2021 8:02 am
Forum: ESP-IDF
Topic: How UART working?
Replies: 6
Views: 7524

Re: How UART working?

120 bytes seems a hardware limit. is it? well first conts int rxBytes = uart_read_bytes(UART_NUM_1, data, RX_BUF_SIZE,40/portTICK_RATE_MS); I read 120 bytes wait 30 ms vTaskDelay(30/portTICK_RATE_MS); in this moment I expect there are 30 new bytes in the FIFO then I do conts int rxBytes = uart_read_...
by JAHTKELD
Sat Jun 05, 2021 7:41 am
Forum: ESP-IDF
Topic: How UART working?
Replies: 6
Views: 7524

Re: How UART working?

Can I change the 120 bytes of FIFO to 250 for example? how?
by JAHTKELD
Sat Jun 05, 2021 7:04 am
Forum: ESP-IDF
Topic: How UART working?
Replies: 6
Views: 7524

How UART working?

Hello: I'm trying to read 189 bytes from UART, but some times I doesnt work well. void init_uart() { const uart_config_t uart_config = { .baud_rate = 9600, .data_bits = UART_DATA_8_BITS, .parity = UART_PARITY_DISABLE, .stop_bits = UART_STOP_BITS_1, .flow_ctrl = UART_HW_FLOWCTRL_DISABLE, .rx_flow_ctr...
by JAHTKELD
Wed Jul 08, 2020 7:09 pm
Forum: ESP-IDF
Topic: Azure prov_dev_client_ll_sample work ESP-IDF 3.2 but not ESP-IDF 4.0
Replies: 0
Views: 1937

Azure prov_dev_client_ll_sample work ESP-IDF 3.2 but not ESP-IDF 4.0

Hi: I'm working with Visual Code Studio and Platformio. With the new ESP-IDF 4.0 i have the error ssl_tls.c:2755: => flush output ssl_tls.c:2774: message length: 926, out_left: 926 ssl_tls.c:2779: ssl->f_send() returned 926 (-0xfffffc62) ssl_tls.c:2807: <= flush output ssl_tls.c:3476: <= write recor...