(no description)
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Default value | Description |
---|---|---|---|
interfaceTableModule | string | ||
queueType | string | "DropTailQueue" |
DropTailQueue, a Diffserv queue, etc. |
radioType | string | "Ieee802154UWBIRRadio" |
Name | Value | Description |
---|---|---|
display | i=block/ifcard |
Name | Direction | Size | Description |
---|---|---|---|
upperLayerIn | input | ||
upperLayerOut | output | ||
radioIn | input |
Name | Type | Default value | Description |
---|---|---|---|
mac.interfaceTableModule | string | ||
mac.address | string | "auto" |
MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0. |
mac.bitrate | double | ||
mac.mtu | int | 4470B | |
mac.headerLength | int | 0B |
IdealMacFrame.byteLength = headerLength + packetFromUpperLayer.byteLength |
mac.promiscuous | bool | false | |
mac.fullDuplex | bool | true |
allows transmitting and receiving simultaneously (transceiver radio mode) |
mac.useAck | bool | true | |
mac.ackTimeout | double | 100ms |
module Ieee802154UWBIRNic like IWirelessNic { parameters: string interfaceTableModule; string queueType = default("DropTailQueue"); // DropTailQueue, a Diffserv queue, etc. string radioType = default("Ieee802154UWBIRRadio"); *.interfaceTableModule = default(absPath(interfaceTableModule)); @display("i=block/ifcard"); gates: input upperLayerIn; output upperLayerOut; input radioIn @labels(IRadioFrame); submodules: queue: <queueType> like IOutputQueue { parameters: @display("p=100,50;q=l2queue"); } mac: IdealMac { parameters: @display("p=100,150"); } radio: <radioType> like IRadio { parameters: @display("p=100,250"); } connections: upperLayerIn --> { @display("m=n"); } --> queue.in; queue.out --> mac.upperLayerIn; mac.lowerLayerOut --> radio.upperLayerIn; mac.upperLayerOut --> { @display("m=n"); } --> upperLayerOut; radioIn --> { @display("m=s"); } --> radio.radioIn; radio.upperLayerOut --> mac.lowerLayerIn; }