How to Set/Read the MAC Id of a CANoe Simulation
- ID 02:00:00:00:00:01 (first simulated Adapter – i.e. Eth1)
- ID 02:00:00:00:00:02 (second simulated Adapter – i.e. Eth2)
IpGetAdapterMacId gives the MAC Id set for the simulation node. It makes for this MAC Id no difference if real bus or simulated bus is used at Measurement Start. However, it is important to differentiate which TCP/IP stack shall be used for the simulation in the TCP/IP configuration dialog. CANoe Stack is always used for Diagnostic and XCP. It can also be used by the simulated node if configured, like indicated below.
- If use shared CANoe TCP/IP stack has been selected for the simulated node, the Ethernet setting for CANoe are used.
- If individual TCP/IP stack has been selected for the node, the individual Ethernet setting is used for each node.
These pictures illustrate all possible use cases.