当前位置:网站首页>Introduction to espif ESP AWS IOT
Introduction to espif ESP AWS IOT
2022-07-23 05:39:00 【Embedded engineering lion】
Espressif in the light of AWS IoT The application of has a special warehouse esp-aws-iot, Can be very convenient in ESP On chip development AWS IoT Application . This time tls_mutual_auth Example to demonstrate how to ESP32-C3 On the development AWS IoT application .
List of articles
AWS IoT End operation
AWS IoT The end is mainly establish Things, and Download the corresponding certificate file that will do .
land AWS, stay Services Input in IoT Core, Access control .

stay IoT Core On the left of the console
All devicesOptionsThingsOptions , After clicking onCreate thingsestablish things.
choice things The number of , Choose here
Create single thing
Appoint
thingProperties of . Here is just a simple inputThing nameYou can go to the next step .
Automatically generated and created
thingMatching certificates . These certificates will be compiled intobinIn file .
establish
policy. The certificate is used to verify the legitimacy of the device , andpolicyIt focuses on Access control .
Set up
policy. In addition to designatingpolicy nameoutside , You also need to specifyPolicy actionandPolicy resourceThese two properties .Policy actionIs an option box , There's something in it, rightthingOf Access control . such asiot: ConnectYou can set thisthingCan only connect to AWS IoT, You can't do any subscription and publishing . For other permission controls, please refer to the corresponding instructions . Choose here*Open all permission settings .

Choose the one you just created
policy.
Download the certificate . This step is very important , Because I want to
thingCorresponding equipment certificate , Public key , Private key and CA Download the certificate together .
obtain
Endpoint. stay IoT Core On the left of the consoleSettingsGet from pageEndpoint. In the backmenuconfigSet in .
ESP32-C3 End operation
Copy the certificate to
tls_mutual_auth/main/certsUnder the table of contents , Here you only need to copy the device certificate , Private key and CA Certificate file is enough . But the name needs to be changed :AmazonRootCA1.pemIt is amended as followsroot_cert_auth.pem*-private.pem.keyIt is amended as followsclient.key*-certificate.pem.crtIt is amended as followsclient.crt
Set up
menuconfigMediumMQTT_BROKER_ENDPOINTChange to actualEndpoint.To configure WIFI Of
SSIDandPASSWORDWait for the information .
边栏推荐
猜你喜欢
随机推荐
Vrtk reactivates the scene, jumps to the scene handle, and the UI interaction function is lost
RPC-BDY(2)-注册多个服务
ArrayList的使用
Freshman summer internship Day6_ jigsaw puzzle
day6_拼图游戏后续——切换界面、随机图片和打包exe
Leetcode-528. random selection by weight
Camera picture transformation and first person movement
DOM - node operation
二叉树—堆
超简单的倒计时代码编写
12月1日作业
Unity3D音频系统Aduio声音丨音乐控制丨音频播放丨音频暂停丨音频控制
Game pause
Today's homework blog
Code random notes_ Array_ 27 remove elements
Ctfshow VIP limited and free topics CSDN creative punch in
Binary SCA fingerprint extraction black Technology: go language Reverse Technology
C语言实现扫雷
Tree and binary tree (C language)
Fundamentals of C language - the most error prone test point of string / character array








