Search found 17 matches

by Lagunax
Thu Feb 22, 2024 6:00 pm
Forum: ESP-IDF
Topic: make idf build offline
Replies: 1
Views: 277

make idf build offline

For now i have lost any internet connection on my pc. mobile network is so slow that it drops connections too often. so online build not possible. and i do not know how long this will be. how can i download al components and setup them to build offline? why espressif did not made offline build? this...
by Lagunax
Sun Jan 14, 2024 3:46 pm
Forum: ESP-IDF
Topic: set description for interface pointer
Replies: 1
Views: 18553

set description for interface pointer

hi. defining wifi interface with default functions. i have pointer to interface. but how can i set description in this case? issue code: esp_netif_t *ap_netif; .... ap_netif = esp_netif_create_default_wifi_ap(); ap_netif->if_desc = "wlan"; // <- here i have error : "invalid use of incomplete type 'e...
by Lagunax
Sat Dec 16, 2023 2:37 pm
Forum: ESP32 Arduino
Topic: __digitalWrite(): Pin is not set as GPIO.
Replies: 1
Views: 15453

Re: __digitalWrite(): Pin is not set as GPIO.

found myself.

in old arduino-esp was able to write before set mode, now need set pin mode before any write.
now initializing looking this way:

Code: Select all

pinMode(TFT_CS, OUTPUT);
digitalWrite(TFT_CS, HIGH); // Chip select high (inactive)
going now to find why my screen still not work after migrating...
by Lagunax
Sat Dec 16, 2023 2:03 pm
Forum: ESP32 Arduino
Topic: __digitalWrite(): Pin is not set as GPIO.
Replies: 1
Views: 15453

__digitalWrite(): Pin is not set as GPIO.

hi all. moving project from old esp-idf3.*.* with old arduino-esp to latest one (esp-idf 5.1.2, latest arduino-esp). project build on device TTGO-T-Display, with old arduino-esp all works well, but when i build project under latest one, then i got errors on boot and can't get screen to work: I (604)...
by Lagunax
Wed Dec 13, 2023 4:23 pm
Forum: ESP-IDF
Topic: resolve mac into ip
Replies: 1
Views: 15053

Re: resolve mac into ip [closed]

answering myself.... found it:

Code: Select all

#include <esp_wifi_ap_get_sta_list.h>

....
esp_err_t esp_wifi_ap_get_sta_list_with_ip(const wifi_sta_list_t *wifi_sta_list, wifi_sta_mac_ip_list_t *wifi_sta_ip_mac_list);
by Lagunax
Sun Dec 10, 2023 3:18 pm
Forum: ESP-IDF
Topic: resolve mac into ip
Replies: 1
Views: 15053

resolve mac into ip

Hi all!
in old versions of idf there was function tcpip_adapter_get_sta_list that returns list of IPs of connected stations.
How can i get this list, or resolve from macs (gotten by esp_wifi_ap_get_sta_list) in latest idf (5.*.*) with esp-netif or other?
by Lagunax
Wed Jul 26, 2023 7:00 pm
Forum: ESP-IDF
Topic: ESP32S3 WiFi memory overwrite
Replies: 8
Views: 2232

Re: ESP32S3 WiFi memory overwrite

Yes its a global pointer, which is used for a graphical menu handler. Therefore, it contains multiple information like, number of lines, prev./next menu, label pointers, etc. To attach the whole code wouldn't make sense. But, this pointer is only changed on a event such as a button press. To make s...
by Lagunax
Wed May 11, 2022 8:03 pm
Forum: IDEs for ESP-IDF
Topic: Unresolved symbols in Eclipse IDE
Replies: 1
Views: 2401

Re: Unresolved symbols in Eclipse IDE

im jast setting
// @suppress("Field cannot be resolved")
in end of every line with this warning. It overloads code a little bit, but suppress warning message
by Lagunax
Thu May 05, 2022 8:55 pm
Forum: ESP-IDF
Topic: WiFi connection can't find AP
Replies: 3
Views: 3118

Re: WiFi connection can't find AP

need to remove 'esp_wifi_sta_wpa2_ent_enable();' - it activates enterprise and removes PSK auth AP from scan results
by Lagunax
Thu May 05, 2022 8:09 pm
Forum: ESP-IDF
Topic: WiFi connection can't find AP
Replies: 3
Views: 3118

Re: WiFi connection can't find AP

verbose log V (3316) wifi:ht20 freq=2412, chan=1 D (3316) wifi:filter: set rx policy=0 I (3316) wifi:mode : sta (a4:cf:12:5e:94:7c) I (3326) wifi:enable tsf D (3326) wifi:filter: set rx policy=1 D (3326) wifi:connect status 0 -> 0 D (3326) event: running post WIFI_EVENT:2 with handler 0x400fed30 and...