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:[email protected]] 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 -------------- next part -------------- HTML ?????? ??????????????... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160831/fdc9fdb0/attachment.html>
