EthernetMultidropLink

Package: inet.node.ethernet

channel EthernetMultidropLink

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 also: EthernetPlcaHost, EthernetLink

Inheritance diagram

channel EthernetMultidropLinkEthernetMultidropLinkchannel DatarateChannelDatarateChannel

Extends

Name

Type

Description

DatarateChannel

channel

(no description)

Parameters

Name

Type

Default value

Description

disabled

bool

false

delay

double

replaceUnit(length / 2e8, “s”)

datarate

double

10Mbps

ber

double

0

per

double

0

length

double

Properties

Name

Value

Description

class

cDatarateChannel

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