Hi Gwilherm,
while I am not 100% sure, this might actually be an android „feature“: When an Android device is on a Wi-Fi without iNternet connection, it will usually detect this and use the cellular connection.I am not usre, that maybe even without cellular, it might still ignore the Wifi. Things you can try
- Switch off celluar data
- Most Androids have something like „avoid poor Wi-Fi connections“ in their Wi-Fi settings. Turn this feature off.
Another thing is, that Beacons are using multicast/broadcast. So it usually only works if „client isolation“ is turned off in the AP (it is not always straight forward to see or find this feature in consumer APs, so you might have to try). If you are sure one Android sends beacons, join the same WiFi wit a PC and use Wireshark to see, whether you receive multicast or broadcast frames from other devices connected via WiFi)
Sebastian
On 17 Feb 2016, at 16:38, Gwilherm Baudic <gwilherm.baudic@isae.fr> wrote:
Hello everyone,
I am currently experimenting with the IBR-DTN application for Android in
order to get familiar with it. More specifically, my setup is as follows:
* 2 Android smartphones (Android 4.1 and 6.1.0) running IBR-DTN from the
Play store (app 1.0 dtnd 1.0.1 build 570f2b9) and Whisper 1.6, also
downloaded from the Play store. Smartphones do not have any 3G/4G
connection enabled and only have Wifi available for the experiment.
* 1 Wifi access point to which both smartphones are connected.
What I am trying to achieve is very simply, as a first step, to check if
both phones can see each others as neighbours (in the Neighbor list of
IBR-DTN), and try to transfer some Whisper text messages between them.
The settings on IBR-DTN are:
Epidemic routing
Discovery policy always on
Cloud connect Off
Wifi direct Off
Security is deactivated
Time synchronization is also deactivated
Log parameters are set to Debugging with verbosity level 99 and I chose
to save the text files as well for further inspection.
I experimented with several access points (ISP router at home, campus
Wifi, dedicated router on my desk in the lab). From the observations I
made from the phones and the log files, it seems that beacons are
getting produced (and exchanged) only when the access point has a
connection to the Internet.
I feel like I am missing something here, and that the actual reason for
the lack of beacons is totally unrelated to the Internet connectivity.
Does anyone have any idea on this?
On a side note, the naming scheme for the log files looks rather strange
to me. For example, for a log file starting on February 15th, 2016 at
16:15:02, the resulting filename I obtain is 2016115154152 while I would
expect something closer to 20160215161502. With the changing length, the
current naming scheme has the drawback of breaking the alphabetical
order, thus making it really inconvenient to work with lots of files
with different start dates.
Best regards,
Gwilherm Baudic
PhD student, ISAE-SUPAERO
--
!! This message is brought to you via the `ibr-dtn' mailing list.
!! Please do not reply to this message to unsubscribe. To unsubscribe or adjust
!! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de>
!! or look at https://mail.ibr.cs.tu-bs.de/listinfo/ibr-dtn.