package obus
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4001c0756f8edd48a7d3a43ce9d984d3f3946abb627e63bf5ab2376f1b861c99
md5=218be0245e55bfa1d6fdd324bbedf568
doc/obus.network_manager/Nm_device/index.html
Module Nm_device
NetworkManager devices
include OBus_proxy.Private
type t = private OBus_proxy.proxyval of_proxy : OBus_proxy.proxy -> tval to_proxy : t -> OBus_proxy.proxyCommon interface
Types
type state = [ | `Unknown(*The device is in an unknown state.
*)| `Unmanaged(*The device is not managed by NetworkManager.
*)| `Disconnected(*The device is not connected.
*)| `Prepare(*The device is preparing to connect.
*)| `Config(*The device is being configured.
*)| `Need_auth(*The device is awaiting secrets necessary to continue connection.
*)| `Ip_config(*The IP settings of the device are being requested and configured.
*)| `Activated(*The device is active.
*)| `Failed(*The device is in a failure state following an attempt to activate it.
*)
]type state_reason = [ | `Unknown(*The reason for the device state change is unknown.
*)| `None(*The state change is normal.
*)| `Now_managed(*The device is now managed.
*)| `Now_unmanaged(*The device is no longer managed.
*)| `Config_failed(*The device could not be readied for configuration.
*)| `Config_expired(*The IP configuration is no longer valid.
*)| `No_secrets(*Secrets were required, but not provided.
*)| `Supplicant_disconnect(*The 802.1X supplicant disconnected from the access point or authentication server.
*)| `Supplicant_config_failed(*Configuration of the 802.1X supplicant failed.
*)| `Supplicant_failed(*The 802.1X supplicant quit or failed unexpectedly.
*)| `Supplicant_timeout(*The 802.1X supplicant took too long to authenticate.
*)| `Ppp_start_failed(*The PPP service failed to start within the allowed time.
*)| `Ppp_disconnect(*The PPP service disconnected unexpectedly.
*)| `Ppp_failed(*The PPP service quit or failed unexpectedly.
*)| `Dhcp_start_failed(*The DHCP service failed to start within the allowed time.
*)| `Dhcp_error(*The DHCP service reported an unexpected error.
*)| `Dhcp_failed(*The DHCP service quit or failed unexpectedly.
*)| `Autoip_start_failed(*The AutoIP service failed to start.
*)| `Autoip_error(*The AutoIP service reported an unexpected error.
*)| `Autoip_failed(*The AutoIP service quit or failed unexpectedly.
*)| `Modem_busy(*Dialing failed because the line was busy.
*)| `Modem_no_dial_tone(*Dialing failed because there was no dial tone.
*)| `Modem_no_carrier(*Dialing failed because there was carrier.
*)| `Modem_dial_timeout(*Dialing timed out.
*)| `Modem_dial_failed(*Dialing failed.
*)| `Modem_init_failed(*Modem initialization failed.
*)| `Gsm_apn_failed(*Failed to select the specified GSM APN.
*)| `Gsm_registration_not_searching(*Not searching for networks.
*)| `Gsm_registration_denied(*Network registration was denied.
*)| `Gsm_registration_timeout(*Network registration timed out.
*)| `Gsm_registration_failed(*Failed to register with the requested GSM network.
*)| `Gsm_pin_check_failed(*PIN check failed.
*)| `Firmware_missing(*Necessary firmware for the device may be missing.
*)| `Removed(*The device was removed.
*)| `Sleeping(*NetworkManager went to sleep.
*)| `Connection_removed(*The device's active connection was removed or disappeared.
*)| `User_requested(*A user or client requested the disconnection.
*)| `Carrier(*The device's carrier/link changed.
*)| `Connection_assumed(*The device's existing connection was assumed.
*)| `Supplicant_available(*The 802.1x supplicant is now available.
*)
]Methods
Signals
val state_changed : t -> (state * state * state_reason) OBus_signal.tProperties
val udi : t -> string OBus_property.rval interface : t -> string OBus_property.rval driver : t -> string OBus_property.rval capabilities : t -> capability list OBus_property.rval ip4_address : t -> int32 OBus_property.rval state : t -> state OBus_property.rval ip4_config : t -> Nm_ip4_config.t OBus_property.rval dhcp4_config : t -> Nm_dhcp4_config.t OBus_property.rval ip6_config : t -> Nm_ip6_config.t OBus_property.rval managed : t -> bool OBus_property.rval device_type : t -> typ OBus_property.rval properties : t -> OBus_property.groupSpecific device interfaces
module Bluetooth : sig ... endmodule Cdma : sig ... endmodule Gsm : sig ... endmodule Olpc_mesh : sig ... endmodule Serial : sig ... endmodule Wired : sig ... endmodule Wireless : sig ... end