sbcshop / PiSquare

PiSquare is an RP2040 and ESP-12E-based board that allows you to use multiple Raspberry Pi HATs without stacking them on top of one other. PiSquare uses Socket programming to wirelessly communicate multiple Raspberry Pi HATs ("n" numbers of HATs).
MIT License
25 stars 5 forks source link

[QUESTION] How do I get more information on the ESP-12E Command set? #6

Open androiddrew opened 2 years ago

androiddrew commented 2 years ago

Intermediate-ish Micropython user here. I see there are AT commands in the examples for setting and interacting over uart with the ESP-12E that comes with the board. How do I get more information on the firmware that the ESP-12E is running? Could you provide links to it's own docs so that we can expand on the examples you provide?

sbcshop1 commented 2 years ago

We upload AT Command pdf "ESP8266_AT_Instruction_set.pdf ", in our repository, go through this pdf.

techlobo commented 2 years ago

Hmm.. not sure that this command set works fully with the onboard ESP8266 firmware.

AT+GMR
AT version:1.2.0.0(Jul  1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
Ai-Thinker Technology Co. Ltd.
Dec  2 2016 14:21:16
OK

So it is using the Ai-Thinker firmware which doesn't appear to be as well documented for which Espressif commands are supported. e.g. AT+UART_CUR? and AT+UART_DEF? both give error:

AT+UART_CUR?

ERROR

Trying to set baud rate using "AT+UART_CUR=", "AT+UART_DEF=", and "AT+UART=" (this latter command is meant to be deprecated) also return an error.

AT+CWLAP is returning SSID's, but not a full list of those reported by other MCU's (e.g. WiMOS D1 Pro, ESP32 DevKitC V4), which may be antennae related - but could be comms related which is why I was looking at baud rate / buffer size / etc.

techlobo commented 2 years ago

Quick check of commands to 'get' information show that the following also produce error message:

Haven't tried any other set commands yet (other than the AT+UART ones above).