Search found 9 matches

by ahmedwahdan
Fri Oct 29, 2021 12:37 pm
Forum: ESP-IDF
Topic: Mbedtls mbedtls_ssl_handshake error with multiple requests
Replies: 0
Views: 1426

Mbedtls mbedtls_ssl_handshake error with multiple requests

Hello,

Simultaneous https requests causes the function mbedtls_ssl_handshake to return an error.

This is the error #define MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE -0x7780

What could be the problem?

Regards,
Ahmed Wahdan
by ahmedwahdan
Thu Oct 28, 2021 3:43 pm
Forum: General Discussion
Topic: Understanding the flash protection in development mode
Replies: 2
Views: 4270

Re: Understanding the flash protection in development mode

Thanks @ESP_Angus for your response. You cleared this point out. I have another question related to Nvs and Nvs encryption. I know that it's needed to have separate partition to hold keys used for encrypting the Nvs itself. My configuration is like that: # Name, Type, SubType, Offset, Size, Flags # ...
by ahmedwahdan
Sun Oct 24, 2021 4:44 pm
Forum: ESP-IDF
Topic: Pass specific configuration file to idf.py
Replies: 0
Views: 1400

Pass specific configuration file to idf.py

Hello,

I have development and release configuration files, how to specify which one to use when calling idf.py?

Thanks!
by ahmedwahdan
Sun Oct 03, 2021 8:59 pm
Forum: ESP-IDF
Topic: How to ensure end to end secure manufacturing
Replies: 0
Views: 1240

How to ensure end to end secure manufacturing

Hello,
I would like to ask about how to ensure end to end product manufacturing. I mean the product will be manufactured and will be delivered to customers on demand.
Product will have to be provisioned with AWS credentials and apple MFI tokens.

Thanks!
by ahmedwahdan
Tue Jul 13, 2021 4:22 am
Forum: ESP-IDF
Topic: ADC1 with high sampling freq. (40K) using DMA
Replies: 0
Views: 1392

ADC1 with high sampling freq. (40K) using DMA

Hi, I'm wondering if it's possible to use ADC1 with high sampling frequency (40K) using DMA not polling or timer? I found I2s with ADC2 does what I need but also it was mentioned I can't use WIFI or Bluetooth with together with ADC2. If it's passible, any code sample using IDF V3.3? Thanks in advanc...
by ahmedwahdan
Thu Apr 15, 2021 4:16 pm
Forum: ESP-IDF
Topic: HTTP performance (response time)
Replies: 0
Views: 1561

HTTP performance (response time)

Hi,

I was using this http server implementation https://github.com/igrr/esp32-http-server.
The http response was 25 ms in avarage.
idf_old_http_server.JPG
idf_old_http_server.JPG (52.05 KiB) Viewed 1561 times
After updating to IDF 4.2 http-server, the resposne avarage became 60ms.
idf4.2.JPG
idf4.2.JPG (50.45 KiB) Viewed 1561 times
Any ideas how minimize the response time?

Thanks!
by ahmedwahdan
Thu Apr 01, 2021 11:52 am
Forum: ESP-IDF
Topic: Issue when updating from old http_server to ESP_IDF v4.2
Replies: 0
Views: 1589

Issue when updating from old http_server to ESP_IDF v4.2

Hello, I have a project that was implemented a while ago. We build the http-server based on this implementation https://github.com/igrr/esp32-http-server. Currently we are moving to ESP_IDF http_server v4.2, the conversion to the new API is OK so far but we have an issue with the CSS. The login page...
by ahmedwahdan
Tue Mar 23, 2021 11:14 pm
Forum: General Discussion
Topic: Understanding the flash protection in development mode
Replies: 2
Views: 4270

Understanding the flash protection in development mode

Hello, I enabled the flash protection with pre-generated key. And this is my config Detecting chip type... ESP32 espefuse.py v3.0 EFUSE_NAME (Block) Description = [Meaningful Value] [Readable/Writeable] (Hex Value) -------------------------------------------------------------------------------------...
by ahmedwahdan
Mon Jan 04, 2021 4:34 pm
Forum: ESP-IDF
Topic: Provisioning Manager WiFi not working
Replies: 3
Views: 7813

Re: Provisioning Manager WiFi not working

Have you managed to complete this task using html and JS?