Search found 2 matches

by some esp dev guy
Sun Sep 01, 2024 3:12 pm
Forum: ESP-IDF
Topic: change the name of the device in STA mode
Replies: 8
Views: 16029

Re: change the name of the device in STA mode

after

Code: Select all

esp_netif_init();
esp_netif_t *sta_netif = esp_netif_create_default_wifi_sta();
you can change hostname

Code: Select all

esp_netif_set_hostname(sta_netif, "my tiny daemon");
by some esp dev guy
Wed Aug 21, 2024 12:19 pm
Forum: General Discussion
Topic: ESP32-C6 deep_sleep and external wakeup + interrupt
Replies: 1
Views: 966

Re: ESP32-C6 deep_sleep and external wakeup + interrupt

the esp_sleep_enable_ext1_wakeup function takes pin mask not the pin no as argument so value 4 corresponds to pin no 2 (2^2). Triggering the event by multiple touching could be caused by accidentally touching the neighbouring pins.