GithubHelp home page GithubHelp logo

Comments (2)

jrobble avatar jrobble commented on July 24, 2024

Hi Aleix,

Yes, in theory it's possible to use the battery state to influence the
willingness value. OLSR states that it already does this:

http://www.olsr.org/docs/report_html/node110.html

I have not done enough investigation to determine if OLSR does or does not
do it on an Android device. According to that link, if you're seeing all
willingness values set to 3, then my assumption is that /proc/apm is not
accessible. You should look into it.

If you had to make any modifications, you would make them to the olsrd C
code, not the SPAN framework:

http://www.olsr.org/?q=mercurial

The precompiled version of olsrd is included with SPAN under /res/raw in
the Eclipse project. The olsrd binary is copied over to
/data/data/org.span/bin on the device when the Manet Manager is installed.

  • Jeff

On Tue, Apr 29, 2014 at 4:00 AM, Aleix Sala Bach
[email protected]:

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!


Reply to this email directly or view it on GitHubhttps://github.com//issues/28
.

from android-manet-manager.

aleixsb avatar aleixsb commented on July 24, 2024

Thank! This is going to be a great help!

from android-manet-manager.

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.