> For the complete documentation index, see [llms.txt](https://docs.eseye.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eseye.com/modules/cinterion-r-els61-wireless-module/sending-data-from-your-thing-to-the-cloud.md).

# Sending data from your thing to the cloud

### Before you begin

* Using a terminal emulator, send an `AT` command to ensure that the smart terminal can receive AT commands.

  **Note:** For information about connecting a terminal emulator to the modem, see [Connecting to the LTE Cat.1-xx click](https://docs.eseye.com/Content/ELS61/ELS61RS232SerialConnection.htm).
* Send an `AT+ETMINFO=version` command to verify that the version number is `2.0.20` or higher.

  If the version number is not in this range, you will need to update the modem software. For more information, see [Updating software – Cinterion® ELS61 Wireless Module](https://docs.eseye.com/modules/cinterion-r-els61-wireless-module/updating-software-cinterion-els61-wireless-module.md).
* Ensure you know the thing name that you set up in AWS.

To test that your thing can publish information to AWS:

1. Create two publish topics in the Cinterion® ELS61 Wireless Module.
   1. Using a terminal emulator, type:

      `at+emqpubopen=0,"PublishToCloud0"`\<return>

      `at+emqpubopen=1,"PublishToCloud1"`\<return>
   2. Check that the first two index numbers are assigned a topic each. Type:

      `at+emqpubopen?`\<return>

      A list of index numbers and their assigned topics appears.

      ![](https://893902233-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR60wMwGxVlr3J15eCIGp%2Fuploads%2Fgit-blob-38a566c89330e3ca3955210fcbc7d7bc49a698db%2Femqpubopen.png?alt=media)
2. Subscribe to the newly created publish topics in AWS.
   1. UsingAWS IoT, in the left hand menu, select **Test** to open the MQTT test client, then ensure you are on the **Subscribe to a topic** tab.

      ![](https://893902233-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR60wMwGxVlr3J15eCIGp%2Fuploads%2Fgit-blob-0f09403344153241f5be088f76c15008a527c661%2FAWS_Subscribe1.png?alt=media)
   2. In the**Topic filter** box, type:

      `+/<ThingName>`

      This subscribes AWS to all topics related to your thing.
   3. Select **Subscribe**.

      ![](https://893902233-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR60wMwGxVlr3J15eCIGp%2Fuploads%2Fgit-blob-848468f63be3bdc300f14e73ec4495ce0b357784%2FAWS_Subscribe2.png?alt=media)

      A subscription appears, listed in the Subscriptions panel.
3. Publish information to the topics you created in the Cinterion® ELS61 Wireless Module.

   **Note:** You can send a maximum payload of 1000 characters to AWS.

   1. Using the terminal emulator, type:

      `at+emqpublish=0,1,"{\"Temperature\": 24}"`\<return>

      `at+emqpublish=1,1,"{\"BatteryPower\": \"Low\"}"`\<return>

      The emqpublish command uses the following syntax:

      `at+emqpublish=IndexNumber,QoS,`

      `"{PublishDataInJSON}"`

      ![](https://893902233-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR60wMwGxVlr3J15eCIGp%2Fuploads%2Fgit-blob-996a413bb7609c483ec47e25c8a14da76e6fd7f7%2Femqpublish.png?alt=media)

      These messages instantly appear in AWS.
4. View the published information in AWS.
   1. In the Subscriptions panel, select **+/<*****thingName*****>** to view all published messages.

      ![](https://893902233-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR60wMwGxVlr3J15eCIGp%2Fuploads%2Fgit-blob-b368d010421831ab1e2c1cf54bff8bfa53beed9d%2FSubscriptionMessages.png?alt=media)

{% hint style="success" %}
If you can see the messages in AWS, then your thing can successfully publish data into the cloud through the Cinterion® ELS61 Wireless Module.
{% endhint %}

Next, test that the cloud can publish messages to your thing.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eseye.com/modules/cinterion-r-els61-wireless-module/sending-data-from-your-thing-to-the-cloud.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
