AzureWave AW-CU427-P Скачать руководство пользователя страница 15

 

15 

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-CU427-P to the system and turn off the wireless devices near the 
AW-CU427-P (except for the device under test). Turn on the Wi-Fi module of the AW-CU427-P 
using 

AT+WIFI_On

 

Step 2: Check if AW-CU427-P 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

 

Содержание AW-CU427-P

Страница 1: ...the exclusive property of AzureWave and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave AW CU427 P IoT Connectivity Module for AWS I...

Страница 2: ...eWave and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave Revision History Version Revision Date Description Initials Approved 0 1 20...

Страница 3: ...t without prior written permission of AzureWave Table of Contents 1 Introduction of AW CU427 P 4 1 1 Product Overview 4 1 2 Block Diagram 5 1 3 Schematics 6 1 4 Pin Definition 7 1 5 Layout Guide and S...

Страница 4: ...W CU427 P 1 1 Product Overview AW CU427 P is a Wi Fi Module with FreeRTOS qualified MCU that uses AT commands to securely and efficiently communicate with AWS IoT Core Hardware specification defined b...

Страница 5: ...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 1 2 Block Di...

Страница 6: ...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 1 3 Schematics Module pin...

Страница 7: ...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 1 4 Pin Definition Pin Map AW CU427...

Страница 8: ...und GND C3 GND_C3 Ground GND C6 GND_C6 Ground GND C7 GND_C7 Ground GND C8 GND_C8 Ground GND C9 GND_C9 Ground GND D1 GND_D1 Ground GND D7 GND_D7 Ground GND D8 GND_D8 Ground GND D9 GND_D9 Ground GND E2...

Страница 9: ...the RTC timers or an external input It can also generate an output to wakeup external circuitry It is connected to VDDD when not used as a separate battery backup domain VBACKUP provides the supply f...

Страница 10: ...eproduced or disclosed in whole or in part without prior written permission of AzureWave 1 5 Layout Guide and SMT Process Notification For correctly designing AW CU427 P in your device you may need to...

Страница 11: ...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 endpoi...

Страница 12: ...that can communicate with AWS IOT Please refer to the following link to create a thing https docs aws amazon com iot latest developerguide create aws thing html Step 3 Register a device This step wil...

Страница 13: ...uted reproduced or disclosed in whole or in part without prior written permission of AzureWave Thing Name and Endpoint These two data will also be used for AT THING_Set command You can find out thing...

Страница 14: ...14 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...

Страница 15: ...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 co...

Страница 16: ...Step 8 Publish to MQTT topic using AT MQTT_Publish iotdemo 1 hello 0 AT MQTT_Publish topic message qos topic Topic to publish to message Message to publish qos 0 1 Step 9 Use the MQTT client in the AW...

Отзывы: