Compound Module SinkClient

Package: inet.examples.wireless.ratecontrol
File: examples/wireless/ratecontrol/RateControlTest.ned

(no description)

Sink Ieee80211Nic RectangleMobility

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.

Networks:

Name Type Description
RateControlTest network (no description)

Properties:

Name Value Description
networkNode
labels node
display i=device/cellphone

Gates:

Name Direction Size Description
radioIn input

Unassigned submodule parameters:

Name Type Default value Description
wlan.agent.interfaceTableModule string

The path to the InterfaceTable module

wlan.agent.activeScan bool true

selects between active and passive scanning

wlan.agent.channelsToScan string ""

list of channel numbers to scan (space delimited); empty means all channels

wlan.agent.probeDelay double 100ms

delay before sending a probe request during active scanning

wlan.agent.minChannelTime double 150ms

min interval to spend on a channel during active scanning

wlan.agent.maxChannelTime double 300ms

channel time for passive scanning, and max channel time for active scanning

wlan.agent.authenticationTimeout double 5s

timeout for the authentication procedure

wlan.agent.associationTimeout double 5s

timeout for the association procedure

wlan.agent.startingTime double -1s

agent starting time.

wlan.agent.default_ssid string "SSID"

default ssid

mobility.coordinateSystemModule string ""

module path of the geographic coordinate system module

mobility.visualizeMobility bool true

false means this mobility module does no visualization

mobility.visualRepresentation string "^"

determines the module that is moved by this mobility

mobility.constraintAreaMinX double -1m/0

min x position of the constraint area, unconstrained by default (negative infinity)

mobility.constraintAreaMinY double -1m/0

min y position of the constraint area, unconstrained by default (negative infinity)

mobility.constraintAreaMinZ double -1m/0

min z position of the constraint area, unconstrained by default (negative infinity)

mobility.constraintAreaMaxX double 1m/0

max x position of the constraint area, unconstrained by default (positive infinity)

mobility.constraintAreaMaxY double 1m/0

max y position of the constraint area, unconstrained by default (positive infinity)

mobility.constraintAreaMaxZ double 1m/0

max z position of the constraint area, unconstrained by default (positive infinity)

mobility.updateInterval double 0.1s

the simulation time interval used to regularly signal mobility state changes and update the display

mobility.startPos double

in range [0.0,4.0): topleft=0, topright=1, bottomright=2, bottomleft=3

mobility.speed double

speed of the host

Source code:

module SinkClient
{
    parameters:
        @networkNode();
        @labels(node);
        @display("i=device/cellphone");
        *.interfaceTableModule = default("");
    gates:
        input radioIn @directIn;
    submodules:
        sink: Sink {
            parameters:
                @display("p=169,124");
        }
        wlan: Ieee80211Nic {
            parameters:
                @display("p=89,225;q=queue");
                mgmtType = default("Ieee80211MgmtAdhoc");
        }
        mobility: RectangleMobility {
            parameters:
                @display("p=71,121");
        }
    connections allowunconnected:
        radioIn --> { @display("m=s"); } --> wlan.radioIn;
        wlan.upperLayerOut --> sink.in++;
}