[Smac-users] Energy problem fixed

mehmet b. mbuyukozer at yahoo.com
Mon May 9 01:13:18 PDT 2005


Hi Ali
 
I had difficulty while compiling your smac code. It would be better if you put upper letters for min() and max() functions in wireless-phy.cc::sendDown(). 
When I made them MAX() and MIN() it stopped giving error.

Thank you for sharing your work.
 
Best regards

Ali Hummos <ahummos at hotmail.com> wrote:





Hi,

I have modified some files in ns2 to solve the energy problem of smac based on the hint Wei Ye provided to this mailing list couple of months ago. I believe my modification solves the energy problem of smac in ns2.

Please see my website (under miscellaneous) for more details and to download the modified files with explanation and some Energy results for 3 cases (No Sleep, SMAC with Adaptive Listening, and SMAC without Adaptive Listening). Please feel free to email me if you have any questions regarding my modification.

http://student.cse.fau.edu/~AABUEL/

 

Based on this modification, you can now specify the sleep power in your NS2 Tcl file:

 

$ns_ node-config           -rxPower 1.00 \

                                     -txPower 2.00 \

                                     -idlePower 1.00 \

                                     -sleepPower 0.00\

 

 

 

Thanks

 

Ali Abu-EL Humos

PH.D Cadidate

Computer Science and Engineering

Florida Atlantic University

aabuel at fau.edu

 

 






---------------------------------
Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE! _______________________________________________
Smac-users mailing list
Smac-users at mailman.isi.edu
http://mailman.isi.edu/mailman/listinfo/smac-users

		
---------------------------------
Discover Yahoo!
 Get on-the-go sports scores, stock quotes, news & more. Check it out!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.isi.edu/pipermail/smac-users/attachments/20050509/6ef1aa23/attachment.html


More information about the Smac-users mailing list