How to determine new IP address assigned

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
How to determine new IP address assigned

Determine New IP Address Assigned to MRF24W 

Check the global variable g_DhcpSuccessful. 

When g_DhcpSuccessful becomes TRUE, AppConfig.MyIPAddr will reflect the new IP address that is assigned to MRF24W. 

 

Below are some suggestions to determine the new IP address that has been assigned. 

a) Enable Zero Configuration / mDNS 

This feature enables users not to have any knowledge of the IP Address. Instead what is needed is the URL address such as http://mchpboard.local. 

After typing this URL address, the MRF24W web page could be displayed, showing the new IP address. 

Example 

 

b) AP DHCP Client Table 

Refer to your AP’s documentation for the necessary steps required to obtain the new IP address. As an example, for certain APs, by selecting <Status> and then <Local Network>, an option <DHCP Client Table> is offered. This DHCP Client Table will list the IP address that is assigned to the MRF24W. 

 

c) WiFi TCPIP Demo will display the new IP address through a designated console terminal. 

 

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.