Hi, When connman is disconnecting from a network, the global Manager object State goes from online to ready and then to idle. This is the log of state property changes (for both, manager and service):
connect /net/connman/service/wifi_100ba9a58e38_53696c7669614e6574_managed_psk NetworkService::serviceChanged to: "association" NetworkService::serviceChanged to: "configuration" NetworkService::serviceChanged to: "ready" Manager State changed value to: "ready" (old state was "idle" ) NetworkService::serviceChanged to: "online" Manager State changed value to: "online" (old state was "ready" ) disconnect /net/connman/service/wifi_100ba9a58e38_53696c7669614e6574_managed_psk Manager State changed value to: "ready" (old state was "online" ) NetworkService::serviceChanged to: "association" NetworkService::serviceChanged to: "disconnect" State changed value to: "idle" (old state was "ready" ) NetworkService::serviceChanged to: "idle" The docs for the Manager State property says: If at least one service is in "ready" state and no service is in "online" state, then it will indicate the "ready" state. When disconnecting, no service gets the "ready" state, however the Manager gets it. It looks like connman does a __connman_notifier_leave_online when disconnecting, and at that point the state_chage check for connected technologies is still true. Thanks! Salu2 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
