Search found 171 matches

by Baldhead
Wed Nov 04, 2020 2:56 am
Forum: ESP-IDF
Topic: Basic authentication with the ESP-IDF HTTPS-Server
Replies: 4
Views: 421

Re: Basic authentication with the ESP-IDF HTTPS-Server

No espressif answer/suggestion yet :(
by Baldhead
Mon Oct 12, 2020 3:42 am
Forum: ESP-IDF
Topic: Basic authentication with the ESP-IDF HTTPS-Server
Replies: 4
Views: 421

Re: Basic authentication with the ESP-IDF HTTPS-Server

Hi,

I have the same requisite, but for a local network.
by Baldhead
Thu Sep 24, 2020 2:32 am
Forum: ESP-IDF
Topic: How to get "esp_netif_t *esp_netif" ???
Replies: 5
Views: 550

Re: How to get "esp_netif_t *esp_netif" ???

Hi again, I would like to know how i can integrate the above "my_wifi.c" file with my https/wss server ? Project structure(sort of looks like this): project root folder/ main/ - main.c components/ communication/ my_wifi/ - my_wifi.c my_ws_server/ - webSocket_server.c In this code below, wifi and htt...
by Baldhead
Thu Sep 24, 2020 2:15 am
Forum: ESP-IDF
Topic: How to get "esp_netif_t *esp_netif" ???
Replies: 5
Views: 550

Re: How to get "esp_netif_t *esp_netif" ???

Hi, Now are partially working. I dont know why, in first call, the function "esp_netif_get_hostname()" not work, but after i set the name with "esp_netif_set_hostname" the function "esp_netif_get_hostname()" work. const char* old_hostname; ret = esp_netif_get_hostname( netif, &old_hostname ); printf...
by Baldhead
Wed Sep 23, 2020 5:12 pm
Forum: ESP-IDF
Topic: How to get "esp_netif_t *esp_netif" ???
Replies: 5
Views: 550

Re: How to get "esp_netif_t *esp_netif" ???

Thank's @boarchuz,

Someone could tell me if the hostname is write in the flash memory ?

How to pass a pointer to pointer argument to this function "esp_netif_get_hostname( )" ???

Function prototype: "esp_err_t esp_netif_get_hostname(esp_netif_t *esp_netif, const char **hostname)"
by Baldhead
Wed Sep 23, 2020 5:01 am
Forum: ESP-IDF
Topic: How to get "esp_netif_t *esp_netif" ???
Replies: 5
Views: 550

Re: How to get "esp_netif_t *esp_netif" ???

any suggestion will be well appreciated.

Thank's.
by Baldhead
Tue Sep 22, 2020 4:18 am
Forum: ESP-IDF
Topic: How to get "esp_netif_t *esp_netif" ???
Replies: 5
Views: 550

How to get "esp_netif_t *esp_netif" ???

Hi, I am trying to make this: "https://www.esp32.com/viewtopic.php?p=65487#p65487" I want to generate a server hostname with the mac address. When the function "void set_unique_hostname()" must be called ? void init_my_server() { ESP_ERROR_CHECK(nvs_flash_init()); ESP_ERROR_CHECK(esp_netif_init()); ...
by Baldhead
Mon Sep 21, 2020 11:29 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 392
Views: 197155

Re: What would you like to see in The Next Chip?

I agree with @pataga
by Baldhead
Mon Sep 21, 2020 11:25 pm
Forum: General Discussion
Topic: SoftAp with Domain Name
Replies: 5
Views: 5158

Re: SoftAp with Domain Name

Hi, "Is your goal to have your ESP32 addressible over the "Internet" or have it resolved locally (for example just in your house or office) ?" A: In my case i want in boths. I am really lost at the moment. What i want to do ? A: I want to have several websockets secure server running in a local area...
by Baldhead
Tue Sep 15, 2020 4:48 pm
Forum: ESP-IDF
Topic: Correct Way To Close a Websocket Socket
Replies: 4
Views: 516

Re: Correct Way To Close a Websocket Socket

Thank's.

But wss are client or server ?

I did a simple keep alive in my websocket server.

Apparently it's working now.

I can post the code to be included in esp-idf if you have interest.

Go to advanced search