Odd ESP8266 01 behavior

CWMODE is set to 3

When I issue this AT Command

AT+CIPSTA_DEF="192.168.3.58","192.168.3.2","255.255.255.0"

The Response is

OK

But then if I immediately issue this command....

AT+CIPSTA?

This is the response.....

+CIPSTA:ip:"0.0.0.0"
+CIPSTA:gateway:"0.0.0.0"
+CIPSTA:netmask:"0.0.0.0"

Can anyone explain this ?

Thanks

Hold it...it "might" be because of the DHCP setting.......checking......

(I was fairly certain I had set it to "Static" earlier...)

When I issue this AT Command.....

AT+CWDHCP_CUR=0,2

I get this response.....

ERROR

So as of now, it's not letting me change the DHCP status to off or on

When I send this AT Command.....

AT+CWDHCP_CUR?

The Response is....

+CWDHCP_CUR:1
OK

So, it appears to be stuck in DHCP Mode ?

quamikazee:
When I issue this AT Command.....

AT+CWDHCP_CUR=0,2

I get this response.....

ERROR

So as of now, it's not letting me change the DHCP status to off or on

2 is not a valid second parameter

first parameter is mode, second is enable/disable