Hi all,
i'm using aloha example to start my work and I wanted to use the transmitter power parameters within the transmitter module...
i got "Server" that broadcast a message to "Hosts". I would like to limit the reply of the host based on their distance. Therefore the setting up of transmission power on "Host" will enable the distance parameter.
I manage to add radioMedium as submodules, however unable to have any connection between my modules and the radioMedium.
I tried to trace up radio.cc starting from "transmission count" value (which is currently 0) from RadioMedium.cc and hope to find a handleMessage along the way... Unfortunately, when arrives at "Radio::handleMessageWhenUp" it refers up to OperationalBase::handleMessage(cMessage *)
i have traced:
RadioMedium.cc
transmission count -> addTransmission -> transmitPacket
then it pass to Radio.cc
createRadioFrame -> StartTransmission -> handleUpperPacket -> handleMessageWhenUp
when suddendly pass to OperationalBase.cc
handleMessage.cc
i'm lost.. Could anyone help me to connect my modules with the radioMedium?
thank you
ahmad