HiddenNode

Package: inet.examples.wireless.hiddennode

HiddenNode

network

(no description)

A : Node

Source:
A: Node {
    parameters:
        @display("r=,,#707070;p=159,143");
} C : Node

Source:
C: Node {
    parameters:
        @display("r=,,#707070;p=473,143");
} B : SinkNode

Source:
B: SinkNode {
    parameters:
        @display("p=316,143;r=,,#707070");
} radioMedium : Ieee80211ScalarRadioMedium

This radio medium model uses scalar transmission power in the analog representation.

Source:
radioMedium: Ieee80211ScalarRadioMedium {
    parameters:
        @display("p=100,100;is=s");
}

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.displayStringTextFormat string ""

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

A.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

A.cli.displayStringTextFormat string ""

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

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.displayStringTextFormat string "rec: %n pks"

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

A.wlan.pcapRecorder.verbose bool true

Whether to log packets on the module output

A.wlan.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

A.wlan.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

A.wlan.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

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

Maximum number of bytes to record per packet

A.wlan.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

A.wlan.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

A.wlan.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

A.wlan.pcapRecorder.receivingSignalNames string "receptionEnded"

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.mib.displayStringTextFormat string ""

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

A.wlan.mgmt.macModule string

The path to the MAC module

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

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

A.mobility.subjectModule string "^"

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

A.mobility.coordinateSystemModule string ""

The module path of the geographic coordinate system module

A.mobility.updateDisplayString bool true

Enables continuous update of the subject module's position by modifying its display string

A.mobility.constraintAreaMinX double -inf m

The minimum x position of the constraint area. It is unconstrained by default (negative infinity)

A.mobility.constraintAreaMinY double -inf m

The minimum y position of the constraint area. It is unconstrained by default (negative infinity)

A.mobility.constraintAreaMinZ double -inf m

The minimum z position of the constraint area. It is unconstrained by default (negative infinity)

A.mobility.constraintAreaMaxX double inf m

The maximum x position of the constraint area. It is unconstrained by default (positive infinity)

A.mobility.constraintAreaMaxY double inf m

The maximum y position of the constraint area. It is unconstrained by default (positive infinity)

A.mobility.constraintAreaMaxZ double inf m

The maximum z position of the constraint area. It is 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.displayStringTextFormat string ""

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

C.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

C.cli.displayStringTextFormat string ""

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

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.displayStringTextFormat string "rec: %n pks"

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

C.wlan.pcapRecorder.verbose bool true

Whether to log packets on the module output

C.wlan.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

C.wlan.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

C.wlan.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

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

Maximum number of bytes to record per packet

C.wlan.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

C.wlan.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

C.wlan.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

C.wlan.pcapRecorder.receivingSignalNames string "receptionEnded"

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.mib.displayStringTextFormat string ""

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

C.wlan.mgmt.macModule string

The path to the MAC module

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

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

C.mobility.subjectModule string "^"

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

C.mobility.coordinateSystemModule string ""

The module path of the geographic coordinate system module

C.mobility.updateDisplayString bool true

Enables continuous update of the subject module's position by modifying its display string

C.mobility.constraintAreaMinX double -inf m

The minimum x position of the constraint area. It is unconstrained by default (negative infinity)

C.mobility.constraintAreaMinY double -inf m

The minimum y position of the constraint area. It is unconstrained by default (negative infinity)

C.mobility.constraintAreaMinZ double -inf m

The minimum z position of the constraint area. It is unconstrained by default (negative infinity)

C.mobility.constraintAreaMaxX double inf m

The maximum x position of the constraint area. It is unconstrained by default (positive infinity)

C.mobility.constraintAreaMaxY double inf m

The maximum y position of the constraint area. It is unconstrained by default (positive infinity)

C.mobility.constraintAreaMaxZ double inf m

The maximum z position of the constraint area. It is 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.displayStringTextFormat string ""

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

B.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

B.sink.displayStringTextFormat string ""

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

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

Extra time after lifecycle stop operation is finished

B.sink.stopOperationTimeout double 2s

Timeout value for lifecycle stop operation

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

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

B.wlan.pcapRecorder.verbose bool true

Whether to log packets on the module output

B.wlan.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

B.wlan.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

B.wlan.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

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

Maximum number of bytes to record per packet

B.wlan.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

B.wlan.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

B.wlan.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

B.wlan.pcapRecorder.receivingSignalNames string "receptionEnded"

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.mib.displayStringTextFormat string ""

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

B.wlan.mgmt.macModule string

The path to the MAC module

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

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

B.mobility.subjectModule string "^"

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

B.mobility.coordinateSystemModule string ""

The module path of the geographic coordinate system module

B.mobility.updateDisplayString bool true

Enables continuous update of the subject module's position by modifying its display string

B.mobility.constraintAreaMinX double -inf m

The minimum x position of the constraint area. It is unconstrained by default (negative infinity)

B.mobility.constraintAreaMinY double -inf m

The minimum y position of the constraint area. It is unconstrained by default (negative infinity)

B.mobility.constraintAreaMinZ double -inf m

The minimum z position of the constraint area. It is unconstrained by default (negative infinity)

B.mobility.constraintAreaMaxX double inf m

The maximum x position of the constraint area. It is unconstrained by default (positive infinity)

B.mobility.constraintAreaMaxY double inf m

The maximum y position of the constraint area. It is unconstrained by default (positive infinity)

B.mobility.constraintAreaMaxZ double inf m

The maximum z position of the constraint area. It is 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