(no description)
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
| BaseMoBANNetwork (network) |
This network is exactly the same as baseNetwork existing among the examples of MiXiM, but the desired number of MoBAN coordinator modules have been added. Some nodes of type BaseNode use MoBANLocal module as their mobility module. Then those nodes will be considered as WBAN nodes. Those node have a parameter named "coordinatorIndex" that determines to which WBAN (coordinator) the node belongs. |
| BaseNetwork (network) |
This example shows the basic structure of an network using MiXiM. |
| Name | Type | Default value | Description |
|---|---|---|---|
| applType | string |
type of the application layer |
|
| netwType | string |
type of the network layer |
|
| mobType | string |
type of the mobility module |
| Name | Value | Description |
|---|---|---|
| display | bgb=,,white,, |
| Name | Direction | Size | Description |
|---|---|---|---|
| radioIn | input |
gate for sendDirect |
| Name | Type | Default value | Description |
|---|---|---|---|
| utility.coreDebug | bool |
debug switch for the base framework |
|
| arp.coreDebug | bool |
debug switch for the core framework |
|
| mobility.x | double |
x coordinate of the nodes' position (-1 = random) |
|
| mobility.y | double |
y coordinate of the nodes' position (-1 = random) |
|
| mobility.z | double |
z coordinate of the nodes' position (-1 = random) |
|
| appl.headerLength | int |
length of the application message header (in bits) |
|
| net.stats | bool |
stats switch |
|
| net.headerLength | double |
length of the network packet header (in bits) |
|
| nic.mac.notAffectedByHostState | bool | false | |
| nic.mac.coreDebug | bool |
debug switch |
|
| nic.mac.headerLength | double |
length of the MAC packet header (in bits) |
|
| nic.mac.debug | bool | false |
enable debugging for this module |
| nic.mac.slotDuration | double |
how long is a slot? [s] |
|
| nic.mac.difs | double |
maximum time between a packet and its ack [s] |
|
| nic.mac.maxTxAttempts | double |
maximum number of transmission attempts |
|
| nic.mac.queueLength | int |
length of the MAC queue |
|
| nic.mac.defaultChannel | double |
default channel |
|
| nic.mac.bitrate | double |
bit rate [bps] |
|
| nic.mac.txPower | double |
tx power [mW] |
|
| nic.mac.contentionWindow | double |
contention window |
|
| nic.phy.coreDebug | bool |
debug switch for core framework |
|
| nic.phy.recordStats | bool | false |
enable/disable tracking of statistics (eg. cOutvectors) |
| nic.phy.headerLength | int | 0 |
defines the length of the phy header (/preamble) |
| nic.phy.usePropagationDelay | bool |
Should transmission delay be simulated? |
|
| nic.phy.thermalNoise | double |
the strength of the thermal noise [dBm] |
|
| nic.phy.useThermalNoise | bool |
should thermal noise be considered? |
|
| nic.phy.analogueModels | xml |
Specification of the analogue models to use and their parameters |
|
| nic.phy.decider | xml |
Specification of the decider to use and its parameters |
|
| nic.phy.sensitivity | double |
The sensitivity of the physical layer [dBm] |
|
| nic.phy.maxTXPower | double |
The maximum transimission power of the physical layer [mW] |
|
| nic.phy.timeRXToTX | double | 0 |
switchTimes [s]: |
| nic.phy.timeRXToSleep | double | 0 | |
| nic.phy.timeTXToRX | double | 0 | |
| nic.phy.timeTXToSleep | double | 0 | |
| nic.phy.timeSleepToRX | double | 0 | |
| nic.phy.timeSleepToTX | double | 0 | |
| nic.phy.initialRadioState | int | 0 |
state the radio is initially in |
| nic.phy.radioMinAtt | double | 1.0 |
radios gain factor (attenuation) while receiving |
| nic.phy.radioMaxAtt | double | 0.0 |
radios gain factor (attenuation) while not receiving |
| nic.phy.nbRadioChannels | int | 1 |
Number of available radio channels. Defaults to single channel radio. |
| nic.phy.initialRadioChannel | int | 0 |
Initial radio channel. |
module BaseNode { parameters: string applType; //type of the application layer string netwType; //type of the network layer string mobType; //type of the mobility module @display("bgb=,,white,,"); gates: input radioIn; // gate for sendDirect submodules: utility: BaseUtility { parameters: @display("p=130,38;b=24,24,rect,black;i=block/blackboard"); } arp: BaseArp { parameters: @display("p=130,108;b=24,24,rect,blue;i=block/process"); } mobility: <mobType> like IBaseMobility { parameters: @display("p=130,172;i=block/cogwheel"); } appl: <applType> like IBaseApplLayer { parameters: @display("p=60,50;i=app"); } net: <netwType> like IBaseNetwLayer { parameters: @display("p=60,108;i=block/layer"); } nic: BaseNic { parameters: @display("p=60,166;i=block/ifcard"); } connections: nic.upperGateOut --> net.lowerGateIn; nic.upperGateIn <-- net.lowerGateOut; nic.upperControlOut --> { @display("ls=red;m=m,70,0,70,0"); } --> net.lowerControlIn; nic.upperControlIn <-- { @display("ls=red;m=m,70,0,70,0"); } <-- net.lowerControlOut; net.upperGateOut --> appl.lowerGateIn; net.upperGateIn <-- appl.lowerGateOut; net.upperControlOut --> { @display("ls=red;m=m,70,0,70,0"); } --> appl.lowerControlIn; net.upperControlIn <-- { @display("ls=red;m=m,70,0,70,0"); } <-- appl.lowerControlOut; radioIn --> nic.radioIn; }