According to my understanding, since IoTivity is based on the CoAP protocol so you can use any CoAP supporting tool to interact with resources.
Wikipedia has a list of such libraries and tools here[0]. One of the easiest ways I believe is the Copper[1] Firefox addon. This[2] video is a good introduction. Skip to about 22nd minute if you just want to see the Copper addon in action. [0] https://en.wikipedia.org/wiki/Constrained_Application_Protocol#Implementations [1] https://addons.mozilla.org/en-US/firefox/addon/copper-270430/ [2] https://www.youtube.com/watch?v=5kXILQi8Tns -Shivam On Fri, Jul 22, 2016 at 6:58 PM, EZAYEN Salim via iotivity-dev < iotivity-dev at lists.iotivity.org> wrote: > Hi, > How can i send a request unicast in terminal to controll each device ? > from client to server !! > Thank you > > *Cordialement,* > > > > > *Salim Zayen* > *?l?ve ing?nieur * > *t?l?phone :+216 23 85 66 25* > *esprit*? > > 2016-07-22 11:48 GMT+01:00 Mats Wichmann <mats at osg.samsung.com>: > >> On 07/22/2016 06:51 PM, Muhammad Mushfiqul Islam wrote: >> > Hello, >> > >> > Actually platform (Android/Linux/Tizen/Windows) is irrelevant. All you >> need is server and client app, on whichever platform. As you need to >> control light, fan and door, it will be better if you have 3 different >> server apps for them, or you can have a single server app having all those >> resources(a refrigerator, probably??) >> > >> > Then you need to run a client app which will discover those resources >> and later send unicast as you wish. >> > >> > If you have built iotivity for Linux, then have a look at the sample >> examples at "out/linux/<arch>/release/resource/examples" >> >> indeed - there's even an example "lightserver" among those, looking at >> the source will be instructive. >> >> additionally, though it's more complex to set up, there's an IoTivity >> simulator which can be loaded up with the resources you want and used to >> simulate various types of devices. >> >> developer documentation is still a little... thin... but you can always >> ask for help. >> >> >> >> _______________________________________________ >> iotivity-dev mailing list >> iotivity-dev at lists.iotivity.org >> https://lists.iotivity.org/mailman/listinfo/iotivity-dev >> > > > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160722/ded8bee8/attachment.html>
