Hello!
i start to work with ESP32 and AT command , right now the module is connet to the serial port of my pc, next step i connet him with STM32 board. what i wanna do is check all wifi connection around to me send this information on website afther i make my choice send to the ESP32 username and password . I did this step;
- AT\r\n and i recive ok
- AT+CWMODE=3\r\n and i recive OK i configurate in AP an STA
-AT+CWLAP\r\n return all wifi around me
- AT+CIFSR\r\n and return my IP address 1920168.4.1
If i try to connect with external device like my cellphone i can see +STA_CONNECTED:"here i receive my mac address"<CR><LF>
-AT+CIPMUX=1\r\n and i reciìeive OK
-AT+CIPSERER=1,80\r\n and i recive ERROR
and i don't understand why o mabye i think is because right now i'n not connect with router is this right ?because right now the ESP is just AP and my website address is 192.168.4.1.
i don't know how create socket with AT command. I want work with TCP protocol
I hope some one can help me
Thank you
Sergio
ESP32 AT command
Re: ESP32 AT command
Find the error. I wrote AP+CIPSERVER=1,80 then AT+CIPSERVER=1,80
Thanks
Sergio
Thanks
Sergio
Who is online
Users browsing this forum: aliarifat794, axellin and 133 guests