Skip to content

/AWS1/CL_LOCDEVICESTATE

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

CONSTRUCTOR

IMPORTING

Required arguments:

iv_deviceid TYPE /AWS1/LOCID /AWS1/LOCID

The device identifier.

iv_sampletime TYPE /AWS1/LOCTIMESTAMP /AWS1/LOCTIMESTAMP

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

it_position TYPE /AWS1/CL_LOCPOSITION_W=>TT_POSITION TT_POSITION

The last known device position.

Optional arguments:

io_accuracy TYPE REF TO /AWS1/CL_LOCPOSITIONALACCURACY /AWS1/CL_LOCPOSITIONALACCURACY

Accuracy

iv_ipv4address TYPE /AWS1/LOCSTRING /AWS1/LOCSTRING

The device's Ipv4 address.

it_wifiaccesspoints TYPE /AWS1/CL_LOCWIFIACCESSPOINT=>TT_WIFIACCESSPOINTLIST TT_WIFIACCESSPOINTLIST

The Wi-Fi access points the device is using.

io_cellsignals TYPE REF TO /AWS1/CL_LOCCELLSIGNALS /AWS1/CL_LOCCELLSIGNALS

The cellular network infrastructure that the device is connected to.


Queryable Attributes

DeviceId

The device identifier.

Accessible with the following methods

Method Description
GET_DEVICEID() Getter for DEVICEID, with configurable default
ASK_DEVICEID() Getter for DEVICEID w/ exceptions if field has no value
HAS_DEVICEID() Determine if DEVICEID has a value

SampleTime

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

Accessible with the following methods

Method Description
GET_SAMPLETIME() Getter for SAMPLETIME, with configurable default
ASK_SAMPLETIME() Getter for SAMPLETIME w/ exceptions if field has no value
HAS_SAMPLETIME() Determine if SAMPLETIME has a value

Position

The last known device position.

Accessible with the following methods

Method Description
GET_POSITION() Getter for POSITION, with configurable default
ASK_POSITION() Getter for POSITION w/ exceptions if field has no value
HAS_POSITION() Determine if POSITION has a value

Accuracy

Accuracy

Accessible with the following methods

Method Description
GET_ACCURACY() Getter for ACCURACY

Ipv4Address

The device's Ipv4 address.

Accessible with the following methods

Method Description
GET_IPV4ADDRESS() Getter for IPV4ADDRESS, with configurable default
ASK_IPV4ADDRESS() Getter for IPV4ADDRESS w/ exceptions if field has no value
HAS_IPV4ADDRESS() Determine if IPV4ADDRESS has a value

WiFiAccessPoints

The Wi-Fi access points the device is using.

Accessible with the following methods

Method Description
GET_WIFIACCESSPOINTS() Getter for WIFIACCESSPOINTS, with configurable default
ASK_WIFIACCESSPOINTS() Getter for WIFIACCESSPOINTS w/ exceptions if field has no va
HAS_WIFIACCESSPOINTS() Determine if WIFIACCESSPOINTS has a value

CellSignals

The cellular network infrastructure that the device is connected to.

Accessible with the following methods

Method Description
GET_CELLSIGNALS() Getter for CELLSIGNALS