Package: inet.physicallayer.wireless.ieee802154.packetlevel
Ieee802154NarrowbandScalarRadio
compound module(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| Ieee802154NarrowbandRadio | compound module | (no description) |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| radioMediumModule | string | "radioMedium" |
module path of the medium module where this radio communicates |
| energySourceModule | string | "" |
module path of the energy source module which provides energy to the radio |
| initialRadioMode | string | "off" | |
| switchingTimes | string | "ms 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0" |
time parameters to switch between radio modes |
| sendRawBytes | bool | false |
when true packets are serialized into a sequence of bytes before sending out |
| separateTransmissionParts | bool | false |
when enabled the transmission of preamble, header and data part are simulated separately |
| separateReceptionParts | bool | false |
when enabled the reception of preamble, header and data part are simulated separately |
| displayCommunicationRange | bool | false |
if true communication range is displayed as a blue circle around the node |
| displayInterferenceRange | bool | false |
if true interference range is displayed as a gray circle around the node |
| centerFrequency | double | 2450 MHz |
center frequency of the band where the radio transmits and receives signals on the medium |
| bandwidth | double | 2.8 MHz |
bandwidth of the band where the radio transmits and receives signals on the medium |
| signalAnalogRepresentation | string | "scalar" |
Properties
| Name | Value | Description |
|---|---|---|
| display | i=block/wrxtx | |
| class | FlatRadioBase |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| upperLayerIn | input | ||
| upperLayerOut | output | ||
| radioIn | input |
Signals
| Name | Type | Unit |
|---|---|---|
| receptionStateChanged | long | |
| radioModeChanged | long | |
| transmissionStarted | ||
| receptionEnded | ||
| transmittedSignalPartChanged | long | |
| receptionStarted | ||
| packetReceivedFromUpper | cPacket | |
| receivedSignalPartChanged | long | |
| packetSentToUpper | cPacket | |
| transmissionStateChanged | long | |
| listeningChanged | ||
| transmissionEnded |
Statistics
| Name | Title | Source | Record | Unit | Interpolation Mode |
|---|---|---|---|---|---|
| receptionState | Radio reception state | receptionStateChanged | count, vector | sample-hold | |
| bitErrorRate | Bit error rate | bitErrorRate(packetSentToUpper) | histogram | ||
| radioMode | Radio mode | radioModeChanged | count, vector | sample-hold | |
| packetErrorRate | Packet error rate | packetErrorRate(packetSentToUpper) | histogram | ||
| symbolErrorRate | Symbol error rate | symbolErrorRate(packetSentToUpper) | histogram | ||
| transmissionState | Radio transmission state | transmissionStateChanged | count, vector | sample-hold | |
| minSnir | Min SNIR | minimumSnir(packetSentToUpper) | histogram |
Scheduled messages (observed)
| msg | kind | ctrl | tags | msgname | context |
|---|---|---|---|---|---|
| omnetpp::cMessage | 0 | transmissionTimer | filled | ||
| omnetpp::cMessage | 0 | WirelessSignal | receptionTimer |
Direct method calls (observed)
| call to | function | info |
|---|---|---|
| Ieee802154NarrowbandMac | inet::Ieee802154Mac::receiveSignal | transmissionStateChanged |
| ApskErrorModel | inet::physicallayer::ApskErrorModel::computePacketErrorRate | computePacketErrorRate |
| SensorStateBasedEpEnergyConsumer | inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignal | radioModeChanged |
| SensorStateBasedEpEnergyConsumer | inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignal | receivedSignalPartChanged |
| SensorStateBasedEpEnergyConsumer | inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignal | receptionStateChanged |
| SensorStateBasedEpEnergyConsumer | inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignal | transmissionStateChanged |
| SensorStateBasedEpEnergyConsumer | inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignal | transmittedSignalPartChanged |
| Ieee802154NarrowbandScalarRadioMedium | inet::physicallayer::RadioMedium::addRadio | addRadio |
| Ieee802154NarrowbandScalarRadioMedium | inet::physicallayer::RadioMedium::listenOnMedium | listenOnMedium |
| Ieee802154NarrowbandScalarRadioMedium | inet::physicallayer::RadioMedium::receivePacket | receivePacket |
| Ieee802154NarrowbandScalarRadioMedium | inet::physicallayer::RadioMedium::transmitPacket | transmitPacket |
Called methods (observed)
| function | info | call from |
|---|---|---|
| inet::physicallayer::FlatRadioBase::setRadioMode | setRadioMode | Ieee802154NarrowbandMac |
Incoming messages (observed)
| gate | msg | kind | ctrl | srcModule | tags |
|---|---|---|---|---|---|
| radioIn | WirelessSignal | 0 | Ieee802154NarrowbandScalarRadio | ||
| upperLayerIn | Packet | 0 | Ieee802154NarrowbandMac | PacketProtocolTag, DispatchProtocolInd?, InterfaceReq?, MacAddressReq?, MulticastReq?, NetworkProtocolInd?, TransportProtocolInd? |
Outgoing messages (observed)
| gate | msg | kind | ctrl | destModule | tags |
|---|---|---|---|---|---|
| upperLayerOut | Packet | 0 | Ieee802154NarrowbandMac | ErrorRateInd, PacketProtocolTag, SignalPowerInd, SignalTimeInd, SnirInd |
Shared Tagging operations (observed)
| tagType | tagAction |
|---|---|
| clearTags | |
| ErrorRateInd | findTag |
| PacketProtocolTag | addTag, getTag |
| SnirInd | findTag |
Source code
module Ieee802154NarrowbandScalarRadio extends Ieee802154NarrowbandRadio { parameters: transmitter.typename = default("Ieee802154NarrowbandScalarTransmitter"); receiver.typename = default("Ieee802154NarrowbandScalarReceiver"); }File: src/inet/physicallayer/wireless/ieee802154/packetlevel/Ieee802154NarrowbandScalarRadio.ned