-->
Page 1 of 1

Problems with SOFTAP mode

PostPosted: Tue Jun 16, 2015 3:29 pm
by giancaos
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.

Re: Problems with SOFTAP mode

PostPosted: Wed Jun 17, 2015 2:10 am
by Sprite_tm
That sounds weird. Have you tried running 'make blankflash' to nuke the ESPs WiFi settings yet?

Re: Problems with SOFTAP mode

PostPosted: Wed Jun 17, 2015 5:57 am
by giancaos
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!!!