V | |
+---------------+ | |
| configuration |-----------------+ |
- +---------------+ error |
- | |
- | success |
- V |
- +---------------+ |
- | ready | |
- +---------------+ |
- | |
- | success |
+ +---------------+ error | |
+ | | |
+ | success | |
+ V | |
+ +---------------+ +-------------+ |
+ | ready |----------->| login | |
+ +---------------+ +-------------+ |
+ | | |
+ | success | |
+ | | |
+ +---------------------------+ |
+ | authentication |
V |
+---------------+ |
| online |<----------------+ |
Valid states are "idle", "failure", "association",
"configuration" and "ready".
+ Also "login" and "online" states are used. The
+ state "online" signals that an Internet connection
+ is available and has been verified.
+
string Error [readonly]
The service error status details.
CONNMAN_SERVICE_STATE_ASSOCIATION = 2,
CONNMAN_SERVICE_STATE_CONFIGURATION = 3,
CONNMAN_SERVICE_STATE_READY = 4,
- CONNMAN_SERVICE_STATE_ONLINE = 5,
- CONNMAN_SERVICE_STATE_DISCONNECT = 6,
- CONNMAN_SERVICE_STATE_FAILURE = 7,
+ CONNMAN_SERVICE_STATE_LOGIN = 5,
+ CONNMAN_SERVICE_STATE_ONLINE = 6,
+ CONNMAN_SERVICE_STATE_DISCONNECT = 7,
+ CONNMAN_SERVICE_STATE_FAILURE = 8,
};
enum connman_service_error {
return "configuration";
case CONNMAN_SERVICE_STATE_READY:
return "ready";
+ case CONNMAN_SERVICE_STATE_LOGIN:
+ return "login";
case CONNMAN_SERVICE_STATE_ONLINE:
return "online";
case CONNMAN_SERVICE_STATE_DISCONNECT:
case CONNMAN_SERVICE_STATE_ASSOCIATION:
case CONNMAN_SERVICE_STATE_CONFIGURATION:
case CONNMAN_SERVICE_STATE_READY:
+ case CONNMAN_SERVICE_STATE_LOGIN:
case CONNMAN_SERVICE_STATE_ONLINE:
break;
}
case CONNMAN_SERVICE_STATE_CONFIGURATION:
return;
case CONNMAN_SERVICE_STATE_READY:
+ case CONNMAN_SERVICE_STATE_LOGIN:
case CONNMAN_SERVICE_STATE_ONLINE:
break;
}
case CONNMAN_SERVICE_STATE_CONFIGURATION:
return;
case CONNMAN_SERVICE_STATE_READY:
+ case CONNMAN_SERVICE_STATE_LOGIN:
case CONNMAN_SERVICE_STATE_ONLINE:
break;
}
case CONNMAN_SERVICE_STATE_FAILURE:
case CONNMAN_SERVICE_STATE_DISCONNECT:
case CONNMAN_SERVICE_STATE_READY:
+ case CONNMAN_SERVICE_STATE_LOGIN:
case CONNMAN_SERVICE_STATE_ONLINE:
break;
case CONNMAN_SERVICE_STATE_ASSOCIATION: