On Wed, 2015-06-03 at 17:38 +0530, Saurav Babu wrote:
> <EP-584CD5AB95AE4A3A879836122994DB42>
This id isn't very descriptive for this project.
> ---
> client/commands.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/client/commands.c b/client/commands.c
> index 2397883..ca8ceaa 100644
> --- a/client/commands.c
> +++ b/client/commands.c
> @@ -1161,6 +1161,14 @@ static int cmd_config(char *args[], int num, struct
> connman_option *options)
> config_return, g_strdup(service_name),
> NULL, NULL);
> break;
> + case 'c':
> + res = __connmanctl_dbus_method_call(connection,
> + CONNMAN_SERVICE, path,
> + "net.connman.Service", "ClearProperty",
> + config_return, g_strdup(service_name),
> + config_append_str, &append);
> + index += append.values;
> + break;
> default:
> res = -EINVAL;
> break;
> @@ -2142,6 +2150,7 @@ static struct connman_option config_options[] = {
> {"autoconnect", 'a', "yes|no"},
> {"ipv4", 'i', "off|dhcp|manual <address> <netmask> <gateway>"},
> {"remove", 'r', " Remove service"},
> + {"clear", 'c', "property Clear service property"},
> { NULL, }
> };
>
Currently ConnMan doesn't allow for too many properties to be cleared,
but that is another future patch.
Cheers,
Patrik
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman