AzureWave AW-CU300A V3 Скачать руководство пользователя страница 13

 

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 

2. Hardware Setup

) 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

 

Содержание AW-CU300A V3

Страница 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 CU300A V3 IoT Connectivity Module for AWS IoT Core Getting Started Guide Rev 0 2 ...

Страница 2: ...produced or disclosed in whole or in part without prior written permission of AzureWave Revision History Version Revision Date Description Initials Approved 0 1 2021 01 04 Initial version Renton Tao Jackson Boon N C Chen S C Chueh 0 2 2021 10 28 Add introduction of Over the Air Updates Josh Lin Patrick Lin ...

Страница 3: ...without prior written permission of AzureWave Table of Contents 1 Introduction of AW CU300A V3 4 1 1 Product Overview 4 1 2 Block Diagram 5 1 3 Schematics 6 1 4 Layout Guide and SMT Process Notification 8 2 AWS Command Example 9 2 1 Getting Started with AWS IoT Core 9 2 2 Publish and Monitor MQTT message on the cloud 13 2 3 Over the Air Updates 15 ...

Страница 4: ...U300A V3 1 1 Product Overview AW CU300A V3 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 by Amazon and AzureWave With AICM end device become AWS IoT Device UART interface for end device to connect with Rich AT commands for end device to communicate with AWS IoT Core Printed Antenna Powerf...

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

Страница 6: ...s Module pinout for AW CU300A V3 Pin No Definition Basic Description Type Level E7 B_3V3 3 3V Power input PWR 3 3V D7 M_3V3 3 3V Power input PWR 3 3V K1 GPIO_4 EN pin I O 3 3V K2 GPIO_5 INT pin I O 3 3V J7 GPIO_10 MSG pin I O 3 3V G8 GPIO_26 32KHzCLK_OUT I O 3 3V G1 GPIO_48 UART TXD I O 3 3V G2 GPIO_49 UART RXD I O 3 3V G7 GPIO_25 32KHz_CLK_IN I O 3 3V K7 RESETN RESETN I O 3 3V internal pull high ...

Страница 7: ...ll not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave E4 1 GPIO_28 I O 3 3V E5 1 GPIO_29 I O 3 3V D6 1 GPIO_30 I O 3 3V D4 1 GPIO_31 I O 3 3V E3 1 GPIO_32 I O 3 3V D5 1 GPIO_33 I O 3 3V NOTE 1 Dummy pin E4 E5 D6 D4 E3 and D5 ...

Страница 8: ...eWave and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave 1 4 Layout Guide and SMT Process Notification For mounting AW CU300A V3 on your device please refer to Layout Guide and SMT Process Notification ...

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

Страница 10: ...e 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 will create certificate and private key You can use certificate private key thing name and endpoint as AT THING_Set command parameter After this command executing the four parameter will be provision to...

Страница 11: ...buted 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 name in Manage Things submenu and endpoint in settings of AWS IOT Console at console aws amazon iot ...

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

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

Страница 14: ... 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 AWS IoT console to monitor the messages that device sends to the AWS Cloud Sign in to the AWS IoT console https console aws amazon com iotv2 In the navigation pane choose Test to open the MQTT client I...

Страница 15: ...escripts how to create an OTA job Create S3 bucket to store update AWS S3 is an object storage service and we will put update firmware in it Please reference https docs aws amazon com freertos latest userguide dg ota bucket html Note Please make sure you have enable versioning on you S3 bucket setting Create Service Role and Policy This section will descript how to setup Role and Policy to have ri...

Страница 16: ...ecause there are several configures in this topic please use the following link to complete code signing certificate https docs aws amazon com freertos latest userguide ota code sign cert win html AWS CLI and openssl are necessary softwares to complete this task Create OTA update Job After all prepared procedure finished you can create an OTA update job on this thing name and use AT MOD_OTA comman...

Страница 17: ...in 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 Please choice a FreeRTOS OTA update job and press create OTA update job ...

Страница 18: ...rt without prior written permission of AzureWave 3 Select a Things to create OTA job and then press NEXT 4 On next page please only select MQTT to be update protocol and select Sign a new firmware for me Then choose the code signing profile we create on previous chapter After that you can select a exist firmware or upload a new image from local ...

Страница 19: ... AzureWave and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave Then please enter slash in Pathname of firmware image on device and choose the Role we create on previous chapter Then press NEXT button ...

Страница 20: ...ureWave and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave 5 Entering a unique ID in ID field You can t use the same ID you created before Other fields just keep default setting and press Create button ...

Страница 21: ...ve and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave 6 Finally you can see a job to be created on Jobs page If you don t see it please press f5 to refresh the webpage The Job will be in IN PROGRESS status ...

Отзывы: