1
votes

I am using Omnet++ to simulate a custom wireless mac protocol, I am fairly new to omnet so here is my question : can I customize my own nodes ( because I need simple module .cc files to implement the protocol ) and use Inet at the same time to define the characteristics of the channel ( using radiomedium ) ?

I have searched forums and basically anywhere I could look for answer

1

1 Answers

1
votes

Yes. You can. The physical medium is handled by the XXXRadioMedium and the XXXRadio modules in INET. Independent of that, you can set your own MAC protocol. INET already has a lot of MAC protocols, but obviously you can implement your own in C++ and then configure the simulation to use that: I recommend you to take a look at the INET Wireless Tutorial, especially Step 6: