IP Address example

Introduction

This is a simple application that demonstrates how to use different ethernet address resolvers.

Configuring the example

Edit the config.xml file to select the address resolver to use. The address resolver is used by the transport to resolve the IP address for the interface to use. The following address resolvers are available.

Monitor address resolver

The SDK supports a special address resolver, called the monitor resolver. This uses the IP address the the monitor uses and relies on the your BSP supporting your development board. The monitor gets its IP address when the lfdownload tool is used to download an application to the board. The address it uses is the address specified by the DCT_DEV_CARD environment variable or the address passed in on the command line (-a) option.

Building the example

Change directory to the ipaddress example
    cd %LF_HOME%\examples\ipaddress

Rebuild the application
    lfmake clean all

Running the example

To run the example on the board
    lfdownload ipaddress.bin

Features

This example demonstrates the following SDK features.