Get info from enb application

9 views
Skip to first unread message

Vaison

unread,
Jun 25, 2015, 1:05:01 PM6/25/15
to ns-3-...@googlegroups.com
Hi guys!

I'm trying to get the information from an object that it is an EpcEnbAplication, I saw that GetS1apSapEnb() has 2 structs, when I tried to go inside the struct and show the variable I get this error

error: invalid use of 'struct ns3::EpcS1apSapEnb::ErabSwitchedInUplinkItem'

The line in the code is
enbApp->GetS1apSapEnb()->ErabSwitchedInUplinkItem.enbTeid

If I do
EpcS1apSapEnb::ErabSwitchedInUplinkItem newerab;
newerab
.enbTeid = 25;

I don't get any error, so... Why I'm taking bad the struct?? I don't know how I should or what I'm doing wrong.

Any help, would be appreciate

Regards,

~V
Reply all
Reply to author
Forward
0 new messages