Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of httpServer-orgel by
Revision 4:2903435e3811, committed 2016-02-12
- Comitter:
- hjjeon
- Date:
- Fri Feb 12 07:39:47 2016 +0000
- Parent:
- 3:87bec0b34de7
- Child:
- 5:3c24e937da61
- Commit message:
- Add code about FsHandler of get method for students example
Changed in this revision
| Handler/FsHandler.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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));
