WirelessC

Package: inet.tutorials.wireless

WirelessC

network

(no description)

visualizer : like IIntegratedVisualizer

IIntegratedVisualizer: Interface allows configuring different ~IIntegratedVisualizer submodules from INI files.

Source:
visualizer: <default(firstAvailableOrEmpty("IntegratedCanvasVisualizer"))> like IIntegratedVisualizer if typename != "" {
    @display("p=580,125");
} configurator : Ipv4NetworkConfigurator

Assigns IPv4 addresses and sets up static routing for an IPv4 network.

Source:
configurator: Ipv4NetworkConfigurator {
    @display("p=580,200");
} radioMedium : RadioMedium

The medium model describes the shared physical medium where communication takes place.

Source:
radioMedium: RadioMedium {
    @display("p=580,275");
} hostA : like INetworkNode

WirelessHost: A mobile device with wireless connectivity operating in infrastructure mode.

INetworkNode: INetworkNode defines the common interface for all network node types in INET.

Source:
hostA: <default("WirelessHost")> like INetworkNode {
    @display("p=50,325");
} hostB : like INetworkNode

WirelessHost: A mobile device with wireless connectivity operating in infrastructure mode.

INetworkNode: INetworkNode defines the common interface for all network node types in INET.

Source:
hostB: <default("WirelessHost")> like INetworkNode {
    @display("p=450,325");
} hostR1 : like INetworkNode

WirelessHost: A mobile device with wireless connectivity operating in infrastructure mode.

INetworkNode: INetworkNode defines the common interface for all network node types in INET.

Source:
hostR1: <default("WirelessHost")> like INetworkNode {
    @display("p=250,300");
} hostR2 : like INetworkNode

WirelessHost: A mobile device with wireless connectivity operating in infrastructure mode.

INetworkNode: INetworkNode defines the common interface for all network node types in INET.

Source:
hostR2: <default("WirelessHost")> like INetworkNode {
    @display("p=150,450");
} hostR3 : like INetworkNode

WirelessHost: A mobile device with wireless connectivity operating in infrastructure mode.

INetworkNode: INetworkNode defines the common interface for all network node types in INET.

Source:
hostR3: <default("WirelessHost")> like INetworkNode {
    @display("p=350,450");
} physicalEnvironment : PhysicalEnvironment

The propagation of communication signals, the movement of communicating agents, or battery...

Source:
physicalEnvironment: PhysicalEnvironment {
    @display("p=580,425");
}

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

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

Extends

Name Type Description
WirelessB network (no description)

Properties

Name Value Description
isNetwork
display bgb=650,500;bgg=100,1,grey95

Statistics

Name Title Source Record Unit Interpolation Mode Description
packetReceived hostB.app[0].packetReceived figure(count)

Unassigned submodule parameters

Name Type Default value Description
configurator.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

configurator.minLinkWeight double 1E-3
configurator.configureIsolatedNetworksSeparatly bool false
configurator.config xml xml("")

XML configuration parameters for IP address assignment and adding manual routes

configurator.assignAddresses bool true

Assign IP addresses to all interfaces in the network

configurator.assignUniqueAddresses bool true

Avoid using the same address and raise an error if not possible

configurator.assignDisjunctSubnetAddresses bool true

Avoid using the same address prefix and netmask on different links when assigning IP addresses to interfaces

configurator.addStaticRoutes bool true

Add static routes to the routing tables of all nodes to route to all destination interfaces (only where applicable; turn off when config file contains manual routes)

configurator.addDefaultRoutes bool true

Add default routes if all routes from a source node go through the same gateway (used only if addStaticRoutes is true)

configurator.addSubnetRoutes bool true

Add subnet routes instead of destination interface routes (only where applicable; used only if addStaticRoutes is true)

configurator.addDirectRoutes bool true

Add direct routes towards local network members (i.e. directly connected interfaces) to the routing table (used only if addStaticRoutes is true)

configurator.optimizeRoutes bool true

Optimize routing tables by merging routes, the resulting routing table might route more packets than the original (used only if addStaticRoutes is true)

configurator.updateRoutes bool false

Recalculate static routes if an interface goes down/up or a carrier is lost/back

configurator.dumpTopology bool false

Print extracted network topology to the module output

configurator.dumpLinks bool false

Print recognized network links to the module output

configurator.dumpAddresses bool false

Print assigned IP addresses for all interfaces to the module output

configurator.dumpRoutes bool false

Print configured and optimized routing tables for all nodes to the module output

configurator.dumpConfig string ""

Write configuration into the given config file that can be fed back to speed up subsequent runs (network configurations)

radioMedium.neighborCache.refillPeriod double

Source code

network WirelessC extends WirelessB
{
    submodules:
        physicalEnvironment: PhysicalEnvironment {
            @display("p=580,425");
        }
}
File: tutorials/wireless/WirelessC.ned