Hi,

On Mon, 2015-10-05 at 14:50 +0000, Francesco Bruno wrote:
> I'm trying to clear properties using the net.connman.Service
> For instance in order to clear out the AutoConnected flag, I've
> written the following code:
> g_dbus_proxy_call_sync( myProxy, "ClearProperty",
> g_variant_new( "(s)", "AutoConnect"), G_DBUS_CALL_FLAGS_NONE,  -1,
> NULL, NULL );

Your code is correct. Unfortunately ConnMan's ClearProperty is not
implemented for quite a few properties. I can ask jhannika to fix this
on Thursday.

Meanwhile you can set AutoConnect to false instead of using the
currently not implemented ClearProperty.

Cheers,

        Patrik

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

Reply via email to