【Feedback】Problem with AT+CIPAP and AT+CIPSTA commands

N.Jovanovic
Posts: 2
Joined: Fri Jul 15, 2016 2:08 pm

【Feedback】Problem with AT+CIPAP and AT+CIPSTA commands

Postby N.Jovanovic » Fri Jul 15, 2016 2:44 pm

Hello,
I am working with ESP-WROOM-02 module,info:

15.7.2016 08:19:04.00 [TX] - AT+GMR<CR><LF>
15.7.2016 08:19:04.03 [RX] - AT+GMR<CR>
<CR><LF>
AT version:0.51.0.0(Nov 19 2015 13:37:56)<CR><LF>
SDK version:1.4.1<CR><LF>
compile time:Nov 20 2015 16:55:54<CR><LF>
OK<CR><LF>

After factory reset,when I query softAP IP address:

15.7.2016 08:19:44.89 [TX] - AT+CIPAP?<CR><LF>
15.7.2016 08:19:44.92 [RX] - AT+CIPAP?<CR>
<CR><LF>
+CIPAP:ip:"192.168.4.1"<CR><LF>
+CIPAP:gateway:"192.168.4.1"<CR><LF>
+CIPAP:netmask:"255.255.255.0"<CR><LF>
<CR><LF>
OK<CR><LF>

This is fine,but when I try to set the IP address:

15.7.2016 08:20:13.40 [TX] - AT+CIPAP_DEF="192.168.4.1","192.168.4.1","255,255,255,0"<CR><LF>
15.7.2016 08:20:13.50 [RX] - AT+CIPAP_DEF="192.168.4.1","192.168.4.1","255,255,255,0"<CR>
<CR><LF>
<CR><LF>
OK<CR><LF>

This looks fine,but when I query IP address again:

15.7.2016 08:20:37.59 [TX] - AT+CIPAP?<CR><LF>
15.7.2016 08:20:37.64 [RX] - AT+CIPAP?<CR>
<CR><LF>
+CIPAP:ip:"192.168.4.1"<CR><LF>
+CIPAP:gateway:"192.168.4.1"<CR><LF>
+CIPAP:netmask:"255.255.255.255"<CR><LF>
<CR><LF>
OK<CR><LF>

As you can see,netmask is not good and it is like this no matter what I write.
The same applies to AT+CIPSTA command.
Is there a solution to this problem?
Regards

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

Re: Problem with AT+CIPAP and AT+CIPSTA commands

Postby ESP_Rubin » Fri Jul 15, 2016 3:54 pm

Hi
Maybe you used the fault command:
your fault command:AT+CIPAP_DEF="192.168.4.1","192.168.4.1","255,255,255,0"
correct commaned :AT+CIPAP_DEF="192.168.4.1","192.168.4.1","255.255.255.0"

please try

N.Jovanovic
Posts: 2
Joined: Fri Jul 15, 2016 2:08 pm

Re: 【Feedback】Problem with AT+CIPAP and AT+CIPSTA commands

Postby N.Jovanovic » Fri Jul 15, 2016 10:05 pm

HI,
Thank you for your fast response.
You are absolutely right,don't know how I missed that.
Thank you,regards.

Who is online

Users browsing this forum: No registered users and 2 guests