Enumeration

AstalNetworkDeviceState

Declaration

enum AstalNetwork.DeviceState

Description

State of a network device, an alias for NM.DeviceState.

Members

ASTAL_NETWORK_DEVICE_STATE_UNKNOWN

The device state is unknown.

  • Value: 0
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_UNMANAGED

The device is not managed by NetworkManager.

  • Value: 10
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_UNAVAILABLE

The device cannot be used, for example the wifi radio is disabled.

  • Value: 20
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_DISCONNECTED

The device can be activated, but it is not connected.

  • Value: 30
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_PREPARE

The device is preparing the connection.

  • Value: 40
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_CONFIG

The device is connecting to the network.

  • Value: 50
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_NEED_AUTH

The device needs more information to connect, such as a password.

  • Value: 60
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_IP_CONFIG

The device is requesting IPv4 and/or IPv6 addresses.

  • Value: 70
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_IP_CHECK

The device is checking whether further action is required.

  • Value: 80
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_SECONDARIES

The device is waiting for a secondary connection, such as a VPN.

  • Value: 90
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_ACTIVATED

The device is connected.

  • Value: 100
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_DEACTIVATING

The device is disconnecting.

  • Value: 110
  • Available since: 0.1
ASTAL_NETWORK_DEVICE_STATE_FAILED

The device failed to connect.

  • Value: 120
  • Available since: 0.1