Re: Introducing esp-httpd: webserver on an ESP8266.
Posted: Sat Nov 29, 2014 6:51 am
i have same issue. i flash binaries in your zipfile and i use old webpages.espfs. module connect my network and i try and i am getting http 400 bad request
Code: Select all
SDK version:0.9.3
mode : sta(18:fe:34:9f:0b:0c)
add if0
scandone
add 0
aid 6
pm open phy2,type:2 0 0
cnt
We have a GET request.
webserver's 192.168.2.69:59506 disconnect
We have a GET request.
webserver's 192.168.2.69:59531 disconnect
We have a GET request.
webserver's 192.168.2.69:59675 disconnect
scargill wrote:Hmm.. That didn't work.
I got your binaries and ran them - used my last know address for the board and "not found" appeared. CLEARLY this was the board talking..
Then I remembered you needed web pages - which were not in your ZIP file.. so I went off and grabbed WEBPAGS.ESPFS
And l noticed this for the addresses and blew all 3.
$ESPTOOL --port $ESPPORT write_flash 0x00000 0x00000.bin
sleep 3
$ESPTOOL --port $ESPPORT write_flash 0x40000 0x40000.bin
sleep 3
$ESPTOOL --port $ESPPORT write_flash 0x12000 webpages.espfs
And... not working and I can see from the little light on the ESP-01 that the thing is sitting in a permanent loop as the blue light appears once a second.
Am I using wrong webpages.espfs or wrong address for it?