EthernetMultidropLink

Package: inet.node.ethernet

EthernetMultidropLink

channel

EthernetMultidropLink models a shared Ethernet medium in a bus topology where multiple nodes connect to a single cable(1,2,3). This channel type is used for simulating 10BASE-T1S with PLCA (Physical Layer Collision Avoidance) Ethernet that use a multidrop configuration.

<b>See also:</b> ~EthernetPlcaHost, ~EthernetLink

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in

Name Type Description
MixedMultidropNetwork network

This module contains an ~EthernetSwitch connected to a ~StandardHost and a 10BASE-T1S multidrop link with a configurable number of nodes. The switch port acts as the controller of the multidrop link. The network node type can be configured for all the nodes on the multidrop link.

MultidropNetwork network

This module contains a single 10BASE-T1S multidrop link with a separate controller node and a configurable number of additional nodes. The network node type can be configured for all network nodes on the multidrop link.

Extends

Name Type Description
DatarateChannel channel (no description)

Parameters

Name Type Default value Description
disabled bool false
delay double replaceUnit(length / 2e8, "s")

propagation delay

datarate double 10Mbps

bits per second; 0=infinite

ber double 0

bit error rate (BER)

per double 0

packet error rate (PER)

length double

Properties

Name Value Description
class cDatarateChannel

Signals

Name Type Unit Description
channelBusy long
messageSent omnetpp::cMessage
messageDiscarded omnetpp::cMessage

Statistics

Name Title Source Record Unit Interpolation Mode Description
packetsDiscarded constant1(messageDiscarded) count? none
busy channelBusy vector? sample-hold
utilization timeavg(channelBusy) last?
packetBytes packetBytes(messageSent) sum? B none
throughput sumPerDuration(packetBits(messageSent)) last? bps
packets constant1(messageSent) count? none

Source code

//
// EthernetMultidropLink models a shared Ethernet medium in a bus topology where
// multiple nodes connect to a single cable. This channel type is used for
// simulating 10BASE-T1S with PLCA (Physical Layer Collision Avoidance)
// Ethernet that use a multidrop configuration.
//
// @see ~EthernetPlcaHost, ~EthernetLink
//
channel EthernetMultidropLink extends DatarateChannel
{
    double length @unit(m);
    delay = default(replaceUnit(length / 2e8, "s"));
    datarate = default(10Mbps);
}
File: src/inet/node/ethernet/EthernetMultidropLink.ned