Hello, Firstly, thanks for your response! Yes, I used binary switch raml from this link. I used the existing projects of simulator in iotivity github repository, I followed the User's Guide and the mentioned problems (previous email)l are caused.
I tried to import as the projects (simulator, client, service) the jar files which are provided in link: https://mirrors.kernel.org/iotivity/tools/simulator/latest/ and client controller and service provider of the simulator works ok. I don't know if this is ok for the functionality of the simulator in general. Thanks, Valsamakis Yannis 2017-02-22 16:06 GMT+02:00 Senthil Kumar G <senthil.gs at samsung.com>: > Hi Yannis, > > > > I hope you had used *BinarySwitch *raml sample file which is available in > https://wiki.iotivity.org/iotivity_tool_guide for your testing. Else, > please share the files. > > If you double-click on the log entries in 'Simulator Log' view, it will > open another pop-up with more details such as resource URI, interface, > attributes, etc (as given below). > > > > Check whether you see something similar to the above image. > > I would also suggest you to rediscover the resources by selecting the > "Refresh" option in 'Resource Manager' view of 'Client Controller' > perspective, > > Also try to test with resource models available @ http://oneiota.org/. If > you still get the same problem, then please drop a mail back. > > > > Thanks, > > Senthil Kumar G S > > > > --------- *Original Message* --------- > > *Sender* : Valsamakis Yannis <jvalsam at ics.forth.gr> > > *Date* : 2017-02-21 01:05 (GMT+5:30) > > *Title* : [dev] Fwd: Problem with Client Controller of Simulator > > > Hello, > > Following the User's Guide for the Simulator, I installed IoTivity & > Simulator in Ubuntu 16.04 LTS. > > I used switch.raml (exists online) in order to create a device in service > provider. The "Binary Switch" > resource is created successfully start automation works ok. > > Then Client Controller finds the "Binary Switch" resource and enables > GET/PUT/POST/OBSERVE. > When I click PUT&POST buttons, Simulator hasn't response (i.e. nothing in > Simulator.log and > not a pop-up window is created as it is seen in User's Guide). > > Furthermore, when I click GET button, opens a window to send the request > but it resposes > SIMULATOR_UNATHORIZED_REQ (as depicted in below screen shot). > > [image: ???????????? ?????? 2] > > Any idea, what could be the problem? > > Thanks in advance! > > PS: I searched online to find raml which used in User's Guide but I > couldn't find them. Is there a repo that I can find raml example of devices > for the Simulator > > Regards, > > Yannis > PhD Student - University of Crete > > _______________________________________________ > iotivity-dev mailing listiotivity-dev at > lists.iotivity.orghttps://lists.iotivity.org/mailman/listinfo/iotivity-dev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170222/e5f2c893/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 201702221937125_QKNMBDIF.gif Type: image/gif Size: 294666 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170222/e5f2c893/attachment.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: 201602111742151_N3WZA6X7.png Type: image/png Size: 33527 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170222/e5f2c893/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: 201702221937140_7EUABGFC.png Type: image/png Size: 314093 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170222/e5f2c893/attachment-0001.png>
