Search found 43 matches

by axellin
Sun Feb 09, 2020 4:10 am
Forum: ESP32 IDF
Topic: how to change host name from "espressif" in wifi station mode for esp32
Replies: 2
Views: 230

Re: how to change host name from "espressif" in wifi station mode for esp32

I tried to change the host name which is displayed in the router after esp32 is connected to it in station mode. It is displayed as "espressif" in the router. I used esp_netif_get_hostname(esp_netif_sta_handle, (const char**)temp) and esp_netif_set_hostname(esp_netif_sta_handle, (const char*)sta_na...
by axellin
Wed Feb 05, 2020 3:38 am
Forum: General Discussion
Topic: How to use AT sockets?
Replies: 6
Views: 775

Re: How to use AT sockets?

gunar.kroeger wrote:
Thu Jan 30, 2020 7:02 pm
I made a separate thread about this, but did you get the set_working_mode() to work?
I can successfully switch to command mode by +++, however I always got
"NO CARRIER" if switching back to data mode by ATO.
by axellin
Thu Jan 30, 2020 2:32 am
Forum: General Discussion
Topic: How to use AT sockets?
Replies: 6
Views: 775

Re: How to use AT sockets?

We are still having issues with pppos disconnecting and not reconnecting afterwards,
There are some pull request related to pppos, maybe you can check if it helps.
https://github.com/espressif/esp-idf/pu ... 3Aopen+ppp
by axellin
Tue Jan 28, 2020 3:58 am
Forum: ESP32 IDF
Topic: v4.1-dev https_OTA is not working
Replies: 7
Views: 635

Re: v4.1-dev https_OTA is not working

Hi @ESP_Shubham

It's difficult to trace and collect the patches from the forum.
Can you please commit and push it since you already can reproduce the issue.
I think it's commit 032a04139518 ("Bugfix for failing OTA example") causes the regression.
by axellin
Fri Jan 17, 2020 3:03 am
Forum: ESP32 IDF
Topic: How to decide which network interface a socket is listen on?
Replies: 0
Views: 397

How to decide which network interface a socket is listen on?

Hi, My device is running as an AP (mainly for configuration) and also running pppos to reach internet. I'm wondering when start a tcp server listen on a given port, which interface the socket is listen on? Can I decide which interface to listen on? It does not make sense to listen on the ppp interfa...
by axellin
Tue Jan 07, 2020 7:18 am
Forum: ESP32 IDF
Topic: What is the recommend way to customize lwIP settings using ESP-IDF?
Replies: 2
Views: 205

Re: What is the recommend way to customize lwIP settings using ESP-IDF?

Hi Angus, I think modify the lwip source in IDF is not a good way. I have different applications to build but just some of the applications need to add additional changes of lwIP settings. I think it's better if the build system can take a optional lwipopts.h from application to override the default...
by axellin
Tue Jan 07, 2020 6:34 am
Forum: ESP32 IDF
Topic: What is the recommend way to customize lwIP settings using ESP-IDF?
Replies: 2
Views: 205

What is the recommend way to customize lwIP settings using ESP-IDF?

The idf.py menuconfig does not expose all lwIP settings. I'd like to enable some settings that are not display on menuconfig. e.g. To set LCP_ECHOINTERVAL, LCP_MAXECHOFAILS, etc. I'd prefer to customize the lwipopts.h in my application rather than modify esp-idf directly. But I'm not sure how to do ...
by axellin
Mon Jan 06, 2020 7:52 am
Forum: General Discussion
Topic: How to get and sync time with sntp?
Replies: 3
Views: 323

Re: How to get and sync time with sntp?

So apparently only after wifi is connected the sntp was initialized. I check the code where wifi is started, there is no sntp call. It calls to start azure client, which calls a function to start connection to azure server. I bet that is where sntp got started. I did some digging but the azure stuf...
by axellin
Thu Jan 02, 2020 5:19 am
Forum: ESP32 IDF
Topic: Is there any APIs to get ethernet mac address?
Replies: 1
Views: 138

Is there any APIs to get ethernet mac address?

For WiFi network interface, there is a esp_wifi_get_mac() to get MAC address.
But seems no API to get ethernet mac address?
by axellin
Tue Dec 10, 2019 5:39 am
Forum: ESP32 IDF
Topic: Why not make esp_wifi_set_country take only the cc code?
Replies: 3
Views: 258

Re: Why not make esp_wifi_set_country take only the cc code?

Is there any good reference for the settings of each count code?
i.e. cc/schan/nchan/max_tx_power fields

Go to advanced search