HiCellTek HiCellTek

5G NR RRC Decoder. Decode NR Signaling Messages Online

Instantly decode 5G NR RRC messages from TS 38.331 Release 17. RRCReconfiguration, CellGroupConfig, MeasurementReport, RRCSetup. SA and NSA. Native C++ ASN.1 UPER engine β€” free, no signup.

Key Facts β€” 5G NR RRC Decoder

Protocol
RRC (Radio Resource Control) for NR / NG-RAN
3GPP Spec
TS 38.331, up to Release 17
Deployment
5G SA (Standalone) and NSA (Non-Standalone / EN-DC)
Encoding
ASN.1 UPER (Unaligned Packed Encoding Rules)
3GPP Releases
R15 baseline, R16 extensions, R17 full support
Engine
Native C++ compiled with asn1c, sub-millisecond decoding
Free plan
20 NR RRC decodes/day, no signup
LTE tunnel
Automatic nr-SecondaryCellGroupConfig-r15 extraction from LTE RRC
Decode 5G NR RRC Now →

What is 5G NR RRC?

5G NR RRC (Radio Resource Control) is the Layer 3 signaling protocol defined in 3GPP TS 38.331 that manages the radio connection between the UE and the gNodeB in the NG-RAN (Next Generation Radio Access Network). NR RRC builds on the LTE RRC framework but introduces significant changes to support the wider bandwidth, higher frequencies, beam-based operation, and new deployment architectures of 5G. NR RRC handles connection setup, measurement configuration, handover, security activation, carrier aggregation, dual connectivity (NR-DC, EN-DC), bandwidth part (BWP) management, beam reporting, and conditional handover procedures.

Compared to LTE, NR RRC introduces the RRC_INACTIVE state for power-efficient IoT and mobile broadband, replaces RadioResourceConfigDedicated with the more modular CellGroupConfig structure, and adds extensive beam management parameters for FR2 (mmWave) operation. NR RRC messages can be substantially larger than their LTE counterparts due to the complexity of BWP configurations, CSI-RS resources, and multi-beam MIMO parameters. The HiCellTek decoder parses these complex NR structures using a C++ ASN.1 engine compiled from the official TS 38.331 R17 schema, rendering the full tree including nested CellGroupConfig, SpCellConfig, and MeasObjectNR.

Key NR RRC messages

Message Channel Direction Purpose
RRCReconfiguration DL-DCCH gNB → UE Modifies radio configuration: CellGroupConfig, measurement setup, bearer changes, handover, EN-DC/NR-DC.
RRCSetup DL-CCCH gNB → UE Establishes the initial NR RRC connection and assigns SRB1 radioBearerConfig.
RRCRelease DL-DCCH gNB → UE Releases the RRC connection. Can move UE to IDLE or INACTIVE state with optional suspend configuration.
MeasurementReport UL-DCCH UE → gNB Reports SS-RSRP, SS-RSRQ, SS-SINR for NR cells and beam-level measurements (CSI-RS / SSB).
RRCReestablishment DL-CCCH gNB → UE Re-establishes a failed NR connection after RLF, handover failure, or integrity check failure.
SystemInformationBlockType1 BCCH-DL-SCH gNB → broadcast Broadcasts cell access info, PLMN list, TAC, SIB scheduling, cell barring, and initial BWP configuration.
RRCResume DL-CCCH gNB → UE Resumes an RRC connection from RRC_INACTIVE state, restoring the previous UE context and bearers.
SecurityModeCommand DL-DCCH gNB → UE Activates NR ciphering (NEA) and integrity protection (NIA) algorithms on all bearers.

CellGroupConfig R17 explained

CellGroupConfig is the central NR RRC structure that defines the complete radio configuration of a cell group. In NR, a cell group consists of the SpCell (Special Cell, either PCell or PSCell) and optional SCells for carrier aggregation. CellGroupConfig is carried inside RRCReconfiguration and contains the following key sub-structures:

  • SpCellConfig: Primary cell configuration including ServingCellConfigCommon, initialDownlinkBWP, initialUplinkBWP, PDSCH-Config, PUSCH-Config, CSI-MeasConfig, and beam failure recovery parameters.
  • sCellToAddModList: List of secondary cells for NR carrier aggregation with per-SCell ServingCellConfig and BWP configurations.
  • MAC-CellGroupConfig: MAC layer parameters including DRX configuration (on-duration, inactivity timers), BSR (Buffer Status Report) config, PHR (Power Headroom Report) config, and scheduling request resources.
  • PhysicalCellGroupConfig: Physical layer group parameters: HARQ-ACK codebook, p-NR-FR1/FR2, SRS switching, and configured grant configurations.
  • RLC-BearerToAddModList: RLC bearer configurations mapping logical channels to RLC entities (AM, UM, TM modes).

In EN-DC (LTE anchor + NR secondary), the entire NR CellGroupConfig is encapsulated as an OCTET STRING inside the LTE nr-SecondaryCellGroupConfig-r15 IE within RRCConnectionReconfiguration. In NR-DC (NR anchor + NR secondary), CellGroupConfig appears directly in the NR RRCReconfiguration. The HiCellTek decoder handles both scenarios, automatically detecting tunneled payloads and rendering the full CellGroupConfig R17 tree.

LTE to NR tunnel decoding

In NSA (Non-Standalone) 5G deployments using EN-DC (Option 3x), the LTE eNodeB acts as the master node and the NR gNodeB as the secondary node. The NR radio configuration is not sent directly to the UE over the NR air interface during initial setup. Instead, it is tunneled inside the LTE RRC layer: the eNodeB sends an LTE RRCConnectionReconfiguration message containing the nr-SecondaryCellGroupConfig-r15 IE, which wraps the NR CellGroupConfig as a raw ASN.1 OCTET STRING.

Decoding this tunnel manually is complex: you need to first decode the LTE RRC message per TS 36.331, locate the OCTET STRING, extract the raw bytes, and then decode them as NR CellGroupConfig per TS 38.331. The HiCellTek decoder automates this entire process. When it detects nr-SecondaryCellGroupConfig-r15 in a decoded LTE RRC frame, it automatically extracts the NR payload (handling both raw hex and Base64 encoding) and renders the full NR CellGroupConfig tree inline. This makes it easy to verify the NR configuration that the UE received via the LTE tunnel, critical for EN-DC troubleshooting, SCell activation validation, and FR2 beam configuration analysis.

NR RRC states

NR defines three RRC states, adding RRC_INACTIVE compared to LTE's two-state model. This third state enables significant power savings for IoT and intermittent traffic patterns while maintaining a fast return to connected state.

RRC_IDLE

  • No RRC context stored at gNB
  • UE monitors paging (PCCH)
  • Cell reselection managed by UE
  • UE reads MIB and SIBs
  • CN-based mobility (TAU)
  • Lowest power consumption

RRC_INACTIVE

  • UE context stored at last serving gNB (anchor)
  • UE monitors paging via RAN-based notification area (RNA)
  • Fast resume via RRCResumeRequest
  • No dedicated radio resources
  • RAN-based notification area updates
  • Ideal for IoT and intermittent traffic

RRC_CONNECTED

  • Full radio bearer configuration active
  • Measurement reporting (SSB, CSI-RS)
  • gNB-controlled mobility (handover)
  • Carrier aggregation and DC active
  • BWP switching, beam management
  • Connected-mode DRX optional

State transitions: IDLE → CONNECTED via RRCSetup. CONNECTED → IDLE via RRCRelease. CONNECTED → INACTIVE via RRCRelease with suspendConfig. INACTIVE → CONNECTED via RRCResume. The decoder identifies these transitions from the decoded messages and highlights the relevant IEs.

How to decode 5G NR RRC messages

1.

Select 5G NR

Open the HiCellTek decoder and select 5G NR. Choose the logical channel: DL-DCCH, UL-DCCH, BCCH-DL-SCH, or auto-detect.

2.

Paste hex frame

Paste the hexadecimal NR RRC frame from your QMDL capture, Wireshark PCAP, or HiCellTek Android app export.

3.

Decode

The C++ ASN.1 UPER engine parses the frame per TS 38.331 R17 and renders the full CellGroupConfig tree.

4.

Analyze & export

Inspect SpCellConfig, BWP, CSI-RS, measConfig, beam management. Export to .txt or .json.

5G NR RRC decoder use cases

EN-DC activation validation

Decode the LTE RRCConnectionReconfiguration containing nr-SecondaryCellGroupConfig-r15 to verify the NR CellGroupConfig tunneled from the LTE anchor. Confirm SpCellConfig, BWP parameters, CSI-RS resources, and PDSCH/PUSCH configurations match the planned NR deployment. Identify mismatches between LTE measConfig B1 thresholds and actual NR cell detection.

FR2 beam management analysis

Decode RRCReconfiguration messages carrying beam-related CSI-RS and SSB configurations for mmWave (FR2) deployments. Verify beam failure detection parameters, candidate beam lists, recovery search space configurations, and spatial relation info. Analyze MeasurementReport messages with per-beam SS-RSRP and CSI-RS-RSRP measurements to validate beam switching decisions.

NR-DC and CA troubleshooting

Decode RRCReconfiguration messages to verify NR-DC (NR Dual Connectivity) and NR CA (Carrier Aggregation) configurations. Inspect sCellToAddModList for SCell band combinations, BWP switching timers, cross-carrier scheduling setups, and TDD-UL-DL-ConfigCommon for each component carrier. Essential for validating multi-band NR deployments and maximizing throughput.

Frequently Asked Questions β€” 5G NR RRC Decoder

What is RRCReconfiguration in 5G?

RRCReconfiguration is the primary NR RRC message defined in TS 38.331, equivalent to LTE's RRCConnectionReconfiguration. It is sent by the gNodeB to the UE on the DL-DCCH channel to modify the radio configuration. It carries CellGroupConfig (including SpCellConfig and SCellConfig), measurement configuration, radio bearer additions, security updates, and NR-DC or EN-DC reconfiguration. In 5G SA, RRCReconfiguration is the single most complex message, often containing several hundred IEs.

What is CellGroupConfig?

CellGroupConfig is the top-level NR RRC structure defined in TS 38.331 that describes the complete radio configuration of a cell group. It contains SpCellConfig (primary cell configuration including BWP, PDSCH, PUSCH, CSI, beam management), sCellToAddModList (secondary cells for carrier aggregation), MAC-CellGroupConfig (DRX, BSR, PHR timers), PhysicalCellGroupConfig (power control, HARQ feedback), and RLC-BearerToAddModList. In EN-DC, CellGroupConfig is tunneled inside the LTE RRCConnectionReconfiguration via nr-SecondaryCellGroupConfig-r15.

Can I decode 5G NR RRC for free?

Yes. The HiCellTek free plan provides 20 NR RRC decodes per day with no signup. Select 5G NR, choose the logical channel (DL-DCCH, UL-DCCH, BCCH-DL-SCH, or auto-detect), paste the hex frame, and click Decode. All NR RRC messages are supported including RRCReconfiguration with CellGroupConfig R17. The Pro plan at 29 EUR/month adds unlimited decodes, NAS decoding, batch mode and JSON export.

What is the LTE to NR tunnel?

The LTE to NR tunnel refers to the mechanism in EN-DC (E-UTRAN New Radio Dual Connectivity) where NR radio configuration is encapsulated within an LTE RRCConnectionReconfiguration message. The LTE message carries the nr-SecondaryCellGroupConfig-r15 IE, which contains the NR CellGroupConfig as an OCTET STRING (often Base64-encoded). The HiCellTek decoder automatically detects this tunnel, extracts the NR payload, and decodes the full CellGroupConfig according to TS 38.331, no manual extraction needed.

What 3GPP release does the decoder support?

The HiCellTek NR RRC decoder supports 3GPP TS 38.331 up to Release 17. This includes all R15 baseline NR messages, R16 extensions (NR-DC, conditional handover, two-step RACH, IAB), and R17 additions (FR2 band extensions, RedCap/NR-Light, SDT, NTN, enhanced beam management). The ASN.1 schema is compiled from the official 3GPP ASN.1 module, ensuring full IE coverage.

Related resources

Decode 5G NR RRC in the field

HiCellTek integrates real-time NR RRC decoding directly on Android. Analyze CellGroupConfig on-site, no laptop needed.

Discover HiCellTek