Hi,I m working on the energy model of sensor network. i want to print node's 
energy after transmission and reception of packets with node ID on the 
terminal. I've been able to print the the energy spent on transmission and 
reception but without node ID. I'll be extremely  grateful if anyone can guide 
how i can print those values from energy-model.cc file. The sample o/p I m 
getting right now is given below:#####################74 sending TDMA schedule 
(ADV_SCH): 197 219 at time 4.570386EE 999.998783energy consumed in transmission 
0.004734EE 999.994109energy conusmed in reception 0.001052energy conusmed in 
reception 0.000420energy conusmed in reception 0.000904energy conusmed in 
reception 0.000527energy conusmed in reception 0.001065energy conusmed in 
reception 0.001011energy conusmed in reception 0.000393energy conusmed in 
reception 0.000924#####################################Regards,Najma Ismat
                                          

Reply via email to