Chat freely about anything...

User avatar
By Brother Theo
#80936 Hi, I am trying to get 2 ESP-07 modules to communicate. I had it working once but somehow I lost the formula. It is a simple ad-hoc network with an ESP-07 as a soft AP and another other as a station, using TCP protocol and AT commands.

Here is the soft ap side commands:
Code: Select allAT+CWMODE=2
OK
AT+CWSAP_CUR="QL_XMTR","",4,0
OK
AT+CIPMUX=1
OK
AT+CIPSERVER=1,1234
OK
AT+CIPAP?
+CIPAP:ip:"192.168.4.1"
+CIPAP:gateway:"192.168.4.1"
+CIPAP:netmask:"255.255.255.0"


And here is the station side:
Code: Select allAT+CWMODE=1
OK
AT+CWLAP
+CWLAP:(0,"QL_XMTR",-46,"86:f3:eb:ba:ff:61",4,8,0)
+CWLAP:(4,"CenturyLink6190",-70,"5c:6a:80:2d:b5:ba",6,33,0)
+CWLAP:(4,"CIRCUITABBEY-2.4",-48,"74:85:2a:dc:c6:18",9,3,0)
+CWLAP:(0,"xfinitywifi",-53,"7e:85:2a:dc:c6:18",9,3,0)
+CWLAP:(0,"HPEF9DD9",-55,"00:25:b3:ef:9d:d9",10,15,0)
OK
AT+CWJAP="192.168.4.1",""
WIFI DISCONNECT
+CWJAP:3
FAIL
AT+CWJAP="192.168.4.1",""
+CWJAP:3
FAIL


The CWLAP response shows that the station can see the soft ap but it cannot connect to it. Like I said this was working at one point. Can anyone see what it is I am missing?

Thanks!