9
The information contained herein is the exclusive property of AzureWave and shall not be distributed, reproduced, or
disclosed in whole or in part without prior written permission of AzureWave.
2. AWS Command Example
Please find the command details in
AWS CONNECTOR AT Command Set
.
Below are commands for the demo:
1. Turn on Wi-Fi module:
AT+WIFI_On
2. Retrieve the Wi-Fi AP
|
Station Mode:
AT+WIFI_GetMode
3. Perform a Wi-Fi network scan:
AT+WIFI_Scan
4. Set and store the Wi-Fi AP information when AW-CU300A V3 in Station Mode:
AT+WIFI_SetAP
=
SSID
,
password,security type
SSID
: SSID of AP (case sensitive)
password
: password for AP (case sensitive)
security type
: OPEN | WEP | WPA | WPA2
5. Connect to the AP:
AT+WIFI_Connect
6. Define and store Thing-specific configuration:
AT+THING_Set=client ID,endpoint,client certificate,client private key
client ID:
Thing name(Client ID)
endpoint:
AWS IoT endpoint URL
client certificate:
Certificate for this Thing
client private key:
Private key for this Thing
7. Connect the client to MQTT broker:
AT+MQTT_Connect
8. Subscribe to and save MQTT topic:
AT+MQTT_Subscribe
=<topic>,<qos>
9. Publish to MQTT topic:
AT+MQTT_Publish=topic,message,qos
topic
: Topic to publish to
message
: Message to publish
qos
: 0 | 1
2.1 Getting Started with AWS IoT Core
Step 0
:
The below link is a documents of how to setup AWS IOT, you can refer to it for full AWS
IOT knowledge.
https://docs.aws.amazon.com/iot/latest/developerguide/iot-gs.html
But, if you want to setup AzureWave AWS Connector, you would just refer to the following steps.