I have all the examples up and running for the INET (AODV) simulation. My network comprises of number of AODV Router hosts.
My next task is to exchange some custom massages regarding each host's current position (which will be updated after a certain time through Mobility). All the examples I found (normally) are of tictoc which is asking me to build a simpleModule in a .cc file and then use that module in the .ned file. I want to use the AODVRouter module to exchange these messages (as it already has the implemented things that I need for the network).
This is the example I used for exchanging messages with a cSimpleModule
I have tried this example (as described in INET project), but the problem here is that it is only extending cSimpleModule. Since I want to use AODVRouter module (from INET) as my sender and receiver, I can't use this example. So my question is, what is the other way to do it (i.e. sending and receiving messages through INET modules such as AODVRouter module).