SOMANET Ethernet Library

The SOMANET Ethernet Library provides Ethernet support for SOMANET devices.

../../../../_images/stack.png

Hardware Compatibility

Required SOMANET Hardware
1x SOMANET Core
1x SOMANET Com
Supported SOMANET Devices
SOMANET Core: C22, C2X
SOMANET Com: Ethernet

Modules

Our SOMANET Ethernet Library is composed of the following modules:

  • Ethernet MAC (dual-port) Module: This module allows an abstract access for the application or other upper layers to two different and parallel-running Ethernet MAC layers.
  • Ethernet Hub Module: This module offers a layer that runs on top of the Ethernet dual Stack. It connects together two Ethernet interfaces and makes them act as a single network segment. It also provides the received data packets to the upper layers.
  • Ethernet SMI Module: This module allows code to communicate with ethernet phys that are configured using the SMI serial protocol.

Examples

Additionally, the library includes the following examples:

  • Ping demo: Learn how to use Ethernet MAC (dual-port) Module in your applications implementing a simple app that responses a ping to the IP address configured at the config file.
  • Loopback demo: Learn how to use Ethernet MAC (dual-port) Module in your applications implementing a dummy packet loopback over the two ports that the SOMANET COM Ethernet board offers.
  • Ethernet hub demo: Learn how to use Ethernet Hub Module in your applications implementing a simple Ethernet hub.

Dependencies

To run your application it is necessary to include SOMANET Base.

Note

SOMANET Com Ethernet hardware modules are required to be used with this software.

Visit our SOMANET Com Ethernet documentation for further information.