Skip to content

Implementing willingness  #28

@aleixsb

Description

@aleixsb

Hi! I was wondering if it's possible that nodes decide to forward or not to forward packets depending on its battery state. I've seen that OLSR implements an attribute called willingness that actually does this function, but for what I've seen in all packets this attribute is set to 3 (unknown), I assume this is because the willingness function it's not implemented yet.. Am I right?

So if I want to implement this what would I need to do? Modify Node class and add Willingness attribute related to the battery state of the node and modify the class OLSRProtocol to take willingness into account?

I'm a bit lost here if anyone can give me some advice would be nice! Ty!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions