Contiki-NG
Macros

These configuration options can be used for setting the IP address settings statically, but only if UIP_FIXEDADDR is set to 1. More...

Macros

#define UIP_FIXEDADDR
 Determines if uIP should use a fixed IP address or not. More...
 
#define UIP_FIXEDETHADDR
 Specifies if the uIP ARP module should be compiled with a fixed Ethernet MAC address or not. More...
 

Detailed Description

These configuration options can be used for setting the IP address settings statically, but only if UIP_FIXEDADDR is set to 1.

The configuration options for a specific node includes IP address, netmask and default router as well as the Ethernet address. The netmask, default router and Ethernet address are applicable only if uIP should be run over Ethernet.

This options are meaningful only for the IPv4 code.

All of these should be changed to suit your project.

Macro Definition Documentation

◆ UIP_FIXEDADDR

#define UIP_FIXEDADDR

Determines if uIP should use a fixed IP address or not.

If uIP should use a fixed IP address, the settings are set in the uipopt.h file. If not, the macros uip_sethostaddr(), uip_setdraddr() and uip_setnetmask() should be used instead.

Definition at line 103 of file uipopt.h.

◆ UIP_FIXEDETHADDR

#define UIP_FIXEDETHADDR

Specifies if the uIP ARP module should be compiled with a fixed Ethernet MAC address or not.

If this configuration option is 0, the macro uip_setethaddr() can be used to specify the Ethernet address at run-time.

Definition at line 114 of file uipopt.h.