# Module Nm_device

    module Nm_device: sig .. end

NetworkManager devices

    include OBus_proxy.Private

###### Common interface

Types

    type state = [ `Activated
           | `Config
           | `Disconnected
           | `Failed
           | `Ip_config
           | `Need_auth
           | `Prepare
           | `Unavailable
           | `Unknown
           | `Unmanaged ]

    type state_reason = [ `Autoip_error
           | `Autoip_failed
           | `Autoip_start_failed
           | `Carrier
           | `Config_expired
           | `Config_failed
           | `Config_unavailable
           | `Connection_assumed
           | `Connection_removed
           | `Dhcp_error
           | `Dhcp_failed
           | `Dhcp_start_failed
           | `Firmware_missing
           | `Gsm_apn_failed
           | `Gsm_pin_check_failed
           | `Gsm_registration_denied
           | `Gsm_registration_failed
           | `Gsm_registration_not_searching
           | `Gsm_registration_timeout
           | `Modem_busy
           | `Modem_dial_failed
           | `Modem_dial_timeout
           | `Modem_init_failed
           | `Modem_no_carrier
           | `Modem_no_dial_tone
           | `No_secrets
           | `None
           | `Now_managed
           | `Now_unmanaged
           | `Ppp_disconnect
           | `Ppp_failed
           | `Ppp_start_failed
           | `Removed
           | `Shared_failed
           | `Shared_start_failed
           | `Sleeping
           | `Supplicant_available
           | `Supplicant_config_failed
           | `Supplicant_disconnect
           | `Supplicant_failed
           | `Supplicant_timeout
           | `Unknown
           | `User_requested ]

    type typ = [ `Cdma | `Ethernet | `Gsm | `Unknown | `Wifi ]

    type capability = [ `Carrier_detect | `Nm_supported ]

Methods

    val disconnect : t -> unit Lwt.t

Signals

    val state_changed : t ->
           (state * state * state_reason) OBus_signal.t

Properties

    val udi : t -> string OBus_property.r

    val interface : t -> string OBus_property.r

    val driver : t -> string OBus_property.r

    val capabilities : t -> capability list OBus_property.r

    val ip4_address : t -> int32 OBus_property.r

    val state : t -> state OBus_property.r

    val ip4_config : t -> Nm_ip4_config.t OBus_property.r

    val dhcp4_config : t -> Nm_dhcp4_config.t OBus_property.r

    val ip6_config : t -> Nm_ip6_config.t OBus_property.r

    val managed : t -> bool OBus_property.r

    val device_type : t -> typ OBus_property.r

    val properties : t -> OBus_property.group

###### Specific device interfaces

    module Bluetooth: sig .. end

    module Cdma: sig .. end

    module Gsm: sig .. end

    module Olpc_mesh: sig .. end

    module Serial: sig .. end

    module Wired: sig .. end

    module Wireless: sig .. end