I want to log raw SINR

2 views
Skip to first unread message

Angèle Hager Hafaiedh

unread,
Feb 3, 2026, 10:53:22 AM (24 hours ago) Feb 3
to ns-3-users
Here is a snippet of the code 
"// 1. Install devices
NetDeviceContainer gnbNetDev = nrHelper->InstallGnbDevice(satellites, allBwps);
NetDeviceContainer ueNetDev  = nrHelper->InstallUeDevice(groundNodes, allBwps);

// 2. Attach UEs to gNBs
nrHelper->AttachToClosestGnb(ueNetDev, gnbNetDev);

// 3. Connect SINR callback **after attachment**
Config::Connect(
    "/NodeList/*/DeviceList/*/$ns3::NrUeNetDevice/ComponentCarrierMapUe/*/NrUeSpectrumPhy/RxSpectrumSinr",
    MakeCallback(&RxSpectrumSinrCb));

"
But I get this error
"msg="Could not connect callback to /NodeList/*/DeviceList/*/$ns3::NrUeNetDevice/ComponentCarrierMapUe/*/NrUePhy/RxSpectrumSinr", +0.000000000s -1 file=/home/ahh0879/Bureau/projet3/ns-3-dev/src/core/model/config.cc, line=972
NS_FATAL, terminating
terminate called without an active exception
Command 'build/contrib/nr/examples/ns3.44-leo-ntn-cbr-flowmonitor-default' died with <Signals.SIGABRT: 6>."
I don't want to log the processed SINR (DlDataSinr)

What is the correct path?
Thank you in advance
Reply all
Reply to author
Forward
0 new messages