User Manual

AWS IoT ExpressLink SARA-R5 Starter Kit - Getting started
UBX-21042016 - R02 Connecting to and interacting with the AWS cloud Page 15 of 20
C1-Public
After a short while, you should receive the response OK.
You should see the Hello World! message appear on the AWS IoT console under the topic data.
In poor coverage conditions there may be up to a 30 second delay between the message arriving
in the AWS IoT console and OK being returned in the terminal application.
6.3 Receiving data and commands from the AWS cloud
To receive messages on your device, in the terminal application type the command AT+CONF
Topic1=/MyTopic and press <return>.
You should receive the response OK.
The AT+CONF TopicX command is NOT persistent across power-cycles of the device.
Next, type the command AT+SUBSCRIBE1 and press <return>; you should receive the response OK.
You must re-subscribe after an AT+DISCONNECT or after powering-down the module.
From the AWS IoT console MQTT test client, select Publish to a topic, type /MyTopic into the Topic
name field (replacing the # that was there), under Message payload enter Hello from the AWS IoT
console and then click Publish.