Search found 65 matches

by filipESP
Thu May 09, 2019 3:21 pm
Forum: ESP-IDF
Topic: How to change separator in response from http_server
Replies: 7
Views: 2652

How to change separator in response from http_server

My problem concerns post_handler(httpd_req_t *req) function in the http_serwer example.
The response which gets back from my phone to ESP eg. looks like this: var1=aaa&var2=bbb
So, how to change the separator '&' in this response?
I was looking for any info in httpd_txrx.c but I didn't find it.
by filipESP
Thu Apr 18, 2019 7:42 am
Forum: ESP-IDF
Topic: First flashing ESP32 WROOM by J-LInk.
Replies: 0
Views: 733

First flashing ESP32 WROOM by J-LInk.

When I try to flash the 'empty' ESP module by J - Link, it looks like the J-link doesn't discovers the ESP32. In case of flashing by UART everything is correct and after this I already can flash module by J-Link. I use the script below: #!/usr/bin/bash OCD_DIR=$OCD_PATH GOTO_DIR=~/esp/EXAMPLE/build ...
by filipESP
Fri Mar 29, 2019 3:53 pm
Forum: ESP-IDF
Topic: Generate self-signed certificate and key in OTA.
Replies: 7
Views: 4067

Generate self-signed certificate and key in OTA.

I can't generate the certificate for simple_ota_example. The msys2 printed this info: Filip@DESKTOP-39581H3 MINGW32 /home/filip/esp/esp-idf/examples/get-started/hello_world/build $ openssl req -x509 -newkey rsa:2048 -keyout ca_key.pem -out ca_cert.pem -days 365 Can't load C:\msys32\home\Filip/.rnd i...
by filipESP
Fri Mar 29, 2019 2:22 pm
Forum: ESP-IDF
Topic: Problem with update esp-idf.
Replies: 17
Views: 5018

Re: Problem with update esp-idf.

It's working. Thank you.
by filipESP
Fri Mar 29, 2019 11:12 am
Forum: ESP-IDF
Topic: Problem with update esp-idf.
Replies: 17
Views: 5018

Re: Problem with update esp-idf.

I downloaded new version of msys32 and toolchain and next I run command: python -m pip install --user -r $IDF_PATH/requirements.txt It done successfully but when I try to build old version of project I get this message: /bin/sh: esp32ulp-elf-as: command not found Building ULP app ulp_main ULP assemb...
by filipESP
Fri Mar 29, 2019 8:23 am
Forum: ESP-IDF
Topic: Unable to install PIP future or cryptography on msys32 for windows
Replies: 8
Views: 11987

Re: Unable to install PIP future or cryptography on msys32 for windows

I have similar problem but the commands above don't resolve it.
Here is my topic: https://www.esp32.com/viewtopic.php?f=13&t=9893
by filipESP
Thu Mar 28, 2019 1:26 pm
Forum: ESP-IDF
Topic: Problem with update esp-idf.
Replies: 17
Views: 5018

Problem with update esp-idf.

I cloned new version of ESP_IDF, but I can not build any project. In eclipse error is like this: esp-idf/tools/check_python_dependencies.py The following Python requirements are not satisfied: cryptography>=2.1.4 pyparsing>=2.0.3 Please refer to the Get Started section of the ESP-IDF Programming Gui...
by filipESP
Wed Mar 27, 2019 4:32 pm
Forum: ESP-IDF
Topic: Update OTA example.
Replies: 4
Views: 2128

Re: Update OTA example.

I found info about esp_efuse_check_secure_version(new_app_info.secure_version) function but I don't know, where this function is included.
by filipESP
Wed Mar 27, 2019 11:44 am
Forum: ESP-IDF
Topic: Update OTA example.
Replies: 4
Views: 2128

Re: Update OTA example.

I resolved it already, but I have a question. How to recognise if the .bin file is newer than previously?
I want to update the app only when will apear the new version of it.
And second Q is where i can find SimpleHTTPSerwer file ( I mean about explorer ).
by filipESP
Tue Mar 26, 2019 1:32 pm
Forum: ESP-IDF
Topic: Update OTA example.
Replies: 4
Views: 2128

Update OTA example.

Hello, I try to test OTA example, using the Ethernet instead WiFi and I get this error: I (10124) ota: Starting OTA example... E (10124) esp_ota_ops: ota data invalid, no current app. Assuming factory I (10124) ota: Running partition type 0 subtype 0 (offset 0x00010000) Guru Meditation Error: Core 1...

Go to advanced search