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.
Dependencies: net lpc1768 crypto clock web fram log
web-system-query.c
00001 #include <string.h> 00002 #include <stdlib.h> 00003 00004 #include "http.h" 00005 #include "values.h" 00006 00007 void WebSystemQuery(char* pQuery) 00008 { 00009 while (pQuery) 00010 { 00011 char* pName; 00012 char* pValue; 00013 pQuery = HttpQuerySplit(pQuery, &pName, &pValue); 00014 00015 HttpQueryUnencode(pValue); 00016 00017 int value = HttpQueryValueAsInt(pValue); 00018 00019 if (HttpSameStr(pName, "tftpserver" )) ValuesSetServerName (pValue ); 00020 if (HttpSameStr(pName, "tftpfilename" )) ValuesSetFileName (pValue ); 00021 if (HttpSameStr(pName, "tftpwriteint" )) ValuesSetWriteSize (value ); 00022 if (HttpSameStr(pName, "tftpreadint" )) ValuesSetReadInterval (value ); 00023 } 00024 }
Generated on Tue Jul 12 2022 21:42:36 by
1.7.2