Hello,
the is no "clean" way to get the local EID using the current API. The
API is designed to keep Apps away from such a detail, so that they do
not depend on the daemon configuration.
For what purpose do you need the local address? Keep in mind that the
address might change, if the user want to change it. If you have found a
good reason for such a feature, we will consider it in the future
development.
Kind regards,
Johannes Morgenroth
Am Samstag, den 30.03.2013, 21:13 +0100 schrieb Álvaro Morán:
> Dear Morgen,
>
>
> I would like to ask you a question about developing apps for IBR DTN
> on Android. Is it possible to know the "Endpoint ID" of the current
> node through the API? I've been searching thoroughly and I haven't
> found a way.
>
>
> I'm aware that that info appears on the log when you turn on the DTN
> service but after a while is deleted because old log entries are
> removed. I'm aware too that making readable the
> file /data/data/de.tubs.ibr.dtn/files/config is another option but I
> would prefer a more "clean" way. And if possible I would prefere not
> to touch your source code.
>
>
> Yours sincerely,
> Álvaro