【ESP32-C3】 AT

Rainbow
Posts: 26
Joined: Fri May 21, 2021 3:21 am

【ESP32-C3】 AT

Postby Rainbow » Wed Sep 15, 2021 6:27 am

I work with the ESP32-C3 AT-Binary (https://docs.espressif.com/projects/esp ... index.html)

- I have the issue that i need multiple Wifi-Profiles (Eg. 1x WPA2, 2xWPA-Enterprise) and i do not want to every time send the crendentials over UART as this then can be used to read the credentials from the target super easily. Is there a way to store multiple "profiles" on the chip?

- It is strange, if i use SYSTORE=1, most options are not persistently stored like the hostname and multiple options more. If you use autoconnect, and reset or even power-cycle the chip, if this is not being stored persistently, it will always use the default value (for the hostname in example its espressif) and connect to the AP before i can change the hostname...

- I would very much welcome way more examples. Right now its unclear to me how i can establish a connection to a HTTPS server ?

- So establish the connection to the server? Then How can i POST binary data to that server? Your API (AT+HTTPCLIENT) does only allow text-payload, but i need binary payload. And the alternative (AT+HTTPCPOST) might be able to do this but misses a lot of parameters (like content type, url, ...)?

- How to flash my certificate onto the chip?

- Can i burn the certificate over the AT-UART?

The documentation basically just tells you what commands exist, but nothing to use as reference on how to use them. I would very much like to get examples, especially for HTTP+TLS, connection establishment and POST with binary data.

embedded_guy
Posts: 7
Joined: Fri Feb 05, 2021 12:27 am

Re: 【ESP32-C3】 AT

Postby embedded_guy » Sun Sep 26, 2021 7:51 pm

I don't have answers to your questions but wanted to check to see if you were able to find out anything else.

I have noticed similar operation with the hostname command when using auto-connect. So, I have had to disable auto-connect and set the hostname prior to the connecting to the wireless network as a station. This has seemed consistent in my initial testing.

I am also looking for a way to send binary data. In my case, I am running the esp32-wroom as a web server (using AT+CIPSERVER on port 80). I seem to be able to use AT+CIPSEND to transmit web html pages constructed as

const char wifi_data_html[] =
{
"<!DOCTYPE html> <html> \
<head> \

However, I have not been able to transmit binary data using AT+CIPSEND. I see the data consumed by the esp32 module with the CIPSEND command, but it doesn't seem to transmit that data.

gfeller
Posts: 2
Joined: Thu Sep 02, 2021 9:14 am

Re: 【ESP32-C3】 AT

Postby gfeller » Tue Nov 30, 2021 10:20 am

Hi,
Any news about the release of the AT firmware that includes Bluetooth for ESP32-C3?
My last information was "within october 2021", that's now 1mt overdue.
Thanks for your answer.
BR, Martin

ESP_Alson
Posts: 106
Joined: Mon Mar 22, 2021 3:37 am

Re: 【ESP32-C3】 AT

Postby ESP_Alson » Tue Dec 07, 2021 12:43 pm

I have the issue that i need multiple Wifi-Profiles (Eg. 1x WPA2, 2xWPA-Enterprise) and i do not want to every time send the crendentials over UART as this then can be used to read the credentials from the target super easily. Is there a way to store multiple "profiles" on the chip?

Sorry,for enterprise-level certificates, currently only one set is supported. So it is recommended that you can achieve your needs by updating the certificate partition.

I would very much welcome way more examples. Right now its unclear to me how i can establish a connection to a HTTPS server ?

You can refer to https://docs.espressif.com/projects/esp ... #cmd-start or https://docs.espressif.com/projects/esp ... mands.html for more details.

How to flash my certificate onto the chip?

Please refer to https://docs.espressif.com/projects/esp ... -bin-files

Can i burn the certificate over the AT-UART?

please refer to https://docs.espressif.com/projects/esp ... -bin-files

Who is online

Users browsing this forum: No registered users and 11 guests