Search found 61 matches

by dizcza
Mon Mar 03, 2025 6:52 pm
Forum: ESP-IDF
Topic: Example of a TCP socket with SSL?
Replies: 4
Views: 4058

Re: Example of a TCP socket with SSL?

I'm returning to the same question in two years. At first, I thought what a smart guy asked the thing - I'm surprised it was me.

The link posted by MicroController does not mention any TCP.

Has anyone succeeded?
by dizcza
Thu Feb 27, 2025 9:08 am
Forum: ESP-IDF
Topic: Failed to disable ROM download mode
Replies: 3
Views: 1528

Re: Failed to disable ROM download mode

Thanks for the clarification, ESP_Mahavir.

I hope your next esp-idf release will mind the ESP32 V3 revision and call the esp_efuse_disable_rom_download_mode before write-protecting FLASH_CRYPT_CNT.

Either way, I find keeping the source code in the development mode (both flash encryption and ...
by dizcza
Sat Feb 22, 2025 6:29 pm
Forum: ESP-IDF
Topic: Failed to disable ROM download mode
Replies: 3
Views: 1528

Re: Failed to disable ROM download mode

All right, I managed to manually burn the relevant eFuses. Here is what I did. Firstly, I enable Secure Boot V2 and Flash Encryption Development mode. Then


idf.py erase-flash -p $PORT
idf.py bootloader
esptool.py --chip esp32 --port=$PORT --before=default_reset --after=no_reset write_flash ...
by dizcza
Sat Feb 22, 2025 4:19 pm
Forum: ESP-IDF
Topic: Failed to disable ROM download mode
Replies: 3
Views: 1528

Failed to disable ROM download mode


I enabled Secure Boot v2 and Flash Encryption in development mode.
I ran idf.py bootloader-flash and then idf.py flash only once. Confirmed it works with monitor.
I reconfigured the app to Flash Encryption Release mode, uploaded it to the server and did OTA upgrade to upgrade the app Flash ...
by dizcza
Thu Feb 20, 2025 4:56 pm
Forum: ESP-IDF
Topic: Arduino as a component adds lots of unnecessary dependencies
Replies: 0
Views: 683

Arduino as a component adds lots of unnecessary dependencies


Create a new project
idf.py add-dependency "espressif/arduino-esp32^3.0.7"


Look at dependencies.lock:


dependencies:
chmorgan/esp-libhelix-mp3:
component_hash: cbb76089dc2c5749f7b470e2e70aedc44c9da519e04eb9a67d4c7ec275229e53
dependencies:
- name: idf
require: private
version: '>=4.1.0 ...
by dizcza
Sat Nov 02, 2024 6:23 pm
Forum: ESP-IDF
Topic: Help in Decoding Wifi W (223029) wifi:[ADDBA]rx delba, code:37, delete tid:0
Replies: 3
Views: 6822

Re: Help in Decoding Wifi W (223029) wifi:[ADDBA]rx delba, code:37, delete tid:0


This is the A-MPDU related feature introduced into Wi-Fi since Wi-Fi4.
W (223029) wifi:[ADDBA]rx delba, code:37, delete tid:0


Can you give a link to all A-MPDU related codes? I'm getting

W (12755) wifi:[ADDBA]rx delba, code:1, delete tid:0

for the first time I connect esp_http_client_handle ...
by dizcza
Sun Jan 21, 2024 9:05 am
Forum: Hardware
Topic: ADS1256 with ESP32 idf
Replies: 3
Views: 10344

Re: ADS1256 with ESP32 idf

Hi e2738729, can you please share your final code?
I'm also searching for ADS1256 ESP-IDF and found no solutions.
Thanks.
by dizcza
Tue Jun 06, 2023 7:19 pm
Forum: ESP-IDF
Topic: Example of a TCP socket with SSL?
Replies: 4
Views: 4058

Example of a TCP socket with SSL?

I already have a TCP client running on an ESP32 but I'd like to make it secure with SSL.

I found something similar for Arduino: https://github.com/khoih-prog/AsyncTCP_SSL. But, firstly, it's on Arduino and, secondly, the project is no longer maintained.

On the documentation page of ESP-IDF, I ...
by dizcza
Fri May 26, 2023 7:57 am
Forum: ESP-IDF
Topic: WiFi APSTA keeps disconnecting clients
Replies: 2
Views: 2209

Re: WiFi APSTA keeps disconnecting clients


I don't see your code starting the timer anywhere.

Also, could this be part of the issue:
if (event_base == WIFI_EVENT
&& event_id == WIFI_EVENT_STA_DISCONNECTED) {
wifi_apsta_reconnect(NULL);

?


WRONG:

The timer is obsolete, sorry, I should have removed it.
And yes, this function block ...
by dizcza
Thu May 25, 2023 6:31 pm
Forum: ESP-IDF
Topic: WiFi APSTA keeps disconnecting clients
Replies: 2
Views: 2209

WiFi APSTA keeps disconnecting clients

If a wifi STA connection fails, I start WIFI_APSTA wifi to provision clients that changed their home wifi SSID and therefore the ESP board is unable to connect.


#define WIFI_RECONNECT_TIMEOUT_S 30


static const char *TAG = "wifi_apsta";

static esp_timer_handle_t m_timer_reconnect;
static bool m ...

Go to advanced search