Values.DeviceStateSourceThe device's position, IP address, and Wi-Fi access points.
type nonrec t = {deviceId : Id.t;The device identifier.
*)sampleTime : Timestamp.t;The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
*)position : Position.t;The last known device position.
*)accuracy : PositionalAccuracy.t option;ipv4Address : DeviceStateIpv4AddressString.t option;The device's Ipv4 address.
*)wiFiAccessPoints : WiFiAccessPointList.t option;The Wi-Fi access points the device is using.
*)cellSignals : CellSignals.t option;The cellular network infrastructure that the device is connected to.
*)}val make :
?accuracy:??? ->
?ipv4Address:??? ->
?wiFiAccessPoints:??? ->
?cellSignals:??? ->
deviceId:Id.t ->
sampleTime:Timestamp.t ->
position:Position.t ->
unit ->
tval 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 ]