obus

Pure Ocaml implementation of the D-Bus protocol
Library obus.network_manager
Module Nm_device . Wireless
type wireless_capability = [
| `Cipher_wep40(*

The device supports the 40-bit WEP cipher.

*)
| `Cipher_wep104(*

The device supports the 104-bit WEP cipher.

*)
| `Cipher_tkip(*

The device supports the TKIP cipher.

*)
| `Cipher_ccmp(*

The device supports the CCMP cipher.

*)
| `Wpa(*

The device supports the WPA encryption/authentication protocol.

*)
| `Rsn(*

The device supports the RSN encryption/authentication protocol.

*)
]
type wifi_mode = [
| `Unknown(*

Mode is unknown.

*)
| `Adhoc(*

Uncoordinated network without central infrastructure.

*)
| `Infra(*

Coordinated network with one or more central controllers.

*)
]
val get_access_points : t -> Nm_access_point.t list Lwt.t
val properties_changed : t -> (string * OBus_value.V.single) list OBus_signal.t
val access_point_added : t -> Nm_access_point.t OBus_signal.t
val access_point_removed : t -> Nm_access_point.t OBus_signal.t
val hw_address : t -> string OBus_property.r
val mode : t -> int OBus_property.r
val bitrate : t -> int OBus_property.r
val active_access_point : t -> OBus_proxy.t OBus_property.r
val wireless_capabilities : t -> int OBus_property.r
val properties : t -> OBus_property.group