急,使用at指令来连接aws报错!!!!!!希望官网给我解答!!!!

Moderator: ESP_XCGuang

fst202130609
Posts: 171
Joined: Thu Sep 23, 2021 10:03 am

急,使用at指令来连接aws报错!!!!!!希望官网给我解答!!!!

Postby fst202130609 » Mon Mar 07, 2022 1:55 am

我使用PKI生成文件,使用脚本生成ca,cert,key这三份证书,使用的命令是:python AtPKI.py generate_bin -b ./mqtt_key.bin cert ../components/customized_partitions/raw_data/mqtt_key/mqtt_client.key cert ../components/customized_partitions/raw_data/mqtt_key/oximeter.private.key
剩下的两份证书也是使用同样的命令,生成了mqtt_ca.bin、mqtt_cert.bin、mqtt_key.bin
使用AT指令来查询在闪存中查询用户分区:AT+SYSFLASH?
结果是:
+SYSFLASH:"ble_data",64,1,0x1f000,0x6000
+SYSFLASH:"server_cert",64,2,0x25000,0x2000
+SYSFLASH:"server_key",64,3,0x27000,0x2000
+SYSFLASH:"server_ca",64,4,0x29000,0x2000
+SYSFLASH:"client_cert",64,5,0x2b000,0x2000
+SYSFLASH:"client_key",64,6,0x2d000,0x2000
+SYSFLASH:"client_ca",64,7,0x2f000,0x2000
+SYSFLASH:"factory_param",64,8,0x31000,0x1000
+SYSFLASH:"wpa2_cert",64,9,0x32000,0x2000
+SYSFLASH:"wpa2_key",64,10,0x34000,0x2000
+SYSFLASH:"wpa2_ca",64,11,0x36000,0x2000
+SYSFLASH:"mqtt_cert",64,12,0x38000,0x2000
+SYSFLASH:"mqtt_key",64,13,0x3a000,0x2000
+SYSFLASH:"mqtt_ca",64,14,0x3c000,0x2000
+SYSFLASH:"fatfs",1,129,0x47000,0x19000

OK
擦除扇区:AT+SYSFLASH=0,"mqtt_key" 更新:AT+SYSFLASH=1,"mqtt_key",0,2344 返回:>
这时要如何办?我不管发什么at指令都没用


Who is online

Users browsing this forum: No registered users and 29 guests