On 12/06/2017 11:07 PM, Vasyl Vavrychuk wrote:
Thanks for feedback. Please find my comment below.
On Wed, Dec 6, 2017 at 11:12 PM, Daniel Wagner <wagi(a)monom.org
void LoadProvisioning(object service, string provisioning)
Upload a provisioning for given service.
I think that besides setting this parameters to connman, we should
provide possibility to get this parameter from connman. It is because
user may want to find out what is current settings.
How about just to have in service api property
which is in XML (or maybe JSON) format. This is very simple rework of
what Lucio implemented and looks like it suits requirements of Marcel.
The main reason I was pondering why to add it to the Manager API is that
we might now have the service object there. So it's about the use case
when the user wants to add a provisioning for a service which is not yet
there, e.g. WiFi network is not yet in reach.
But then my API proposal has the same problem. We would need to know in
advanced the object path. And that is something we really don't want to
do. The path should be considered as random strings.
I think we have a problem with the different concepts here. Thinking
load: an entry in the provisioning file is identified either via MAC or
SSID, IINW. If we follow this we should reuse those keys for an entry.
Would that make sense?