-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I modify OLSR? #8
Comments
Hi Tamim, Cool. Service discovery is on our top ten list of desired features. Once You're right. You just need to replace the olsrd binary in /res/raw. The version of olsrd included in the Manet Manager is compiled from this Note that olsrd has gone through a few updates since I grabbed their You might want to try running "adb shell" to get a shell session to your /data/data/org.span/bin/olsrd Refer to this file: Here's how it's executed in the code: String command = CoreTask.DATA_FILE_PATH + "/bin/olsrd" + Note the "-ignore" option is a customization I made for blacklisting peers.
On Thu, Aug 29, 2013 at 10:03 AM, Tamim Sookoor [email protected]:
|
Thank you very much for your prompt response. I downloaded the source from android-manet-olsrd and am trying to compile it, but keep getting errors. I run the make command as follows: "make OS=android" with the latest android-ndk and I get the following errors: /home/tsookoor/android-ndk-r9_64/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: src/plugin_loader.o: in function olsr_load_dl:src/plugin_loader.c:102: error: undefined reference to 'dlopen' Any help with resolving this issue would be greatly appreciated. Thanks, Tamim |
I am trying to modify the OLSR protocol in MANET Manager to be used for resource discovery similar to the approach described in the paper titled "Service Discovery using OLSR and Bloom Filters".
The OLSR implementation in MANET Manager is a binary, /res/raw/olsrd, so I downloaded olsrd-0.6.6 from here:
http://www.olsr.org/?q=download
compiled it and replaced the binary on MANET Manager to see if it was replaceable. On an Android device the MANET Manager starts up, but when the startAdhocBtn is pressed and ad-hoc mode is started two buttons are displayed on the main screen, one showing it started and the other showing it stopped as shown in the first screenshot. When I click the Route Info menu option, MANET Manager crashes as shown in the second screenshot.
Am I using an incorrect version of olsrd? If so, what version should I use? Or, have you modified the default olsrd for MANET Manager? If so, how can I get access to the modified source code?
Thanks,
Tamim
The text was updated successfully, but these errors were encountered: