Represents IP network information.

Syntax

typedef struct {
    unsigned int   u32StaticIP;
    unsigned int   u32Gateway;
    unsigned int   u32DNS;
    unsigned int   u32SubnetMask;
    unsigned int   u32DhcpLeaseTime;
    unsigned int   u32AlternateDNS;
} tstrM2MIPConfig;

Members

u32StaticIP
The static IP assigned to the device.
u32Gateway
IP of the Default internet gateway.
u32DNS
IP for the DNS server.
u32SubnetMask
Subnet mask for the local area network.
u32DhcpLeaseTime
Dhcp Lease Time in sec.
u32AlternateDNS
IP for the secondary DNS server (if any).
Must set to zero if not provided in static IP configuration from the application.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/11/26