For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Sending data from the cloud to your thing

Before you begin

Ensure your thing can send information to the cloud.

For more information, see Sending data from your thing to the cloud .

To test that AWS can publish information to your thing:

  1. Create two subscribe topics in the Cinterion® PLS62‑W Wireless Module.

    1. Using a terminal emulator, type:

      at+emqsubopen=0,"SubscribeFromCloud0"<return>

      at+emqsubopen=1,"SubscribeFromCloud1"<return>

    2. Check that the first two index numbers are assigned a topic each. Type:

      at+emqsubopen?<return>

      A list of index numbers and their assigned topics appears.

  2. Use AWS to publish a message to each topic.

    1. Using the AWS IoT MQTT test client, select the Publish to a topic tab.

    2. In the Topic name box, type:

      SubscribeFromCloud0/<AWSthingName>

    3. In the coding window, replace

      Hello from AWS IoT console with

      Turn heating on

    4. Select Publish.

    5. In the Publish box, type:

      SubscribeFromCloud1/AWSthingName

    6. In the coding window, replace

      Turn heating on with

      Heat for 1 hour

    7. Select Publish.

      View the AWS messages in the terminal emulator, in the following format:

      +EMQ: <indexnumber>,<messagelength>
      {
      "message": "<messagetext>"
      }

Last updated

Was this helpful?