So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Sushant Naik
#66192
QuickFix wrote:What is the current mode of your ESP?

Possible mode values:
  1. Station mode (client)
  2. AP mode (host)
  3. AP + Station mode (host and client)

Query:
Code: Select allAT+CWMODE?

Set:
Code: Select allAT+CWMODE=<required mode>


To use an ESP8266 as a client, it must be set to either 1 (client only) or 3 (client and AP/host).


Its in station mode,
AT+CIPMUX=1
AT+CIPSTART=0,"TCP","192.168.1.100",80
busy p...

OK
AT+CWMODE?
+CWMODE:1

However i tried in mode 3 as well,
AT+CWMODE=3

OK
AT+CIPMUX=1
AT+CIPSTART=0,"TCP","192.168.1.100",80
busy p...

OK
AT+CIFSR
+CIFSR:APIP,"192.168.4.1"
+CIFSR:APMAC,"1a:fe:34:16:c2:c3"
+CIFSR:STAIP,"192.168.1.101"
+CIFSR:STAMAC,"18:fe:34:16:c2:c3"

Image of PC IP setting Link