httpServer Library with Ethernet
Dependents: Simple_HTTP_JSON HTTPWebServer-WIZwiki-W7500 HTTPWebServer-WIZwiki-W750023 WIZ750SR_test
Fork of httpServer by
Diff: Handler/FsHandler.cpp
- Revision:
- 4:2903435e3811
- Parent:
- 2:dd293a10a772
diff -r 87bec0b34de7 -r 2903435e3811 Handler/FsHandler.cpp --- a/Handler/FsHandler.cpp Mon Nov 16 23:55:29 2015 +0000 +++ b/Handler/FsHandler.cpp Fri Feb 12 07:39:47 2016 +0000 @@ -72,8 +72,8 @@ if( std::string::npos != msg.uri.find("get_netinfo.cgi") ) { char buf[256]; - - sprintf(buf, "NetinfoCallback({\"mac\":\"%s\",\"ip\":\"%s\",\"sn\":\"%s\",\"gw\":\"%s\"});" + + sprintf(buf, "NetinfoCallback({\"mac\":\"%s\",\"ip\":\"%s\",\"sn\":\"%s\",\"gw\":\"%s\",\"temp\":\"%s\"});" ,m_eth_list[0]->getMACAddress(),m_eth_list[0]->getIPAddress(),m_eth_list[0]->getNetworkMask(),m_eth_list[0]->getGateway()); tcp.send(buf, strlen(buf));