Hi everybody
I am working on WBAN .
We are stuck at one point in working with Omnet++ that stop our further progress .
Now a days I am working on Mixim CSMA Mac Layer (NED, INI AND CC file) coding. During editing the code I am facing a Problem.
Problem:
whatever we edit in .CC file that does not effect the result.
for example.
we create a new function in which we calculate the total data and take its result from Finish() function as:
void csmaMaclayer::totaltransdata()
{
////
double timeBackoff =7*aUnitBackoffPeriod + 0.000000128;
double tFrame = (aMaxPhyPacketSize + PHR )*32;
tData =timeBackoff + tFrame + turnAtime + tAcktime;
////
}
void csmaMaclayer::finish() {
recordScalar("nbBackoffs", nbBackoffs);
recordScalar("backoffValues", backoffValues);
recordScalar("nbtxFrame",nbTxFrames);
recordScalar("txAttempts", txAttempts);
recordScalar("tData", tData);
BaseMacLayer::finish();
}
But the result show only above three values which it already define.
further more if delete hole function this will not effect the result the output show the same result.
please anyone tell me why this happen and how can we sold it?
thanks