I am using ESP32C3 Mini with EFM32TG11 chip. I want to flash MQTT certificate through AT command. (I have refereed this link: viewtopic.php?t=9374)
I have tried to write into the flash using
AT+SYSFLASH=0,"mqtt_key"
AT+SYSFLASH=1,\"mqtt_key\",0,<length of the binary generated by PKI bin>
AT+SYSFLASH=0,"mqtt_cert"
AT+SYSFLASH=1,\"mqtt_cert\",0,<length of the binary generated by PKI bin>
I am getting response OK from the server for the erasing/writing certificates into the flash.
After that I am syncing with the time, configure and conecting MQTT.
But I am unble to connect with AWS cloud. Anyone can please help me out here ?
I have tried to flash same binary files with flash tool and I can successfully connect with MQTT client.
Flash MQTT certificates using AT Commands
-
- Posts: 5
- Joined: Thu Jul 21, 2022 1:32 pm
Re: Flash MQTT certificates using AT Commands
I dig more into it using development kit and found that while updating certificates using AT+SYSFLASH commands (as mentioned above), I am getting below error in the debug logs. Can anyone please let me know how to resolve this error ?
Who is online
Users browsing this forum: No registered users and 99 guests