Network Component  Version 7.17.0
MDK Middleware for IPv4 and IPv6 Networking
SNMP Agent

The Simple Network Management Protocol (SNMP) is mainly used in network management systems to monitor network-attached devices for conditions that warrant administrative attention. It is the most popular network management protocol in the TCP/IP protocol suite. The SNMP Agent example shows how to use SNMP to control an embedded system. The following picture shows an exemplary connection of the development board and a Computer.

Build the "SNMP Agent" Project

Open the example project in MDK (the web page explains how to do this). The ┬ÁVision Project window should display a similar project structure:

SNMP Agent Project Structure

Source Files

  • SNMP_Agent.c contains the main C function that initializes the board hardware and the Network Component.
  • The SNMP_Agent_MIB.c contains the mib_data_table. Change this to the application's needs.

You may now build and download the example project to the evaluation board using the ┬ÁVision commands:

  • Project --> Build target
  • Flash --> Download

After these steps, the project should start executing on your evaluation kit. In case of errors, refer to the Evaluation Board User's Guide for configuration information.

Using the "SNMP Agent" Project

Hardware Setup

The setup of the Evaluation Board hardware is described in the Abstract.txt file.

  • Verify all jumper settings on the target hardware.
  • Use an Ethernet cable to connect your development board to the local area network. The PC is assumed to be already a member of this LAN.

PC Software

To test this example, run the Windows application 'SNMPTest.exe' from C:\Keil\ARM\Utilities\SNMPTest\Release and type in the IP address of your Embedded SNMP Agent and click 'Connect'. When connected, you can change the LCD text on the target, control the on-board LED diodes and monitor the state of on-board push-buttons.

SNMP Test Application