PhysicalLayerBase.ned

NED File src/inet/physicallayer/wireless/common/base/packetlevel/PhysicalLayerBase.ned

Name Type Description
PhysicalLayerBase simple module

Module base for different physical layers.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.physicallayer.wireless.common.base.packetlevel;

import inet.common.LayeredProtocolBase;

//
// Module base for different physical layers.
//
simple PhysicalLayerBase extends LayeredProtocolBase
{
    parameters:
        @display("i=block/wrxtx");
    gates:
        input upperLayerIn @labels(ILinkLayerFrame/down);
        output upperLayerOut @labels(ILinkLayerFrame/up);
        input radioIn @labels(IWirelessSignal);
}