Issue resolved.
I didn't declare buffer for IV vector as static and the buffer was clearing every time when I received new package of data.
Search found 71 matches
- Wed Jun 01, 2022 8:50 pm
- Forum: ESP-IDF
- Topic: OTA update - Checksum failed. Calculated 0x2b read 0x71
- Replies: 2
- Views: 2132
- Wed Jun 01, 2022 10:28 am
- Forum: ESP-IDF
- Topic: OTA update - Checksum failed. Calculated 0x2b read 0x71
- Replies: 2
- Views: 2132
Re: OTA update - Checksum failed. Calculated 0x2b read 0x71
I try to read OTA partition by esptool:
and I compare with original binary file - size is the same but files are different in 16 B every 1024 B, starting at 1008 Byte.python esptool.py -p COM2 -b 460800 read_flash 0x00410000 0x00400000 out.bin
- Tue May 31, 2022 3:19 pm
- Forum: ESP-IDF
- Topic: OTA update - Checksum failed. Calculated 0x2b read 0x71
- Replies: 2
- Views: 2132
OTA update - Checksum failed. Calculated 0x2b read 0x71
Hi, My OTA image is encrypted by AES 128 and it'is the same bin file what it's running. Partitions table is: # Name, Type, SubType, Offset, Size, Flags # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap nvs, data, nvs, 0x9000, 0x4000, otadata, data, o...
- Tue Aug 17, 2021 2:05 pm
- Forum: ESP-IDF
- Topic: UART - ring buffer full, uart_flush_input(uart_port_t uart_num) doesn't clear buffer
- Replies: 2
- Views: 4263
Re: UART - ring buffer full, uart_flush_input(uart_port_t uart_num) doesn't clear buffer
Still no suggestions?
- Tue Aug 03, 2021 9:01 am
- Forum: ESP-IDF
- Topic: UART - ring buffer full, uart_flush_input(uart_port_t uart_num) doesn't clear buffer
- Replies: 2
- Views: 4263
UART - ring buffer full, uart_flush_input(uart_port_t uart_num) doesn't clear buffer
I use idf v4.4-dev. When I transmit to esp lot of data with high frequency the event UART_BUFFER_FULL appears but uart_flush_input() doesn't clear buffer but returns ESP_OK status. Next event is UART_FIFO_OVF and it apears continously when data is receive. This is my while loop in uart task: while(1...
- Mon Jul 05, 2021 1:36 pm
- Forum: ESP-IDF
- Topic: Wifi is restarting without the reason.
- Replies: 0
- Views: 1365
Wifi is restarting without the reason.
I have a project, which connects to wifi and sends from time to time data to server. Sometimes esp log this info: I (54056579) wifi:state: run -> init (ce00) I (54056579) wifi:pm stop, total sleep time: 0 us / 909284818 us but I can't guess why it occurs. I try to use esp_wifi_set_ps( WIFI_PS_NONE )...
- Fri Dec 11, 2020 10:39 pm
- Forum: ESP-IDF
- Topic: WiFi AP web page.
- Replies: 6
- Views: 5424
Re: WiFi AP web page.
I tested the Arduino example from:
https://github.com/espressif/arduino-es ... Portal.ino
and it is working perfectly.
How to start the DNS server in C, like in this arduino code?
https://github.com/espressif/arduino-es ... Portal.ino
and it is working perfectly.
How to start the DNS server in C, like in this arduino code?
- Thu Dec 10, 2020 2:00 pm
- Forum: ESP-IDF
- Topic: WiFi AP web page.
- Replies: 6
- Views: 5424
Re: WiFi AP web page.
Also trying to send HTTP/1.1 302 Found Location: 192.168.1.2\r\n
What I need to do to see 'sign to wifi network' popup on my smartphone?
What I need to do to see 'sign to wifi network' popup on my smartphone?
- Wed Dec 09, 2020 9:38 pm
- Forum: ESP-IDF
- Topic: WiFi AP web page.
- Replies: 6
- Views: 5424
Re: WiFi AP web page.
I also put this code after wifi AP init
Results is still the same. :/
Code: Select all
ip_addr_t dns_addr;
IP_ADDR4(&dns_addr, 192,168,1,2);
dns_setserver(0, &dns_addr);
dns_init();
xTaskCreate(&http_server, "http_server", 2048, NULL, 5, NULL);
- Wed Dec 09, 2020 2:31 pm
- Forum: ESP-IDF
- Topic: WiFi AP web page.
- Replies: 6
- Views: 5424
Re: WiFi AP web page.
I tested this https://github.com/cornelis-61/esp32_Captdns example, but it is not working such as I want.
DNS packets are sendings to server but, server don't force opening the captive page :/
DNS packets are sendings to server but, server don't force opening the captive page :/