ISSUE IN AT+CWDHCP and AT+CIPSTA

jt040
Posts: 1
Joined: Fri May 06, 2016 12:28 am

ISSUE IN AT+CWDHCP and AT+CIPSTA

Postby jt040 » Fri May 06, 2016 12:40 am

Dear all ,
i am beginner to use esp8266-01 module
i am trying to disable dhcp and set static ip to station
but when i use the command
AT+CWDHCP=2,0
ERROR
it gives error message
similar problem is with at command
AT+CIPSTA="192.168.1.30"
can any one suggest how to solve this problem

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

Re: ISSUE IN AT+CWDHCP and AT+CIPSTA

Postby ESP_Faye » Fri May 06, 2016 3:53 pm

Hi,

Try

Code: Select all

AT+CWMODE=3  // set softAP+station mode

AT+CIPSTA="192.168.1.30","192.168.1.1","255.255.255.0" // set IP address of ESP8266 station


Thanks for your interest in ESP8266 !

Who is online

Users browsing this forum: No registered users and 14 guests