Search found 100 matches

by blubb
Sun Jun 10, 2018 11:53 pm
Forum: ESP8266 SDK
Topic: [solved] Network found by wifi_station_scan() but "no Network found, reconnect after 1s"
Replies: 2
Views: 84

Re: Network found by wifi_station_scan() but "no Network found, reconnect after 1s"

Local non-static variables are not initialized, which typically means they contain garbage. struct station_config has more fields than ssid and password. Try stationConfig.bssid_set = 0; Edit: But it is better to zero out the whole thing first- for future compatibility. They added even more fields i...
by blubb
Wed Apr 25, 2018 2:02 am
Forum: ESP8266 SDK
Topic: Suppressing WiFi diagnostic messages
Replies: 2
Views: 148

Re: Suppressing WiFi diagnostic messages

Have you tried this?

system_set_os_print(0);
by blubb
Thu Apr 12, 2018 5:33 pm
Forum: General Q&A
Topic: Which "sleep mode" is best for this purpose?
Replies: 1
Views: 162

Re: Which "sleep mode" is best for this purpose?

If you send every 15 seconds, it is better to keep the wifi connection. How long does it take to reconnect? Try it.

You also need a timer, so modem sleep would be the best solution (the clock is halted in the higher sleep modes).
by blubb
Sun Apr 08, 2018 5:52 pm
Forum: ESP8266 SDK
Topic: system_phy_freq_trace_enable()
Replies: 3
Views: 213

Re: system_phy_freq_trace_enable()

Documentation is very poor on this api.

If it is improved, I'd also like to know what the numbers mean. If enabled, new stuff like this is logged:

f r0, scandone
sta scan trace -19
reconnect
f r-19, scandone
by blubb
Sat Apr 07, 2018 7:07 am
Forum: ESP8266 HDK
Topic: Is there a serial number or unique ID in the chip
Replies: 10
Views: 18738

Re: Is there a serial number or unique ID in the chip

I've had 100+ esp modules on my lab desk and none had a chip id > 0x00FFFFFF, i.e. only 24 bits (3 bytes from the default mac address). For that reason I use (as unique id) the default mac address instead.
by blubb
Sat Jan 13, 2018 8:51 am
Forum: ESP8266 HDK
Topic: FCC problem - Spectrum analyzer shows unwanted transmission when startup
Replies: 12
Views: 1195

Re: FCC problem - Spectrum analyzer shows unwanted transmission when startup

Maybe one more idea:
Did you flash the latest esp_init_data_default.bin?
Recently they changed something, so there is a new version "8":
https://github.com/espressif/ESP8266_NO ... master/bin
by blubb
Fri Jan 12, 2018 10:52 pm
Forum: ESP8266 HDK
Topic: FCC problem - Spectrum analyzer shows unwanted transmission when startup
Replies: 12
Views: 1195

Re: FCC problem - Spectrum analyzer shows unwanted transmission when startup

I recommend opening an issue on github
https://github.com/espressif/ESP8266_NONOS_SDK/issues

Edit:
There are several APIs like
system_phy_set_powerup_option(...);
system_phy_freq_trace_enable(...);
But if the problem occurs before user_rf_pre_init this is a case for a github issue for sure.
by blubb
Fri Jan 12, 2018 6:08 pm
Forum: ESP8266 HDK
Topic: FCC problem - Spectrum analyzer shows unwanted transmission when startup
Replies: 12
Views: 1195

Re: FCC problem - Spectrum analyzer shows unwanted transmission when startup

Do you call this API in user_rf_pre_init or in user_init? I wonder if that makes a difference.

Go to advanced search