You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating a nodeJS application that is supposed to help with device commissioning.
From that application, I want to be able to interface with the device commissioning process.
Unfortunately, the commissioning-cli does not provide any realistic way of interfacing with JavaScript code.
The SWIG interface file doesn't work, since it has a strong dependency on Java. Also, SWIG cannot handle std::shared_ptr.
Some solutions I have in mind are:
update the SWIG process to work for JS
open up the coap protocol to allow for alternative clients
provide an API for a commissioning-daemon (REST, ...)
Is there any clever Idea I am missing?
The text was updated successfully, but these errors were encountered:
If there are problems with SWIG and can't be workaround, try writing a node.js addon for the commissioner? https://nodejs.org/api/addons.html
Also, SWIG cannot handle std::shared_ptr
Do you mean SWIG_javascript doesn't support translating std::shared_ptr? I think it's used in only two places in commissioner.hpp and you can ignore those methods and create replacements with node.js addon?
I am creating a nodeJS application that is supposed to help with device commissioning.
From that application, I want to be able to interface with the device commissioning process.
Unfortunately, the commissioning-cli does not provide any realistic way of interfacing with JavaScript code.
The SWIG interface file doesn't work, since it has a strong dependency on Java. Also, SWIG cannot handle std::shared_ptr.
Some solutions I have in mind are:
Is there any clever Idea I am missing?
The text was updated successfully, but these errors were encountered: