0

I am working with the Castalia simulator and I am trying to do some modification in TunableMAC.CC file under MAC directory. My intention is the sleepingInterval (Duration of sleeping) of node should not be same in execution of entire simulation.

According to my understanding in TunableMAC.cc module, the dutyCycle value we are providing in omnetpp.ini is assigned to dutyCycle parameter in startup() method and remains the same during entire execution of simulation.

I do not want static dutyCycle value for my entire simulation.

1 Answer 1

1

The Castalia User's Manual already describes how you can dynamically change several MAC and radio parameters including dutyCycle.

Read section 4.3.1.1 Dynamically adjusting Tunable MAC parameters from the application module.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.