/AWS1/CL_IOTTHINGCONNECTIVITY¶
The connectivity status of the thing.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_connected TYPE /AWS1/IOTBOOLEAN /AWS1/IOTBOOLEAN¶
True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.
iv_timestamp TYPE /AWS1/IOTCONNECTIVITYTIMESTAMP /AWS1/IOTCONNECTIVITYTIMESTAMP¶
The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for approximately an hour, the time value might be missing.
iv_disconnectreason TYPE /AWS1/IOTDISCONNECTREASON /AWS1/IOTDISCONNECTREASON¶
The reason why the client is disconnected. If the thing has been disconnected for approximately an hour, the
disconnectReasonvalue might be missing.
Queryable Attributes¶
connected¶
True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONNECTED() |
Getter for CONNECTED, with configurable default |
ASK_CONNECTED() |
Getter for CONNECTED w/ exceptions if field has no value |
HAS_CONNECTED() |
Determine if CONNECTED has a value |
timestamp¶
The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for approximately an hour, the time value might be missing.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TIMESTAMP() |
Getter for TIMESTAMP, with configurable default |
ASK_TIMESTAMP() |
Getter for TIMESTAMP w/ exceptions if field has no value |
HAS_TIMESTAMP() |
Determine if TIMESTAMP has a value |
disconnectReason¶
The reason why the client is disconnected. If the thing has been disconnected for approximately an hour, the
disconnectReasonvalue might be missing.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DISCONNECTREASON() |
Getter for DISCONNECTREASON, with configurable default |
ASK_DISCONNECTREASON() |
Getter for DISCONNECTREASON w/ exceptions if field has no va |
HAS_DISCONNECTREASON() |
Determine if DISCONNECTREASON has a value |