Device cant connect to softAP for AT firmware V0.51

hhc
Posts: 13
Joined: Sat May 30, 2015 1:37 pm

Device cant connect to softAP for AT firmware V0.51

Postby hhc » Mon Dec 07, 2015 2:31 pm

Hi,

We have been trying to get a wifi device to connect to ESP8266 softAP but fail. How do we troubleshoot this ?
Windows 7 (static IP) and mobile phone (DHCP) connection to the softAP is ok, only this particular device. This device connects without issue to a normal access point. It uses static IP.

Best regards.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Device cant connect to softAP for AT firmware V0.51

Postby ESP_Faye » Mon Dec 07, 2015 4:12 pm

Hi,

How do you know the connection failed ?

The default IP of ESP8266 softAP is 192.168.4.1, is your station's static IP to be 192.168.4.X ?

hhc
Posts: 13
Joined: Sat May 30, 2015 1:37 pm

Re: Device cant connect to softAP for AT firmware V0.51

Postby hhc » Mon Dec 07, 2015 5:47 pm

We cant see what is the status of the device since there is no screen or status. We presume it is not connected since we cant ping or connect to the device. If the device is set to use another physcial AP, there is no issue.

The softAP has been set to 192.168.111.1
The device is statically set to 192.168.111.88
Windows 7 static IP is 192.168.111.77
Mobile phone IP can be seen in AT+CWLIF as 192.168.111.2

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Device cant connect to softAP for AT firmware V0.51

Postby ESP_Faye » Wed Dec 09, 2015 2:56 pm

Hi,

Sorry that we can not duplicate your problem.

What is this "WiFi device" ? Maybe we can buy one to have a try.

Or could you provide the captured WiFi packets for debugging ?

hhc
Posts: 13
Joined: Sat May 30, 2015 1:37 pm

Re: Device cant connect to softAP for AT firmware V0.51

Postby hhc » Thu Dec 10, 2015 10:37 am

The device is a wifi printer with a USR-WIFI232-B wifi module (uart to wifi converter). Will see how to capture the wifi packets.
Thanks.

User avatar
nuneswagner
Posts: 1
Joined: Mon Dec 07, 2015 11:24 am

Re: Device cant connect to softAP for AT firmware V0.51 with UART

Postby nuneswagner » Wed Dec 30, 2015 9:00 am

Hi, I'm having a problem with the ESP-01.
I need a communication between two PIC through UART two ESP, one as STA and another as AP .
I did the configuration of modules from AT COMMAND activating the UART with the same BAUD RATE, but I can't stablish the communication sending and receiving data. The two ESP connection is OK.
In short I need build a bridge between the ESP with UART.
Can someone help me?
Wagner Nunes
Brazil
nuneswagner@hotmail.com

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Device cant connect to softAP for AT firmware V0.51

Postby ESP_Faye » Thu Dec 31, 2015 1:49 pm

Hi hhc,

Please have a try with this new AT firmware. Flash size: 16Mbit, download it to 0x00000.

If your problem is still unsolved, please feel free to let us know.
Attachments
target-esp8266-at-v1.5.0-2015123113.zip
(212.9 KiB) Downloaded 460 times

hhc
Posts: 13
Joined: Sat May 30, 2015 1:37 pm

Re: Device cant connect to softAP for AT firmware V0.51

Postby hhc » Sun Jan 03, 2016 12:34 pm

Hi,

Thanks for your response. We did a trace of the handshake using Wireshake with original V0.51 and after some trying, we manage to get it to work with the wireless printer. Not sure why we cant get it to work initially. It could be we did not wait long enough for the wifi printer to attach to the ESP8266. With the wireshark trace, at least we can see what it going on.

With best regards,
hhc

Who is online

Users browsing this forum: No registered users and 2 guests