Common API tooling with WAMP messaging.
This is work in progress, we plan to provide a 1.0 release during first half of 2018.
The binding code generator from this project will create C++ code which needs a proper runtime library. One can find the runtime library in the companion project https://github.com/GENIVI/capicxx-wamp-runtime. Please ensure that the runtime library version matches the code generator version.
A jar-file with a portable command-line code generator from the latest successful master build can be downloaded from here.
There is an experimental JS code generator for the client-side, which can be used in combination with the CommonAPI C++ server-side generator. It is provided as part of Franca 13 (or later).
This code generator supports so far:
- connect/disconnect handling
- methods (not including fireAndForget)
- broadcasts (not including selective)
- primitive types, plus arrays, enums and structs
There is now a context menu item Generate JS code for Autobahn-binding
for fidl-files, available in the Franca sub-menu. It will generate the client side proxy and a blueprint-example-file in the src-gen
folder of the containing workspace project.
Additional information on this project is available in this presentation.