[ns] Communication between MAC layer and Route Agent to 802.15.4

Ivanovich Medeiroa ivanovitchm at yahoo.com.br
Tue Jun 3 06:12:35 PDT 2008


Dear all,


I'm developing a Route Agent based in tree structure to 802.15.4 extending NOAH. 
So, I need to get the address of a coordinator that is available at MAC layer (MLME_ASSOCIATE_response() ) and forward it to your children through network layer (Route Agent). 

My doubt is the following:  How do I to send the address of a coordinator, in the MAC layer, to the Route Agent?

Surfing in wpan (ns2) source code I see that some variables  "target_ " and "uptarget_" could be used, but they don't work to directions MAC layer to 
Route Agent.

Route Agent to Mac:
Application: send() >> UDP Agent: target_->recv() >> My Route Agent: target_->recv() >> MAC802.15.4: recv()         ok!!!!

I thought the inverse will be:
MAC802.15.4: uptarget_recv() >> My Route Agent: recv()

but it is not work.


Thanks,
Ivanovitch.







________________________________
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! 


      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/


More information about the Ns-users mailing list