VideoBar

This content is not yet available over encrypted connections.

Tuesday, February 28, 2017

ESP32 - Playing with ESP32 AT Commands.

Setup


ESP32 Setup with two USB to UART Bridges
UART 0 on ttyUSB0 for flash an debug
UART 1 on ttyUSB1 for AT Commands



ESP32-AT
https://github.com/espressif/esp32-at

Issues
https://github.com/espressif/esp32-at/issues

Manual
http://espressif.com/sites/default/files/documentation/esp32_at_instruction_set_and_examples_en.pdf

Tested Commands:

AT
AT+GMR
AT+CWMODE=1
AT+CIPSTATUS
AT+CWJAP="ssid","password"
AT+CIPSTATUS
AT+CIPSTART="TCP","www.google.com",80
AT+CIPSEND=72

GET /search?q=esp32 HTTP/1.1
Host: www.google.de
Connection: close


AT+CIPSTART="TCP","www.heise.de",80
AT+CIPSEND=68

GET /index.html HTTP/1.1
Host: www.heise.de
Connection: close


AT+CIPSTART="SSL","www.heise.de",443
AT+CIPSEND=88

GET https://www.heise.de/index.html HTTP/1.1
Host: www.heise.de
Connection: close


AT+CIPSTART="SSL","www.esp32.com",443
AT+CIPSEND=89

GET https://www.esp32.com/index.php HTTP/1.1
Host: www.esp32.com
Connection: close

More info:
https://youtu.be/HBrEMIzm_uY

No comments:

Post a Comment