'TDMA and FDMA based slot assignment protocol in OMNeT++
I need to implement TDMA and FDMA based slot assignment protocol. I have written the code for TDMA slot assignment but very much confused about the FDMA part. Will someone please help me in writing the code for FDMA for a simple scenario. In which two nodes are using full duplex radios and working on two different frequencies. If node1 needs to communicate to node 2 thn node 2 must shift its frequency to node 1 frequency. I have not worked with the radios yet. In TDMA part i am using senddirect for sending messages. Kindly help me with the code of FDMA?
Solution 1:[1]
You have to use multiple radios in a single host. A good starting point is the example in inet path examples/manetrouting/multiradio
. Run the simulation configuration MultiRadio within omnetpp.ini
.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | dblock |