I am facing some teething problems in Castalia Simulator, while creating a simple nodes-to-sink communication pattern.
I want to create a unidirectional topology as describe follows
node 0 <-------> node 1<----------->node 2<-------->node 3
source =node 0
relay node= node 1, 2
Sink node = node 3
Here messages flow from left to right, so node 0 sends only to node 1, node 1 sends only to node 2, and node 2 sends only to node 3. When node 0 want to send data packet to node 3, then node 1 and node 2 worked as intermediate nodes (relay nodes/ forwarding nodes). The neighbor nodes can also send data in unidirectional fashion (left to right) such as node 0 sends to node 1, node 1 sends to node 2 etc.
I read manual and understand the ApplicationName ="ThroughputTest" , but according to my understanding here, all nodes will send data to sink (node 0).
I added following lines in omnetpp.init file:-
SN.node[0].Application.nextRecipient = "1"
SN.node[1].Application.nextRecipient = "2"
SN.node[2].Application.nextRecipient = "3"
SN.node[3].Application.nextRecipient = "3"
But I am not getting my desire result.
Please help me regard this .
Regards
Gulshan Soni