package obus

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include OBus_proxy.Private
type t = private OBus_proxy.proxy
val of_proxy : OBus_proxy.proxy -> t
val to_proxy : t -> OBus_proxy.proxy
type state = [
  1. | `Unknown
  2. | `Unmanaged
  3. | `Unavailable
  4. | `Disconnected
  5. | `Prepare
  6. | `Config
  7. | `Need_auth
  8. | `Ip_config
  9. | `Activated
  10. | `Failed
]
type state_reason = [
  1. | `Unknown
  2. | `None
  3. | `Now_managed
  4. | `Now_unmanaged
  5. | `Config_failed
  6. | `Config_unavailable
  7. | `Config_expired
  8. | `No_secrets
  9. | `Supplicant_disconnect
  10. | `Supplicant_config_failed
  11. | `Supplicant_failed
  12. | `Supplicant_timeout
  13. | `Ppp_start_failed
  14. | `Ppp_disconnect
  15. | `Ppp_failed
  16. | `Dhcp_start_failed
  17. | `Dhcp_error
  18. | `Dhcp_failed
  19. | `Shared_start_failed
  20. | `Shared_failed
  21. | `Autoip_start_failed
  22. | `Autoip_error
  23. | `Autoip_failed
  24. | `Modem_busy
  25. | `Modem_no_dial_tone
  26. | `Modem_no_carrier
  27. | `Modem_dial_timeout
  28. | `Modem_dial_failed
  29. | `Modem_init_failed
  30. | `Gsm_apn_failed
  31. | `Gsm_registration_not_searching
  32. | `Gsm_registration_denied
  33. | `Gsm_registration_timeout
  34. | `Gsm_registration_failed
  35. | `Gsm_pin_check_failed
  36. | `Firmware_missing
  37. | `Removed
  38. | `Sleeping
  39. | `Connection_removed
  40. | `User_requested
  41. | `Carrier
  42. | `Connection_assumed
  43. | `Supplicant_available
]
type typ = [
  1. | `Unknown
  2. | `Ethernet
  3. | `Wifi
  4. | `Gsm
  5. | `Cdma
]
type capability = [
  1. | `Nm_supported
  2. | `Carrier_detect
]
val disconnect : t -> unit Lwt.t
val state_changed : t -> (state * state * state_reason) OBus_signal.t
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
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
OCaml

Innovation. Community. Security.