Hi all,
I have checked the discovery message used between dtn users. This message include Data which contains (user name, IP address, port number).
I want to add, in the discovery message, another information "seq" which contains integer values.
For instance seq=[2,5,0,6,8].
Thus, when receiving the discovery messages, i can see the sequences of my neighbors.
Where can i add this ? In which class or method ?
I am using an adhoc network connecting 3 machines.
Thanks for your help,
Best Regards, Ghada Ghada Jaber Etudiante en 5eme année Réseau informatique et Telecommunication a l'INSAT Stagiaire a l'IRIT/ENSEEIHT Tel : 003385681703 email : jaberghada@yahoo.fr Skype : ghada.jaber90
Hi Ghada,
you can study how this is done by the DTNTPWorker component.
https://github.com/ibrdtn/ibrdtn/blob/master/ibrdtn/daemon/src/DTNTPWorker.c...
You need to implement the methods "onUpdateBeacon" and register at the DiscoveryAgent.
https://github.com/ibrdtn/ibrdtn/blob/master/ibrdtn/daemon/src/DTNTPWorker.c...
Kind regards, Johannes
Am 14.05.2014 11:10, schrieb Ghada Jaber:
Hi all,
I have checked the discovery message used between dtn users. This message include Data which contains (user name, IP address, port number).
I want to add, in the discovery message, another information "seq" which contains integer values. For instance seq=[2,5,0,6,8].
Thus, when receiving the discovery messages, i can see the sequences of my neighbors.
Where can i add this ? In which class or method ?
I am using an adhoc network connecting 3 machines.
Thanks for your help,
Best Regards, Ghada
Ghada Jaber Etudiante en 5eme année Réseau informatique et Telecommunication a l'*INSAT * Stagiaire a l'*IRIT*/*ENSEEIHT* Tel : 003385681703 email : jaberghada@yahoo.fr Skype : ghada.jaber90
participants (2)
-
Ghada Jaber
-
Johannes Morgenroth