Search found 71 matches

by filipESP
Fri Mar 29, 2019 11:12 am
Forum: ESP-IDF
Topic: Problem with update esp-idf.
Replies: 17
Views: 16479

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: 21908

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: 16479

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: 4821

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: 4821

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: 4821

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...
by filipESP
Wed Feb 27, 2019 10:02 am
Forum: ESP-IDF
Topic: BLE gatt_client ( do while(0) )
Replies: 6
Views: 7264

Re: BLE gatt_client ( do while(0) )

OK, and what is the difference between use:

Code: Select all

void function() { blah; blah; { int idx; for (idx = 0; idx < PROFILE_NUM; idx++) { blah; } } }
and:

Code: Select all

void function() { int idx; blah; blah; { for (idx = 0; idx < PROFILE_NUM; idx++) { blah; } } }
?
by filipESP
Mon Feb 25, 2019 4:53 pm
Forum: ESP-IDF
Topic: BLE gatt_client ( do while(0) )
Replies: 6
Views: 7264

Re: BLE gatt_client ( do while(0) )

I mean about this code: do { int idx; for (idx = 0; idx < PROFILE_NUM; idx++) { if (gattc_if == ESP_GATT_IF_NONE || /* ESP_GATT_IF_NONE, not specify a certain gatt_if, need to call every profile cb function */ gattc_if == gl_profile_tab[idx].gattc_if) { if (gl_profile_tab[idx].gattc_cb) { gl_profile...
by filipESP
Thu Feb 21, 2019 12:28 pm
Forum: ESP-IDF
Topic: RSSI level from AP connected to the ESP station.
Replies: 3
Views: 5196

Re: RSSI level from AP connected to the ESP station.

It is already working. :)
by filipESP
Thu Feb 21, 2019 8:49 am
Forum: ESP-IDF
Topic: RSSI level from AP connected to the ESP station.
Replies: 3
Views: 5196

RSSI level from AP connected to the ESP station.

I try to get RSSI level using esp_wifi_sta_get_ap_info( wifi_ap_record_t *ap_info ) function. I read the RSSI level like this:
1. create wifi_ap_record_t ap_info variable
2.call esp_wifi_sta_get_ap_info()
3. read value, uint8_t tx_power = ap_info->rssi;
The tx_power variable is 0 all time.