Git Product home page Git Product logo

Comments (7)

m-wegner avatar m-wegner commented on May 26, 2024

For Nakagami we use the following entry in our omnetpp.ini:

*.radioMedium.pathLossType = "NakagamiFading"

from artery.

riebl avatar riebl commented on May 26, 2024

Security is disabled by default for performance reasons. You can enable it by setting the typename of Vanetza.ned's security submodule to "artery.networking.SecurityEntity". SecurityEntity has further parameters to customise its behaviour, see SecurityEntity.ned.

m-wegner's approach works when you are using INET as foundation. For Veins, you need to edit the config.xml and set the AnalogueModel's type to "NakagamiFading" (not tested).

from artery.

oscarmex1986 avatar oscarmex1986 commented on May 26, 2024

So, if I understand correctly, I just have to add a line in Vanetza.ned that would be.
*.securityModule.typename = "artery.networking.SecurityEntity"

I am familiar with the configuration for the security parameters, in the last version of Artery that I had those parameters were set in Middleware.ned. In fact, what I am intending to do is to see the same behavior, where all messages were around 370 bytes in lenght when the security parameters were in null and dummy values, and also fluctuating packet sizes with Naive and Straight values. What I need is to have that behavior in the new version of artery.

from artery.

riebl avatar riebl commented on May 26, 2024

Sorry @oscarmex1986, it turns out that I have made another mistake when refactoring the integration of Vanetza in Artery. I have added a simple example to scenarios/artery/omnetpp.ini, the inet_security configuration, at 699a9a5.

from artery.

oscarmex1986 avatar oscarmex1986 commented on May 26, 2024

I cloned the new commit, and when trying to build the run_example, this appeared:
Error: NED type 'artery.networking.SecurityEntity' could not be fully resolved due to a missing base type or interface, at /home/oscar/artery/src/artery/networking/SecurityEntity.ned:3

from artery.

riebl avatar riebl commented on May 26, 2024

Oops, that's embarrassing: I missed to add the ISecurityEntity module interface to the previous commit.

from artery.

oscarmex1986 avatar oscarmex1986 commented on May 26, 2024

Great. Security is enabled now. Thanks.

from artery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.