![AzureWave AW-CU300A V3 Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/azurewave/aw-cu300a-v3/aw-cu300a-v3_getting-started-manual_3043720013.webp)
13
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.2 Publish and Monitor MQTT message on the cloud
Step 0: Make sure the AP under test is connected to the internet using other Wi-Fi enabled
devices. Assume the SSID, password and security type of the AP is MySSID, MyPassword,
wpa2.
Step 1: Connect the AW-CU300A V3 to the system (refer to
) and turn off the
wireless devices near the AW-CU300A V3 (except for the device under test). Turn on the Wi-Fi
module of the AW-CU300A V3 using
AT+WIFI_On
Step 2: Check if AW-CU300A V3 is in station mode using
AT+WIFI_GetMode
Step 3: Set and store information of the AP using
AT+WIFI_SetAP=
MySSID,MyPassword,wpa2
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
Step 4: Connect to the AP:
AT+WIFI_Connect
Step 5
:
Define and store Thing-specific configuration using
AT+THING_Set
command
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 (downloaded in 3.1 step 3)
client private key:
Private key for this Thing (downloaded in 3.1 step 3)
You should create command as format below:
AT+THING_Set=98c6, a3qjEXAMPLEffp-ats.iot.ap-northeast-1.amazonaws.com,
-----BEGIN CERTIFICATE-----\
n…base64 data…\n-----END CERTIFICATE-----\n, -----BEGIN
RSA PRIVATE KEY-----\
n…base64 data…\n-----END RSA PRIVATE KEY-----\n
Note: a3qjEXAMPLEffp is just an example endpoint, your endpoint URL should replace it. Please follow
the instructions to find the endpoint.
Navigate to the AWS IoT console
Choose Settings in the navigation pane
The endpoint is can be found under Custom endpoint