Search found 11 matches

by sarapatel
Fri May 01, 2020 11:32 am
Forum: General Discussion
Topic: OTA Example not running as described
Replies: 2
Views: 5918

Re: OTA Example not running as described

I too have the same issue when performing OTA please guide what to do further?
by sarapatel
Fri May 01, 2020 11:18 am
Forum: General Discussion
Topic: OTA Update with HTTPS problem.
Replies: 7
Views: 13492

Re: OTA Update with HTTPS problem.

Hi, I am getting the following error : simple_ota_example: Starting OTA example E (34447) esp-tls: Failed to connnect to host (errno 113) E (34447) esp-tls: Failed to open new connection E (34447) TRANS_SSL: Failed to open a new connection E (34447) HTTP_CLIENT: Connection failed, sock < 0 E (34457)...
by sarapatel
Fri May 01, 2020 7:33 am
Forum: General Discussion
Topic: OTA Update with HTTPS problem.
Replies: 7
Views: 13492

Re: OTA Update with HTTPS problem.

Hi can anyone please help me with how should I test the existing OTA example via HTTPS? I tried to use the command " openssl req -x509 -newkey rsa:2048 -keyout ca_key.pem -out ca_cert.pem -days 365 -nodes" its saying 'openssl' is not recognized as an internal or external command,operable program or ...
by sarapatel
Mon Mar 23, 2020 11:23 am
Forum: ESP-IDF
Topic: Any similar Librarys like IRremote in ESP IDF interface
Replies: 6
Views: 10177

Re: Any similar Librarys like IRremote in ESP IDF interface

Hello, I tried using the default RMT example(ir_protocol) given in ESP-IDF examples . I tried with NEC protocol but the ir _tx I am sending using the default example I am not able to operate any of the NEC devices.Please guide me and also share if u have any similar example where in I can send and r...
by sarapatel
Fri Feb 21, 2020 6:44 am
Forum: ESP-IDF
Topic: Adding .cpp and its header file with a project in C
Replies: 0
Views: 2013

Adding .cpp and its header file with a project in C

Hello, I want to add a .cpp lib to my c project in esp32 esp-idf environment. So initally I started with adding a single .cpp and its header file with my c project but I am getting unknown name class error and also added component_compile_options(-std=c++14) to my CMakeList.txt file. I have reffered...
by sarapatel
Thu Feb 20, 2020 11:21 am
Forum: ESP-IDF
Topic: Accessing the Flash on SPI0 of esp32 -wroom-32
Replies: 8
Views: 7707

Re: Accessing the Flash on SPI0 of esp32 -wroom-32

I meant if I have a block of data say 512 bytes and I need to store 128 bytes at consecutive address location so for that in the for loop how will I get my next address to write?
by sarapatel
Thu Feb 20, 2020 4:58 am
Forum: ESP-IDF
Topic: Accessing the Flash on SPI0 of esp32 -wroom-32
Replies: 8
Views: 7707

Re: Accessing the Flash on SPI0 of esp32 -wroom-32

Thanks. I got my code tested using the partition example you suggested. Now if suppose I need to store data in flah for different tasks so every time in order to write data at a location do I need to do write "esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_ANY, "storage"); "...
by sarapatel
Wed Feb 19, 2020 11:28 am
Forum: ESP-IDF
Topic: Accessing the Flash on SPI0 of esp32 -wroom-32
Replies: 8
Views: 7707

Re: Accessing the Flash on SPI0 of esp32 -wroom-32

My second question is what will be the user memory available in the external flash which is interfaced with SPI0(internally).
by sarapatel
Wed Feb 19, 2020 9:17 am
Forum: ESP-IDF
Topic: Accessing the Flash on SPI0 of esp32 -wroom-32
Replies: 8
Views: 7707

Re: Accessing the Flash on SPI0 of esp32 -wroom-32

Ok. Thanks will try out and will get back with the status.
by sarapatel
Wed Feb 19, 2020 7:12 am
Forum: ESP-IDF
Topic: Accessing the Flash on SPI0 of esp32 -wroom-32
Replies: 8
Views: 7707

Re: Accessing the Flash on SPI0 of esp32 -wroom-32

Thank you for your quick response, but I have gone through those API's mentioned in the doc but there is no such api for initializing SPI0 flash as it is the default flash that can be accessed. Lets say for example if I use " esp_err_tspi_bus_add_flash_device(esp_flash_t **out_chip, constesp_flash_s...