Dear Connman developers,

I have a telit HE910-D modem that I need to make it work inside yocto.

the modem is correctly recognized both by connman and ofono
    connmanctl services
    *AO Wired                ethernet_0001c021c253_cable
             3                    cellular_272023119202599_context1
...

And it work fine if I issue the command

    connmanctl connect cellular_272023119202599_context1

And it also reconnect after reboot
My issue is that the first time that you connect the modem
(if there's no configuration folder for it in /var/lib/connman) it doesn't connect automatically

I need a way to say to connman that if there's any cellular modem connected just connect to it.
there's an option or something that I can do without monitoring connman through dbus?
Is this the correct connman behaviour?

Kind Regards
Nicola Lunghi

cat /var/lib/connman/cellular_272023119202599_context1/settings

[cellular_272023119202599_context1]
Name=3
Favorite=true
AutoConnect=true
Modified=2019-10-12T09:23:12.647297Z
IPv4.method=fixed
IPv4.netmask_prefixlen=32
IPv4.local_address=100.71.238.126
IPv6.method=off
IPv6.privacy=disabled

cat /etc/connman/main.conf
[General]
SingleConnectedTechnology=false
FallbackTimeservers=
NetworkInterfaceBlacklist=vmnet,vboxnet,virbr,ifb,ve-,vb-,wlanap
AllowHostnameUpdates=false
DefaultAutoConnectTechnologies=cellular,wifi,ethernet
AlwaysConnectedTechnologies=cellular,wifi
PreferredTechnologies=cellular,wifi,ethernet