On Wed, 2016-06-01 at 14:49 +0000, Natarajan, Ponniah (P.) wrote:
connman 1.31 is used
Please use 1.32, it contains a lot of bug fixes. None related to
technology.c, so it's not affecting this issue, though.
in our platform, Sometimes there is no powered status reported on
powerup. But the connman settings file for WIFI Enable flag shows
"true", whereas when run the connmanctl "technologies" which returns
the powered status as "False"..
It looks like there is no sync between the connman settings and the
technologies powered status notification.
/var/lib/connman# cat settings
As this file is under /var/lib/, it is the property of ConnMan. ConnMan
won't read it again after starting and will only write to the file when
ConnMan shuts down or something changes. The latter I cannot remember
if it happens or not, please read the source code.
Name = WiFi
Type = wifi
Powered = False
Connected = False
Tethering = False
This is the correct run-time information. The contents of the file
/var/lib/connman/settings corresponds to the initial setup how things
was supposed to be at startup.
Please correct me whether my understandings are wrong..
Note: This issues occurs very sporadic.
Logs of at least -d src/technology.c. Impossible to say what is going