Microchip Technology Wi-Fi G Demo Board DV102412 DV102412 User Manual

Product codes
DV102412
Page of 49
Wi-Fi G Demo Board User’s Guide
DS50002147A-page 46
 2013 Microchip Technology Inc.
• CustomHTTPApp.c
// ==========================================
// = Sends the FW version =
// ==========================================
void HTTPPrint_fwver(void)
{
static BOOL firstTime = TRUE;
static tWFDeviceInfo deviceInfo;
BYTE fwVerString[8];
if (firstTime)
{
firstTime = FALSE;
WF_GetDeviceInfo(&deviceInfo); // only call this once, not 
continually
}
uitoa((deviceInfo.romVersion << 8) | deviceInfo.patchVersion, 
fwVerString);
TCPPutString(sktHTTP, fwVerString);
}
5. Run the batch file <Convert WebPages to MPFS.bat> to generate a new 
WiFiGDemoMPFSImg.c image
6. Rebuild the project. In the build process, the project uses WiFiGDemoMPF-
SImg.c.
7. Connect to the WiFiG-Demo network. The changes are reflected on the 
WiFi-GDemo web page.
FIGURE 7-5:
NEW Wi-Fi
®
 G DEMO WEB PAGE