Comments (2)
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.
Thank! This is going to be a great help!
from android-manet-manager.
Related Issues (20)
- Interaction between connectToService/sendStartAdhocCommand and disconnectFromService/sendStopAdhocCommand HOT 38
- Manet Manager can get into a funky state where it will refuse to setup the manet HOT 3
- Adding support for Samsung Galaxy S4 HOT 25
- is there any way to get tx power in android...? HOT 1
- Bluetooth tethering + Wifi appears to drop OLSR packets HOT 4
- Does DNS work? HOT 3
- Is there any APIs for developers to do further work? HOT 2
- Adding support for multiple radios HOT 1
- Adding manet manager to a new app HOT 1
- How to connect application to manet manager (use olsr) HOT 3
- Detect other device IP HOT 5
- Manet application not working HOT 6
- searching for a .config for galaxy s4 sgh-i337 HOT 2
- Manet unable to interact properly with more than 2 devices
- compile edify
- How to build manet manager using android studio
- Error in executing the app on androoid studio HOT 1
- Where are the ad-hoc kernels? HOT 1
- How do I modify OLSR? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-manet-manager.