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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160831/58d661f6/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: battery.raml Type: application/octet-stream Size: 2346 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160831/58d661f6/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: oic.r.energy.battery.json Type: application/json Size: 798 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160831/58d661f6/attachment.json>
