Microchip® Advanced Software Framework

tstrM2MIPConfig Struct Reference

This struct contains the static IP configuration.

Note
All member IP addresses are expressed in Network Byte Order (eg. "192.168.10.1" will be expressed as 0x010AA8C0).

#include <m2m_types.h>

Data Fields

uint32 u32DhcpLeaseTime
 
uint32 u32DNS
 
uint32 u32Gateway
 
uint32 u32StaticIP
 
uint32 u32SubnetMask
 

uint32 tstrM2MIPConfig::u32DhcpLeaseTime

DHCP Lease Time in sec. This field is is ignored in static IP configuration.

uint32 tstrM2MIPConfig::u32DNS

IP for the DNS server.

Referenced by m2m_wifi_set_static_ip().

uint32 tstrM2MIPConfig::u32Gateway

IP of the default internet gateway.

Referenced by m2m_wifi_set_static_ip().

uint32 tstrM2MIPConfig::u32StaticIP

The static IP assigned to the device.

Referenced by iperf_wifi_cb(), and m2m_wifi_set_static_ip().

uint32 tstrM2MIPConfig::u32SubnetMask

Subnet mask for the local area network.

Referenced by m2m_wifi_set_static_ip().