ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By giancaos
#20618 Hi,

I'm using the esphttpd project, if I add the wifi SOFTAP config mode before the "httpdInit(builtInUrls, 80)" function, so I have a problem.
The SSID is created, from my pc I can login, the dcp server give me a IP ADDRESS (192.168.4.101), the ESP8266 module is 192.168.4.1 but the port 80 is not open.
Anyway if I config the wifi in STATIONAP mode I can see the webserver and http pages, but in this case, of course, I must use the wifi in my office.
User avatar
By giancaos
#20680
Sprite_tm wrote:That sounds weird. Have you tried running 'make blankflash' to nuke the ESPs WiFi settings yet?


Thank you, Now It works.

I downloaded from this page https://github.com/OLIMEX/ESP8266/tree/master/esphttpd the project but in the Makefile not have the blankflash option, so now I have add:

blankflash:
$(vecho) "BlankFlash!!"
$(vecho) "Reset settings"
$(vecho) "0x7E000: blank.bin"
$(vecho) "0x7C000 esp_init_data_default.bin"
-$(ESPTOOL) --port $(ESPPORT) write_flash 0x7c000 $(SDK_BASE)/bin/esp_init_data_default.bin 0x7e000 $(SDK_BASE)/bin/blank.bin

After this patch the software is working fine.

Thank you more, I lost some hours for this problem!!!