Managing the device shadow
Using AWS IoT Core, you can add shadows to AWS IoT things. Shadows provide a shared data store for devices, apps, and other cloud services to access and control the current state of a device. This information is available in the cloud when the device itself is offline. AWS things can have multiple shadows to enable devices to connect to other apps and services. For more information, see: AWS IoT Device Shadow service.
Use the AWS device shadow to check AnyNet Secure SIM data for a specific thing, including status, location, usage, and details about the certificate delivery.
For more information, see Viewing Device Shadow metadata.
The shadow details the following attributes:
Attribute | Sub-attribute (if any) | Description |
---|---|---|
status
|
|
SIM state, either:
For more information, see Understanding the SIM lifecycle. |
msisdn
|
|
The SIM card Mobile Station International Subscriber Directory Number |
package_id
|
|
The SIM payment details numerical code, enclosed in quotation marks |
message
|
|
The total free messages provided on the SIM |
|
The remaining number of free messages | |
certificate_update
|
|
The total free certificate updates provided on the SIM |
|
|
The remaining number of free certificate updates |
|
|
The geographic latitude of the most recent cell tower to which the SIM connected |
|
The geographic longitude of the most recent cell tower to which the SIM connected |
|
|
The Mobile Country Code of the most recent cell tower to which the SIM connected. For more information, see: |
|
|
The Mobile Network Code of the most recent cell tower to which the SIM connected. For more information, see: |
|
|
|
Displays the most recent updates made to the SIM, in the following format per log entry: DateTime: MessageType: Description |
|
Certificate Delivery attributes are not returned when the Shadow is requested manually. For more information, see Manually update the Device Shadow metadata. |
|
|
The certificate delivery state, either:
|
|
|
|
The campaign delivery request date and time, in the format: YYYY-MM-DD hh:mm:ss |
|
|
Only displayed if the certificate delivery YYYY-MM-DD hh:mm:ss |
|
|
Only displayed if the certificate delivery |