Module Values.DeviceStateSource

The device's position, IP address, and Wi-Fi access points.

Sourcetype nonrec t = {
  1. deviceId : Id.t;
    (*

    The device identifier.

    *)
  2. sampleTime : Timestamp.t;
    (*

    The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    *)
  3. position : Position.t;
    (*

    The last known device position.

    *)
  4. accuracy : PositionalAccuracy.t option;
  5. ipv4Address : DeviceStateIpv4AddressString.t option;
    (*

    The device's Ipv4 address.

    *)
  6. wiFiAccessPoints : WiFiAccessPointList.t option;
    (*

    The Wi-Fi access points the device is using.

    *)
  7. cellSignals : CellSignals.t option;
    (*

    The cellular network infrastructure that the device is connected to.

    *)
}
Sourceval context_ : string
Sourceval make : ?accuracy:??? -> ?ipv4Address:??? -> ?wiFiAccessPoints:??? -> ?cellSignals:??? -> deviceId:Id.t -> sampleTime:Timestamp.t -> position:Position.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Double of Double.t | `Structure of (string * [> `Integer of WiFiAccessPointRssInteger.t | `String of WiFiAccessPointMacAddressString.t ]) list ] list | `String of Id.t | `Structure of (string * [> `Double of PositionalAccuracyHorizontalDouble.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Float of Rsrq.t | `Integer of EutranCellId.t | `List of [> `Structure of (string * [> `Float of Rsrq.t | `Integer of Earfcn.t ]) list ] list | `Structure of (string * [> `Integer of Earfcn.t ]) list ]) list ] list ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t