Search found 111 matches

by blubb
Sat Oct 07, 2017 7:51 pm
Forum: ESP8266 SDK
Topic: Invalid command in system_get_os_print
Replies: 3
Views: 1455

Invalid command in system_get_os_print

Hi, sometimes I observe a strange fatal exception. I cannot reproduce it consistently, but if it happens, it happens on the restart after an OTA upgrade. On system start I do this: struct rst_info *rst_info = system_get_rst_info(); os_printf("reason=%d exccause=%d epc1=0x%X epc2=0x%X epc3=0x%X ...
by blubb
Wed Sep 27, 2017 1:49 am
Forum: ESP8266 SDK
Topic: nonos SDK printf to string
Replies: 1
Views: 1313

Re: nonos SDK printf to string

os_sprintf
by blubb
Fri Sep 08, 2017 7:50 pm
Forum: ESP8266 SDK
Topic: Debugging DHCP
Replies: 1
Views: 1493

Debugging DHCP

Hi, I've got a new router from my ISP. After installing it I noticed I can no longer access my ESP modules by hostname. It worked great with my old router. Also ALL OTHER DEVICES (several Windows and Linux machines and Android devices) are still accessible (pingable) by their hostnames on the new ro...
by blubb
Tue Sep 05, 2017 11:27 pm
Forum: ESP8266 SDK
Topic: Light sleep and timers
Replies: 6
Views: 3905

Re: Light sleep and timers

So it could be done if there was a way to configure the RTC wakeup timer using a simple api function.
by blubb
Tue Aug 08, 2017 4:27 pm
Forum: ESP8266 SDK
Topic: Light sleep and timers
Replies: 6
Views: 3905

Re: Light sleep and timers

If you have ESP in station mode and server is enabled, then enable auto light-sleep This is exactly my case. But the timers get unreliable since the wake ups from light sleep depend on the signals from my wifi router. Sometimes nothing is received and the timers oversleep. This is why I am using mo...
by blubb
Mon Jul 24, 2017 8:14 pm
Forum: ESP8266 SDK
Topic: Light sleep and timers
Replies: 6
Views: 3905

Re: Light sleep and timers

I have a web server running on the ESP. Also there is a timer (using os_timer_arm) which occurs every minute. There is not much to be done during that minute (usually). So using MODEM sleep works. The web server is accessible all the time and also the timer callback is precisely called. But in my op...
by blubb
Thu Jul 20, 2017 11:28 pm
Forum: ESP8266 SDK
Topic: Light sleep and timers
Replies: 6
Views: 3905

Light sleep and timers

I found out that the automatic (not forced) light sleep (i.e. wifi_set_sleep_type) cannot be used with the os timers (os_timer_arm etc.). The timers become very unreliable. That is because CPU and clock is halted, right? Now I wonder how the forced sleep functions work. I mean it is possible to set ...
by blubb
Tue Jun 27, 2017 10:47 pm
Forum: ESP8266 SDK
Topic: espconn_mdns_init with SOFTAP IP
Replies: 5
Views: 3273

Re: espconn_mdns_init with SOFTAP IP

I wonder if there is an official example on how to use mdns with softap.
Espressif?
by blubb
Thu Jun 22, 2017 4:21 pm
Forum: ESP8266 SDK
Topic: espconn_mdns_init with SOFTAP IP
Replies: 5
Views: 3273

Re: espconn_mdns_init with SOFTAP IP

Yes, in user_init() I call

wifi_set_opmode(STATIONAP_MODE);
wifi_set_broadcast_if(STATIONAP_MODE);
by blubb
Wed Jun 21, 2017 7:34 pm
Forum: ESP8266 SDK
Topic: espconn_mdns_init with SOFTAP IP
Replies: 5
Views: 3273

Re: espconn_mdns_init with SOFTAP IP

Hi, does this work for everyone but me or does no one use this feature?

Go to advanced search