Hi, in my experience, using the emulator won't work if you're using an IP transport, because the Android emulator doesn't support multicast messages.
Hope this helps, Salvatore On Fri, May 20, 2016 at 5:15 PM, Martin Gluhak <mr.gluhak at gmail.com> wrote: > Hello, > I am trying to make two android devices communicate using IoTivity. > Currently using one armeabi phone and an x86 emulator in android studio. > > Reading the documentation, I thought using SimpleServer on one device and > SimpleClient on the emulator they would be able to connect, and the client > would see the server "light" resource. (using example apps) > Is this the wrong interpretation of what these applications are intended > for? Or is using the emulator maybe the problem? > > The only way i found the "light" resources in SimpleClient is by starting > SimpleServer parallely on the same device. > > If this is not the right way to connect two android devices using IoTivity, > please suggest another solution. > > I would be grateful if somebody could explain how to achieve this. > > Thank You in advance, > Martin > > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev > -- Salvatore Iovene <salvatore.iovene at intel.com> Linux Software Engineer Intel Open Source Technology Center, Finland Tel.: +358504804026
