Hi Fab, Please take a look at https://github.com/openconnectivityfoundation/DeviceBuilder especially the script https://github.com/openconnectivityfoundation/DeviceBuilder/blob/master/DeviceBuilder_NodeIotivityServer.sh this uses https://github.com/openconnectivityfoundation/swagger2x to do code generation. This is not doing C/C++ code yet, but that is in the works… You can help out by sharing an good example of what needs to be generated.
Kind Regards, Wouter From: [email protected] [mailto:[email protected]] On Behalf Of Fab By via iotivity-dev Sent: 08 November 2017 09:43 To: [email protected] Subject: [dev] Build Iotivity resources with RAML,Swagger, json files Hey guys, I’m working on an iotivity application running on a raspberry pi. I created my resources and added values/properties on my server the simple way with OCRepresentation::setValue(). But I think the better way to do this is with RAML, Swagger or json files, so I can use those files on oneiota.org<http://oneiota.org> and my application is more dynamic. The problem is I can’t find a solution, how to create resources with those RAML, Swagger or json files. I read everywhere that it is possible, but how can I do this? I can only find the solution with the Iotivity Simulator, but I don’t want to simulate these resources, I want to attach those files to my real application and build my resources from those files. I hope some of you can help me. Thanks and best regards Fabian
_______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
