class
NrControlMessageThe NrControlMessage class.
Base class for all the messages types that the UE and the GNB can exchange. The use is not usually involved in the message creation; however, you can read them with the trace sources that are at your disposal in the MAC and PHY classes.
Derived classes
- class NrBsrMessage
- the BSR message
- class NrDlCqiMessage
- The message that represents a DL CQI message.
- class NrDlDciMessage
- The message that represents a DL DCI message.
- class NrDlHarqFeedbackMessage
- DlHarqFeedback message.
- class NrMibMessage
- Abstract model for broadcasting the Master Information Block (MIB) within the control channel (BCCH).
- class NrRachPreambleMessage
- Abstract model for the Random Access Preamble.
- class NrRarMessage
- Abstract model for the MAC Random Access Response message.
- class NrSRMessage
- SR message.
- class NrSib1Message
- Abstract model for broadcasting the System Information Block Type 1 (SIB1) within the control channel (BCCH).
- class NrSrsMessage
- NrSrsMessage message.
- class NrUlDciMessage
- The message that represents a UL DCI message.
Public types
Constructors, destructors, conversion operators
- NrControlMessage()
- NrControlMessage.
- ~NrControlMessage() virtual
- ~NrControlMessage
Public functions
- auto GetMessageType() const -> messageType
- Get the MessageType.
- auto GetSourceBwp() const -> uint16_t
- void SetSourceBwp(uint16_t bwpId)
- Set the BWP in which this message has been generated.
Protected functions
- void SetMessageType(messageType type)
- Set the MessageType.
Enum documentation
enum ns3:: NrControlMessage:: messageType
The Message Type.
Enumerators | |
---|---|
UL_DCI |
The resources allocation map from the BS to the attached UEs (UL) |
DL_DCI |
The resources allocation map from the BS to the attached UEs (DL) |
DL_CQI |
DL CQI message. |
MIB |
Master Information Block. |
SIB1 |
System Information Block Type 1. |
RACH_PREAMBLE |
Random Access Preamble. |
RAR |
Random Access Response. |
BSR |
Buffer Status Report. |
DL_HARQ |
DL HARQ feedback. |
SR |
Scheduling Request: asking for space. |
SRS |
SRS. |
Function documentation
messageType ns3:: NrControlMessage:: GetMessageType() const
Get the MessageType.
Returns | the message type |
---|
uint16_t ns3:: NrControlMessage:: GetSourceBwp() const
Returns | the BWP in which this message has been generated |
---|
If SetSourceBwp() is not called beforehand, the method will ABORT.
void ns3:: NrControlMessage:: SetSourceBwp(uint16_t bwpId)
Set the BWP in which this message has been generated.
Parameters | |
---|---|
bwpId | the BwpId |
void ns3:: NrControlMessage:: SetMessageType(messageType type) protected
Set the MessageType.
Parameters | |
---|---|
type | type of the message |