@@ -71,15 +71,16 @@ enum connman_service_state {
};
enum connman_service_error {
- CONNMAN_SERVICE_ERROR_UNKNOWN = 0,
- CONNMAN_SERVICE_ERROR_OUT_OF_RANGE = 1,
- CONNMAN_SERVICE_ERROR_PIN_MISSING = 2,
- CONNMAN_SERVICE_ERROR_DHCP_FAILED = 3,
- CONNMAN_SERVICE_ERROR_CONNECT_FAILED = 4,
- CONNMAN_SERVICE_ERROR_LOGIN_FAILED = 5,
- CONNMAN_SERVICE_ERROR_AUTH_FAILED = 6,
- CONNMAN_SERVICE_ERROR_INVALID_KEY = 7,
- CONNMAN_SERVICE_ERROR_BLOCKED = 8,
+ CONNMAN_SERVICE_ERROR_UNKNOWN = 0,
+ CONNMAN_SERVICE_ERROR_OUT_OF_RANGE = 1,
+ CONNMAN_SERVICE_ERROR_PIN_MISSING = 2,
+ CONNMAN_SERVICE_ERROR_DHCP_FAILED = 3,
+ CONNMAN_SERVICE_ERROR_CONNECT_FAILED = 4,
+ CONNMAN_SERVICE_ERROR_LOGIN_FAILED = 5,
+ CONNMAN_SERVICE_ERROR_AUTH_FAILED = 6,
+ CONNMAN_SERVICE_ERROR_INVALID_KEY = 7,
+ CONNMAN_SERVICE_ERROR_BLOCKED = 8,
+ CONNMAN_SERVICE_ERROR_ONLINE_CHECK_FAILED = 9,
};
enum connman_service_proxy_method {
@@ -384,6 +384,8 @@ static const char *error2string(enum connman_service_error error)
return "invalid-key";
case CONNMAN_SERVICE_ERROR_BLOCKED:
return "blocked";
+ case CONNMAN_SERVICE_ERROR_ONLINE_CHECK_FAILED:
+ return "online-check-failed";
}
return NULL;