Hi Salvatore, thank you for your reply it was very helpful. I have in the meantime managed to get IoTivity working by connecting a real Android device to Linux and Arduino. It seems you were correct about the problem.
If somebody else is reading this, refrain from testing on the emulator, as it might not work. Martin Martin On Fri, May 20, 2016 at 4: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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160602/aede040e/attachment.html>
