ERROR Reported When Using CWJAP To Connect To AP
Posted: Sun Jul 23, 2017 12:12 pm
I am new to the ESP8266. (I do have over 50 years of experience in hardware/software/firmware development!) I have connected my PC to an ES-01 board using the Adafruit CP2104 USB Bridge and I am using HyperTerminal to communicate with the ESP8266. While I have been able to execute many of the commands in the ESP8266 command set, I receive a response of "ERROR" when I send the AP connect command as shown below:
AT+CWJAP="OFFICE"
ERROR
Where "OFFICE" is the name of an access point with no password required.
When I send a List Available AP command, I receive the following responses:
AT+CWLAP
+CWLAP:(0,"FVS318N_1",-87,"9c:3d:cf:b6:03:7a",1,-17,0)
+CWLAP:(4,"DHB-Network",-90,"c4:b3:01:df:a1:7c",1,-9,0)
+CWLAP:(3,"DHB-Network",-90,"f0:99:bf:08:23:16",1,-24,0)
+CWLAP:(0,"OFFICE",-33,"28:c6:8e:b8:47:37",11,3,0)
+CWLAP:(0,"DEN",-68,"08:bd:43:c0:19:6d",11,-9,0)
OK
Per another post, I sent the query variation of the connect command and I received the following response:
AT+CWJAP?
No AP
OK
This tells me that I am sending a valid command. I have tried setting the mode (using the CWMODE command) to 1 and 3 with the same result!
I am at a complete loss to understand what I am doing wrong. Any help would be greatly appreciated.
AT+CWJAP="OFFICE"
ERROR
Where "OFFICE" is the name of an access point with no password required.
When I send a List Available AP command, I receive the following responses:
AT+CWLAP
+CWLAP:(0,"FVS318N_1",-87,"9c:3d:cf:b6:03:7a",1,-17,0)
+CWLAP:(4,"DHB-Network",-90,"c4:b3:01:df:a1:7c",1,-9,0)
+CWLAP:(3,"DHB-Network",-90,"f0:99:bf:08:23:16",1,-24,0)
+CWLAP:(0,"OFFICE",-33,"28:c6:8e:b8:47:37",11,3,0)
+CWLAP:(0,"DEN",-68,"08:bd:43:c0:19:6d",11,-9,0)
OK
Per another post, I sent the query variation of the connect command and I received the following response:
AT+CWJAP?
No AP
OK
This tells me that I am sending a valid command. I have tried setting the mode (using the CWMODE command) to 1 and 3 with the same result!
I am at a complete loss to understand what I am doing wrong. Any help would be greatly appreciated.