Reputation: 403
I have an AdhocHost which is inherited from INET's own AdhocHost module, however, I wish to replace the Network Interface Card (wlan) with the one I have manually developed. How can I do that?
Upvotes: 0
Views: 175
Reputation: 403
Ok... so after digging into INET's code, I found out that it's easily possible using the typename
parameter.
I simply had to add the following line to the parameters section of my CustomAdhoc.ned:
wlan[*].typename = default("myCustomNic");
Upvotes: 1