ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By alonewolfx2
#4131 Anyone have same problem ? i am getting this error message when browse every pages. "Httpd init, conn=0x3ffeae58" its ok but what is this. "FindConnData: Huh? Couldn't find connection for 0x3ffeae58
ReconCb"
i am using last espdttpd from git.

Code: Select allr?l`r??o r?l`s
Httpd init, conn=0x3ffeae58

Ready
mode : sta(18:fe:34:9f:0b:0c)
add if0
scandone
add 0
aid 5
pm open phy2,type:2 0 0
cnt

connected with WoLFStationLVL4, channel 7
dhcp client start...
ip:192.168.2.172,mask:255.255.255.0,gw:192.168.2.1
Con req, conn=0x3fff4948, pool slot 0
URL = /
Is url index 0
Conn 0x3fff4948 is done. Closing.
Con req, conn=0x3fff4ac0, pool slot 0
URL = /index.tpl
Is url index 3
Heatshrink compressed file; decode parms = b4
Conn 0x3fff4ac0 is done. Closing.
Con req, conn=0x3fff4e28, pool slot 0
Con req, conn=0x3fff4920, pool slot 1
URL = /style.css
Is url index 11
Heatshrink compressed file; decode parms = b4
URL = /cats/cross-eyed-cat.jpg
Is url index 11
FindConnData: Huh? Couldn't find connection for 0x3ffeae58
ReconCb
Conn 0x3fff4e28 is done. Closing.
FindConnData: Huh? Couldn't find connection for 0x3ffeae58
ReconCb
User avatar
By bkrajendra
#4136
webpages.espfs.zip
ESPHTTPD responsive UI with Tweeter Bootstrap

find attached fs image.
I'll soon post source at github.

need to change few lines in httpd.c file :

Code: Select allstatic const MimeMap mimeTypes[]={
   {"htm", "text/htm"},
   {"html", "text/html"},
   {"css", "text/css"},
   {"js", "text/javascript"},
   {"txt", "text/plain"},
   {"jpg", "image/jpeg"},
   {"jpeg", "image/jpeg"},
   {"png", "image/png"},
   {"ico", "image/x-icon"},
   {NULL, "text/html"}, //default value
};



Note: i've included entire bootstrap js and css in espf. Its always better to load these files from external CDN.
but this will only be possible in Station mode if connected to internet Wifi AP.

enjoy mobile friendly UI...!
You do not have the required permissions to view the files attached to this post.
User avatar
By scargill
#4137 Any chance of zipping the rest here - Windows user - having zero success with the Git link

bkrajendra wrote:
webpages.espfs.zip
ESPHTTPD responsive UI with Tweeter Bootstrap

find attached fs image.
I'll soon post source at github.

need to change few lines in httpd.c file :

Code: Select allstatic const MimeMap mimeTypes[]={
   {"htm", "text/htm"},
   {"html", "text/html"},
   {"css", "text/css"},
   {"js", "text/javascript"},
   {"txt", "text/plain"},
   {"jpg", "image/jpeg"},
   {"jpeg", "image/jpeg"},
   {"png", "image/png"},
   {"ico", "image/x-icon"},
   {NULL, "text/html"}, //default value
};



Note: i've included entire bootstrap js and css in espf. Its always better to load these files from external CDN.
but this will only be possible in Station mode if connected to internet Wifi AP.

enjoy mobile friendly UI...!