Hi Kuldeep,
I am not aware of a code generator which supports a JS-to-C++ connection via the SOME/IP protocol. I also do not know of a SOME/IP stack available for a HTML/JS environment. The latter would be a necessary precondition to build the former.
There is some tooling using the WAMP protocol, though. The runtime is based on Crossbar.io and so called autobahn-bindings. WAMP is based on WebSockets. You can find the project here:
https://github.com/GENIVI/capicxx-wamp-tools . Pls be aware that this tooling (and the corresponding runtime) is not in production state, not every Franca IDL feature is supported yet.
Using capicxx-wamp, you could set up the following architecture:
- the server side provides two implementations for each logical interface, one for the SOME/IP C++ clients and one for the WAMP/JS clients
- for the C++ clients, you use the tooling you already experimented with
- for the HTML/JS clients, you use the tooling from capicxx-wamp-tools
On the capicxx-wamp-tools page, you'll find a link to one of my presentations, which gives a little more explanations.
Hope this helps, regards,
Klaus