Oh I checked it out and it's working fine now. :)
I thought it's just grammar that already included in the core of simulator
Thank you so much for your fast reply and solution.



Thanks & Regards
Injung.


2016? 9? 1? (?) ?? 12:10, Senthil Kumar G <senthil.gs at samsung.com>?? ??:

> Hello Injung Hwang,
>
>
>
> The oic.r.energy.battery.json file has a dependency on two more
> files(oic.core.json and oic.baseResource.json).
>
> *oic.r.energy.battery.json file*
>
> *........*
>
>    "allOf": [
>     {"$ref": "*oic.core.json*#/definitions/oic.core"},
>     {"$ref": "*oic.baseResource.json*#/definitions/oic.r.baseresource"},
>     {"$ref": "#/definitions/oic.r.energy.battery"}
>   ],
>
> Resources can't be created if the referenced files are not available in
> the same path.
>
> I have attached the dependent files which you may use for creating the
> resources. Please paste these files in the same path.
>
> And also, as Mr. Uze Choi said, simulator provides support for creating a
> resource manually without RAMLs. Please have a look into that.
>
>
>
> Thanks & Regards,
>
> Senthil Kumar G S
>
>
>
> --------- *Original Message* ---------
>
> *Sender* : InJung Hwang <sinban04 at gmail.com>
>
> *Date* : 2016-08-31 07:26 (GMT+5:30)
>
> *Title* : Re: [dev] Error while simulator reading raml file
>
>
>
>
> Ah, okay, thank you so much for your reply about my problem.
>
> I used raml, json file from the Web site OCF.
> I can't download the file, so i made file, copy and paste the content.
>
> I attached one of those files.
> please check it out.
>
> Thanks.
> Injung.
>
>
> 2016? 8? 30? (?) ?? 6:32, ???(Uze Choi) <uzchoi at samsung.com>?? ??:
>
>> Hi Injung,
>>
>
>>
>> Simulator has the functionality to load the RAML&JSON file for resource
>> setting.
>>
>> However, RAML and JSON file are not completely exact from syntax
>> perspective.
>>
>> File parser in the Simulator usually adapt some of incompleteness by some
>> manipulation logic.
>>
>> Whenever spec file is updated, there is still possibility to fail to
>> parse it. Please understand this situation.
>>
>>
>>
>> Anyway, If you share the raml&json file which you tested, it will be good
>> to analyze from someone who manage it.
>>
>> Please remind you can make the resource in the simulator by manual
>> setting also.
>>
>>
>>
>> BR, Uze Choi
>>
>> *From:* iotivity-dev-bounces at lists.iotivity.org [mailto:
>> iotivity-dev-bounces at lists.iotivity.org] *On Behalf Of *InJung Hwang
>> *Sent:* Wednesday, August 31, 2016 10:23 AM
>> *To:* iotivity-dev at lists.iotivity.org
>> *Subject:* [dev] Error while simulator reading raml file
>>
>
>>
>>
>>
>> Hello, now i'm testing IoTivity simulator to read raml resource file.
>>
>> However, when i try to create resource with raml file in simulator,
>>
>> it returns error "failed to create resource" and does not work.
>>
>>
>>
>> When i try to create several resource instances with raml,
>>
>> It returns same error and additional "SIMULATOR_BAD_OBJECT" error.
>>
>> Is simulator being used now? or in the middle of test?
>>
>> If not, how can i fix the problem of creating resource with raml?
>>
>> I made raml file with json file in the same directory.
>>
>> (e.g. battery.raml, oic.r.energy.battery.json)
>>
>> If someone knows the problem and solution, please let me know.
>>
>> Thanks.
>>
>> Injung.
>>
>> --
>>
>>
>>
>>
>> ? ? ?
>>
>> ?????? ?????????? ???????
>>
>> ???? ????? ???
>>
>>
>>
>> InJung, Hwang
>>
>> SungKyunKwan University
>>
>> Combined Master & Ph.D Course in Electronic, Electrical & Computer
>> Engineering
>>
>> Embedded Software Lab.
>>
>> e-mail :sinban at skku.edu / sinban04 at gmail.com
>>
>> phone : +82 10-8558-4364
>>
>>
>>
>> _______________________________________________
>> iotivity-dev mailing list
>> iotivity-dev at lists.iotivity.org
>> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>>
> --
>
>
> ? ? ?
> ?????? ?????????? ???????
> ???? ????? ???
>
> InJung, Hwang
> SungKyunKwan University
> Combined Master & Ph.D Course in Electronic, Electrical & Computer
> Engineering
> Embedded Software Lab.
> e-mail :sinban at skku.edu / sinban04 at gmail.com
> phone : +82 10-8558-4364
>
>
>
>
> _______________________________________________
> iotivity-dev mailing listiotivity-dev at 
> lists.iotivity.orghttps://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
>
> --


? ? ?
?????? ?????????? ???????
???? ????? ???

InJung, Hwang
SungKyunKwan University
Combined Master & Ph.D Course in Electronic, Electrical & Computer
Engineering
Embedded Software Lab.
e-mail :sinban at skku.edu / sinban04 at gmail.com
phone : +82 10-8558-4364
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160901/911ecc05/attachment.html>
-------------- 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/20160901/911ecc05/attachment.png>
-------------- 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/20160901/911ecc05/attachment-0001.png>

Reply via email to