Hi Users/ Developers,
This is my first post on ibrdtn community and I must appreciate for the great work already done. I am in the midst of research project where I use ibrdtn and I am facing issues for a while now since I moved to the latest version (ibrdtn v0.10.0) on my ARM based Raspberry Pi, which came to my notice when I updated my distro on RPi. I quote my simple setup first and then 4 questions. (Please answer in as detail as possible, so that it may help others too :)
Simple setup
------------------
Testing Raspberry PI nodes in a network: Communication over eth0.
Raspbian Wheezy distro on ARM.
Ibrdtn v.0.10.0 (avaiable via direct sudo apt-get install)
PROBLEM 1:: Naming convention and knowing the source!
----------------------------------------------
- I have multiple nodes in a mesh say A,B,C,D. 'A' is mobile, others are static nodes.
- 'A', the mobile node will send information to node 'D'. So, 'A' 'DTNSend's to 'D'. The bundle will be deployed when it sees 'D'.
- D receives the bundle from A (eventually). This is stored in /bundles (as per configuration setting) automatically with some file name 5bhhsadjh5343dsfds234wfdsdsvgfsfssdf....
My question is:
1. How will 'D' ever know 'who' sent him the bundle. Currently, it just shows some weird name of the file that was received. If I don't run DTNRecv --file 'name', it is stored with weird filename. Was it A, B or C who sent this message? Is there a way for 'D' to find this out?
2. Can I store the bundle that I receive from node A in some created folder (automatically without waiting for bundle via DTNRecv), with the same filename as sent by the source 'A'?
PROBLEM 2:: Static routing
-----------------------------------------------
From what my understanding of DTN is that, if two nodes are running dtnd deamon, they will discover each other. My nodes are configured with static IP address.
Without assigning the static routes in the ibrdtn.config file 'the nodes cannot discover and communicate with each other.
I have used it without specifying IPs of any kind. Why should I do this? Can't they discover without it? I want to use static IPs for all nodes in the mesh.
PROBLEM 3:: DTNTrigger
-------------------------------------
It specifies that a script will be triggered on receipt of a bundle. Again, (similar to problem 1), can I know who sent this to me. I need to process this in my own program in python.
PROBLEM 4: Statistical logging missing (in the latest version)?
----------------------------------------------
- Statistic Logger replaced by API management calls
How do I use them, is there any example showing this? f there is an API, which one is it?
Looking forward to your kind response.
Thank you,
Shyam