HiddenNode

Package: inet.examples.wireless.hiddennode

HiddenNode

network

(no description)

Node Node SinkNode Ieee80211ScalarRadioMedium

Usage diagram

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

Properties

Name Value Description
isNetwork

Unassigned submodule parameters

Name Type Default value Description
A.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

A.cli.interfaceTableModule string
A.cli.destAddress string ""

destination MAC address, or module path name of destination station; empty means off

A.cli.startTime double this.sendInterval

time of sending the first request

A.cli.stopTime double -1s

time of finishing sending, negative values mean forever

A.cli.localSAP int 0xf0

local service access point

A.cli.remoteSAP int 0xf1

remote service access point

A.cli.sendInterval double uniform(0s,1s)

interval between sending requests

A.cli.reqLength int 100B

length of request packets

A.cli.respLength int 1KiB

length of response packets

A.cli.stopOperationExtraTime double -1s

extra time after lifecycle stop operation finished

A.cli.stopOperationTimeout double 2s

timeout value for lifecycle stop operation

A.wlan.pcapRecorder.verbose bool true

whether to log packets on the module output

A.wlan.pcapRecorder.pcapFile string ""

the PCAP file to be written

A.wlan.pcapRecorder.fileFormat string "pcapng"
A.wlan.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

A.wlan.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

A.wlan.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

A.wlan.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

A.wlan.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

A.wlan.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

A.wlan.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

A.wlan.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

A.wlan.pcapRecorder.displayStringTextFormat string "rec: %n pks"
A.wlan.mgmt.macModule string

The path to the MAC module

A.mobility.subjectModule string "^"

module path which determines the subject module, the motion of which this mobility model describes, the default value is the parent module

A.mobility.coordinateSystemModule string ""

module path of the geographic coordinate system module

A.mobility.displayStringTextFormat string "p: %p\nv: %v"

format string for the mobility module's display string text

A.mobility.updateDisplayString bool true

enables continuous update of the subject module's position via modifying its display string

A.mobility.constraintAreaMinX double -inf m

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

A.mobility.constraintAreaMinY double -inf m

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

A.mobility.constraintAreaMinZ double -inf m

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

A.mobility.constraintAreaMaxX double inf m

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

A.mobility.constraintAreaMaxY double inf m

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

A.mobility.constraintAreaMaxZ double inf m

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

A.mobility.initialX double uniform(this.constraintAreaMinX, this.constraintAreaMaxX)
A.mobility.initialY double uniform(this.constraintAreaMinY, this.constraintAreaMaxY)
A.mobility.initialZ double nanToZero(uniform(this.constraintAreaMinZ, this.constraintAreaMaxZ))
A.mobility.initialLatitude double nan deg
A.mobility.initialLongitude double nan deg
A.mobility.initialAltitude double 0m
A.mobility.initialHeading double 0deg
A.mobility.initialElevation double 0deg
A.mobility.initialBank double 0deg
A.mobility.initFromDisplayString bool true

enables one time initialization from the subject module's display string

A.mobility.updateFromDisplayString bool true

enables continuous update from the subject module's display string for dragging and rotating it

C.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

C.cli.interfaceTableModule string
C.cli.destAddress string ""

destination MAC address, or module path name of destination station; empty means off

C.cli.startTime double this.sendInterval

time of sending the first request

C.cli.stopTime double -1s

time of finishing sending, negative values mean forever

C.cli.localSAP int 0xf0

local service access point

C.cli.remoteSAP int 0xf1

remote service access point

C.cli.sendInterval double uniform(0s,1s)

interval between sending requests

C.cli.reqLength int 100B

length of request packets

C.cli.respLength int 1KiB

length of response packets

C.cli.stopOperationExtraTime double -1s

extra time after lifecycle stop operation finished

C.cli.stopOperationTimeout double 2s

timeout value for lifecycle stop operation

C.wlan.pcapRecorder.verbose bool true

whether to log packets on the module output

C.wlan.pcapRecorder.pcapFile string ""

the PCAP file to be written

C.wlan.pcapRecorder.fileFormat string "pcapng"
C.wlan.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

C.wlan.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

C.wlan.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

C.wlan.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

C.wlan.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

C.wlan.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

C.wlan.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

C.wlan.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

C.wlan.pcapRecorder.displayStringTextFormat string "rec: %n pks"
C.wlan.mgmt.macModule string

The path to the MAC module

C.mobility.subjectModule string "^"

module path which determines the subject module, the motion of which this mobility model describes, the default value is the parent module

C.mobility.coordinateSystemModule string ""

module path of the geographic coordinate system module

C.mobility.displayStringTextFormat string "p: %p\nv: %v"

format string for the mobility module's display string text

C.mobility.updateDisplayString bool true

enables continuous update of the subject module's position via modifying its display string

C.mobility.constraintAreaMinX double -inf m

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

C.mobility.constraintAreaMinY double -inf m

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

C.mobility.constraintAreaMinZ double -inf m

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

C.mobility.constraintAreaMaxX double inf m

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

C.mobility.constraintAreaMaxY double inf m

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

C.mobility.constraintAreaMaxZ double inf m

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

C.mobility.initialX double uniform(this.constraintAreaMinX, this.constraintAreaMaxX)
C.mobility.initialY double uniform(this.constraintAreaMinY, this.constraintAreaMaxY)
C.mobility.initialZ double nanToZero(uniform(this.constraintAreaMinZ, this.constraintAreaMaxZ))
C.mobility.initialLatitude double nan deg
C.mobility.initialLongitude double nan deg
C.mobility.initialAltitude double 0m
C.mobility.initialHeading double 0deg
C.mobility.initialElevation double 0deg
C.mobility.initialBank double 0deg
C.mobility.initFromDisplayString bool true

enables one time initialization from the subject module's display string

C.mobility.updateFromDisplayString bool true

enables continuous update from the subject module's display string for dragging and rotating it

B.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

B.sink.localSAP int 0xf1
B.sink.stopOperationExtraTime double -1s

extra time after lifecycle stop operation finished

B.sink.stopOperationTimeout double 2s

timeout value for lifecycle stop operation

B.wlan.pcapRecorder.verbose bool true

whether to log packets on the module output

B.wlan.pcapRecorder.pcapFile string ""

the PCAP file to be written

B.wlan.pcapRecorder.fileFormat string "pcapng"
B.wlan.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

B.wlan.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

B.wlan.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

B.wlan.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

B.wlan.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

B.wlan.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

B.wlan.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

B.wlan.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

B.wlan.pcapRecorder.displayStringTextFormat string "rec: %n pks"
B.wlan.mgmt.macModule string

The path to the MAC module

B.mobility.subjectModule string "^"

module path which determines the subject module, the motion of which this mobility model describes, the default value is the parent module

B.mobility.coordinateSystemModule string ""

module path of the geographic coordinate system module

B.mobility.displayStringTextFormat string "p: %p\nv: %v"

format string for the mobility module's display string text

B.mobility.updateDisplayString bool true

enables continuous update of the subject module's position via modifying its display string

B.mobility.constraintAreaMinX double -inf m

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

B.mobility.constraintAreaMinY double -inf m

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

B.mobility.constraintAreaMinZ double -inf m

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

B.mobility.constraintAreaMaxX double inf m

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

B.mobility.constraintAreaMaxY double inf m

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

B.mobility.constraintAreaMaxZ double inf m

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

B.mobility.initialX double uniform(this.constraintAreaMinX, this.constraintAreaMaxX)
B.mobility.initialY double uniform(this.constraintAreaMinY, this.constraintAreaMaxY)
B.mobility.initialZ double nanToZero(uniform(this.constraintAreaMinZ, this.constraintAreaMaxZ))
B.mobility.initialLatitude double nan deg
B.mobility.initialLongitude double nan deg
B.mobility.initialAltitude double 0m
B.mobility.initialHeading double 0deg
B.mobility.initialElevation double 0deg
B.mobility.initialBank double 0deg
B.mobility.initFromDisplayString bool true

enables one time initialization from the subject module's display string

B.mobility.updateFromDisplayString bool true

enables continuous update from the subject module's display string for dragging and rotating it

radioMedium.neighborCache.refillPeriod double

Source code

network HiddenNode
{
    parameters:
    submodules:
        A: Node {
            parameters:
                @display("r=,,#707070;p=159,143");
        }
        C: Node {
            parameters:
                @display("r=,,#707070;p=473,143");
        }
        B: SinkNode {
            parameters:
                @display("p=316,143;r=,,#707070");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=100,100;is=s");
        }
}

File: examples/wireless/hiddennode/HiddenNode.ned