Hello to everyone,
I'm Lelio Campanile from Università degli Studi della Campania "Luigi Vanvitelli" and I'm starting to study ns3.
I'm trying to use the lr-wpan module and I'm traslating the lr-wpan-data.cc in python. I was able to get everything work but the follow code:
Simulator::ScheduleWithContext (1, Seconds (0.0),
&LrWpanMac::McpsDataRequest,
dev0->GetMac (), params, p0);
that I traslate in
ns.core.Simulator.ScheduleWithContext(1, ns.core.Seconds(0.0),
ns.lr_wpan.LrWpanMac().McpsDataRequest,
dev0.GetMac(), params, p0)
But I get this error:
TypeError: function takes at most 2 arguments (4 given)
Could anyone help me?
Thanks,
Lelio