MSG File src/simu5g/stack/d2d/rrc/D2DModeSwitchNotification.msg

Name

Type

Description

D2DModeSwitchNotification

class

(no description)

Source code

//
//                  Simu5G
//
// Copyright (C) 2012-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are part of the software itself,
// and cannot be removed from it.
//

import simu5g.common.LteCommonEnum;
import simu5g.common.LteCommon;
import inet.common.packet.chunk.Chunk;

namespace simu5g;

class D2DModeSwitchNotification extends inet::FieldsChunk
{
    chunkLength = inet::B(1); // TODO: size 0
    MacNodeId peerId;
    bool txSide;
    LteD2DMode oldMode;
    LteD2DMode newMode;
    bool oldConnection;
    bool interruptHarq;
    bool clearRlcBuffer;
    Lcg lcg;                                           // BearerRequest.lcg of the switched bearer
    unsigned short rlcMode enum(RlcMode) = 0;       // BearerRequest.rlcMode of the switched bearer
}