AzureWave AW-CU427-USB Скачать руководство пользователя страница 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. 
 

 

 

3.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-USB to the system (refer to 

2. Hardware Setup

and turn off the 

wireless devices near the AW-CU427-USB (except for the device under test). Turn on the Wi-Fi 
module of the AW-CU427-USB using 

AT+WIFI_On

 

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

 

a25giitjes2mei-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: a25giitjes2mei is just an example endpoint, your endpoint URL should replace it 

Step 6: Connect the client to MQTT broker: 

AT+MQTT_Connect

Step 7: Subscribe to and save MQTT topic using 

AT+MQTT_Subscribe=iotdemo/1,0 

Step 8: Publish to MQTT topic using 

AT+MQTT_Publish=iotdemo/1, hello, 0 

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

Страница 1: ...property of AzureWave and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave AW CU427 USB IEEE 802 11 b g n MAC baseband radio and Blue...

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

Страница 3: ...nts 1 Overview of AW CU427 USB 4 2 Hardware Setup 5 2 1 Components 5 2 2 Identify the Hardware and Firmware 6 2 3 Antenna Installation Guide 8 3 AWS Command Example 10 3 1 Getting Started with AWS IoT...

Страница 4: ...perty of AzureWave and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave 1 Overview of AW CU427 USB USB Type C male Plug Powerful MCU T...

Страница 5: ...osed in whole or in part without prior written permission of AzureWave 2 Hardware Setup 2 1 Components Plug the AW CU427 USB dongle into the USB type C port or through an USB type A male to USB type C...

Страница 6: ...ify the Hardware and Firmware The simple way to identify the hardware and firmware of AW CU427 is under Windows You also can identify it under Linux Check if Device Manager can recognize AW CU427 USB...

Страница 7: ...ced or disclosed in whole or in part without prior written permission of AzureWave To force the terminal show characters you type and send the command only after you hit the Enter key set Local echo L...

Страница 8: ...spective This can be a problem if those objects are electrically large Recommended minimum clearance is 20mm for conductive materials and 10mm for non conductive materials Failing to meet the clearanc...

Страница 9: ...e exclusive property of AzureWave and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave Wood Desk Chair Vertical Position Wood Desk Cha...

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

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

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

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

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

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

Страница 16: ...roperty of AzureWave and shall not be distributed reproduced or disclosed in whole or in part without prior written permission of AzureWave 4 Block Diagram and Schematic 4 1 Block Diagram for AW CU427...

Страница 17: ...ation 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 4 2 Schematics for...

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

Страница 19: ...permission of AzureWave 5 Additional Information The AW CU427 USB is designed for Engineering Evaluation Purpose Only as opposed to an end product Thus it may not comply with directives such as WEEE...

Страница 20: ...CU427 USB work with Arduino Uno Remove all the jumpers 2mm pitch on the dongle before mating it with the Arduino Uno through the ARDUINO UNO ADAPTOR The digital logic level power supply input of the d...

Страница 21: ...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 Block Diagram for Arduino Uno Adaptor S...

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

Отзывы: