> Have a look at the test scripts in test directory (connman repo),
> these are in python and sort of easy to read so it should help you to
> do the same in node-js.

In order to solve this, you Stavros need to write the node-js app so
that it registers itself with the Agent API to ConnMan and pops up a
dialog (or does some other magic) when requested by ConnMan.

That means node-js needs to have native bindings to D-Bus and the
node-js app must not exit before it has done whatever task it was set up
to perform. As soon as the process exits, ConnMan notices this and
removes the agent from its data structures...

HTH,

        Patrik

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to