Networking_IpConfig_EnableStaticIp Function

Header: #include <applibs/networking.h>

Enables static IP and disables dynamic IP for a Networking_IpConfig struct.

void Networking_IpConfig_EnableStaticIp(Networking_IpConfig *ipConfig, struct in_addr ipAddress, struct in_addr subnetMask, struct in_addr gatewayAddress);

Parameters

  • ipConfig A pointer to the Networking_IpConfig struct to update.

  • ipAddress The static IP address.

  • subnetMask The static subnet mask.

  • gatewayAddress The static gateway address.

Concepts and samples