Search code examples
omnet++veins

No nic with thid ID () is registered with this ConnectionManager, return empty GateList


I use Veins-4a2 and I have changed the car.ned and its nicType by specifying

string nicType = default("Nic802154_TI_CC2420");

When I run the simulation, I get this window with the following message "Module RSUExampleScenario.node[0].nic.phy: No nic with thid ID (9) is registered with this ConnectionManager, return empty GateList.":

[ [1]

What this message means and how can I adjust it please?


Solution

  • The simulation module you are using was not written to support creation of new modules during runtime. Veins is creating a new module whenever a new car starts driving. This is different to most other network simulations where all nodes are already present at the start of the simulation.

    As the simulation module you are using (Nic802154_TI_CC2420) is not part of Veins, I cannot say how you can change the module to support creation during runtime.