Actually in eclipse IDE its working fine. but I am trying to use the
SImulator_server and Simulator_client from
[<NAME>/iotivity-master/service/simulator/examples/server] and
[<NAME>/iotivity-master/service/simulator/examples/client]
but its not working, I am able to create resource but not able start the
resource in step 3 it is throwing one error
// while runing simulator_server
1. Simulate resource
2. Display resource information
3. Start resource
4. Stop resource
5. Automate resource update
6. Automate attributes update
7. Stop Automation
8. Get Observers of a resource
9. Set Logger
10. Set Device Info
11. Set Platform Info
12. Add Interface
13. Help
0. Exit
######################################
Enter your choice: 1
ENTER RAML path:
<NAME>/Downloads/OIC-Release-1.0.0/LIGHT.raml
Single type resource created [URI: /LIGHTResURI ]
Enter your choice: 2
1: /LIGHTResURI
Choose the resource: 1
#############################
Name: LIGHT
URI: /LIGHTResURI
Resource type:
Interface type: oic.if.baseline
oic.if.a
oic.if.s
##### Representation #####
{ "LIGHT" : 0, "brightness" : , "color" : RED, }
#############################
Enter your choice: 3 // *here, when i want to start the resource*
1: /LIGHTResURI
Choose the resource: 1
terminate called after throwing an instance of 'SimulatorException'
what(): Incomplete data to start resource!
Aborted (core dumped)
<NAME>/iotivity-master/out/linux/x86_64/rele
On Thu, Sep 29, 2016 at 1:27 AM, Philippe Coval <
philippe.coval.pro at gmail.com> wrote:
>
>
> On Wed, Sep 28, 2016 at 9:35 AM, Jotirling Swami <
> jotirling.swami at smartron.com> wrote:
>
>> Respected sir,
>> I am using Iotivity 1.1.1 on Linux platform. we are trying to execute the
>> .raml files which are taken from [ http://www.oneiota.org/documen
>> ts?filter%5Bmedia_type%5D=application%2Framl%2Byaml ]
>> site. we require clarification on whether these .raml files only works
>> with eclipse IDE or is their any way to compile using terminal.
>>
>>
>
> Hi,
> Good question,
> You can load them from the simulator,
> make sure to clone the whole git repo, as they're including relative json
> files,
>
> So there should have some java classes to parse them,
> I don't know about C or C++ ones, are they any ? they should work along
> libyaml ?
>
> Regard.
>
> --
> https://wiki.tizen.org/wiki/User:Pcoval
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160929/2a0e6b37/attachment.html>