LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPC17xx/40xx IPERF Server example

Detailed Description

Example description

This example demonstrates the iperf server functionality using LWIP stack.
To use the example, connect an ethernet cable to the board. The board will acquire an IP address via DHCP and you can ping the board at it's IP address.
From the host PC execute the iperf tool with following options:

Special connection requirements
There are no special connection requirements for this example.

Build procedures:
LPC17xx/40xx example quickstart for Keil uVision4
LPC17xx/40xx example quickstart for IAR EWARM
LPC17xx/40xx example quickstart for Code Red Xpresso

Supported boards and board setup:
Embedded Artists' LPC1788 Developer's Kit
Embedded Artists' LPC4088 Developer's Kit

Submitting LPCOpen issues:
Community support for LPCOpen

Functions

static void prvSetupHardware (void)
 
int main (void)
 main routine for example_lwip_tcpecho_sa_17xx40xx
 

Variables

static struct netif lpc_netif
 

Function Documentation

int main ( void  )

main routine for example_lwip_tcpecho_sa_17xx40xx

Main program body.

Returns
Function should not exit.

Definition at line 117 of file main.c.

static void prvSetupHardware ( void  )
static

Definition at line 97 of file main.c.

Variable Documentation

struct netif lpc_netif
static

Definition at line 86 of file main.c.