Patrick,

I saw that I could disable autoconnect from services, but the
interface was not disabled (consumes energy). The wifi interface could
be disabled:

connmanctl disable wifi
connmanctl enable wifi

Joaquim Duran

2015-05-04 15:38 GMT+02:00 Patrik Flykt <[email protected]>:
> On Mon, 2015-05-04 at 14:34 +0200, Joaquim Duran wrote:
>> Dear all,
>>
>> I'm developing an embedded device managed by a custom application. The
>> device only have a network interface: the wifi. The wifi interface is
>> only activated by the application when it needs to transfer data with
>> a server. As the wifi interface is disabled in the most part of time,
>> is it possible to configure the connman to disable the wifi interface
>> when the connman is executed?
>
> If one disables autoconnect from the WiFi services, ConnMan does not
> connect automatically to them anymore. Autoconnect can be disabled with
> 'connmanctl config wifi_XXXXXX autoconnect off', or more generally by
> setting the AutoConnect attribute to false with the SetProperty()
> service D-Bus method call. After this something else needs to issue a
> Technology API Scan() and call Service D-Bus API Connect() when the
> network is needed.
>
> See doc/technology-api.txt and doc/service-api.txt in the source tar
> ball.
>
> Cheers,
>
>         Patrik
>
> _______________________________________________
> connman mailing list
> [email protected]
> https://lists.connman.net/mailman/listinfo/connman
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to