Skip to content

CAN<->Ethernet ANDL error #6

Answered by THaeckel
pminjiq asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Minji,

For a CANNode -> Gateway -> ETHERNET -> Ethernet Node I have made the following modification on the small network example using the WithQ config:

  1. disabled buffering in the omnetpp.ini line 45 **.gateway.buffering[*].typename = "NoGatewayBuffering"
  2. removed canNode2, canbus2, and gateway2 from smallNetwork.ned with all their connections.
  3. added EthernetSink Node
    • add import for host import core4inet.nodes.ethernet.tsn.TSNEtherHost;
    • add node to submodules ethSink: TSNEtherHost;
    • add connections: ethSink.ethg <--> cable { delay = 50ns; } <--> switch.ethg[1];
  4. added ethSink ini:
    **.ethSink.phy[*].mac.address = "0A-00-00-00-00-04"
    **.ethSink.phy[*].untaggedVID = 0
    **.ethSink.phy[*].ta…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Musteblume
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #5 on August 01, 2022 13:42.