Search found 56 matches

by Her Majesty
Wed Mar 22, 2017 3:24 pm
Forum: General Q&A
Topic: 请问ESP8266 设备名如何修改?
Replies: 1
Views: 5

Re: 请问ESP8266 设备名如何修改?

试试 wifi_station_get_hostname
by Her Majesty
Mon Mar 20, 2017 10:19 am
Forum: ESP8266 SDK
Topic: Reboot after firmware update issue
Replies: 2
Views: 94

Re: Reboot after firmware update issue

Download your user1.bin into the module with flash tool, can your user1.bin be able to run?
by Her Majesty
Sun Mar 19, 2017 2:13 pm
Forum: Report Bugs
Topic: ESP Flash Download Tool 2.4错误覆盖相邻的扇区
Replies: 1
Views: 115

Re: ESP Flash Download Tool 2.4错误覆盖相邻的扇区

ESP Flash Download Tool 就是会往后多盖一个扇区,不知道现在最新的 tool 有没有修改。。
by Her Majesty
Sun Mar 19, 2017 2:11 pm
Forum: Report Bugs
Topic: AT command set bug: headers missing
Replies: 1
Views: 2024

Re: AT command set bug: headers missing

It combines 2 packets to be 1 packet, maybe because of the network blocking.

Code: Select all

+IPD,3,56,......

The 56 is the data length.

Code: Select all

+IPD,3,112,......

The 112 is the data length.
by Her Majesty
Sun Mar 19, 2017 2:03 pm
Forum: ESP8266 SDK
Topic: Wifi connection messages from ESP
Replies: 1
Views: 36

Re: Wifi connection messages from ESP

Maybe you can try to debug it with API: wifi_set_event_handler_cb.
by Her Majesty
Sun Mar 19, 2017 1:55 pm
Forum: ESP8266 SDK
Topic: 自己修改的esp8266固件的只能smartconfig一次
Replies: 1
Views: 152

Re: 自己修改的esp8266固件的只能smartconfig一次

更换路由器之后,会去 smartconfig 吗?

Code: Select all

wifi_station_get_config_default(&s_staconf);
if(os_strlen(s_staconf.ssid) != 0)
{
os_printf("user_scan\r\n");   
system_init_done_cb(user_scan);
}

成功连接过路由器之后,这个 if 条件应该会始终成立吧,是不是每次都走 user_scan 了
by Her Majesty
Fri Jul 29, 2016 3:57 pm
Forum: Report Bugs
Topic: How to get connected AP's IP address (gateway address)
Replies: 4
Views: 1829

Re: How to get connected AP's IP address (gateway address)

In fact, I did not try it, but I think it can work. Maybe you could try it. Using API, documentation "2c-esp8266_non_os_sdk_api_reference" has sample code of wifi_set_event_handler_cb. Using AT command, after ESP8266 connected to an AP, input command: AT+CIPSTA_CUR? to get the IP details o...
by Her Majesty
Fri Jul 29, 2016 2:31 pm
Forum: Report Bugs
Topic: How to get connected AP's IP address (gateway address)
Replies: 4
Views: 1829

Re: How to get connected AP's IP address (gateway address)

It seems that I replied a same question once. You could try
Using API : WiFi event "EVENT_STAMODE_GOT_IP" after registered callback by wifi_set_event_handler_cb.
Using AT command : AT+CIPSTA_CUR?
by Her Majesty
Mon Jul 25, 2016 8:52 pm
Forum: AT+ Commands
Topic: How to get AP's IP address
Replies: 5
Views: 946

Re: How to get AP's IP address

The gateway should be the AP's IP address if DHCP is enabled. WiFi event "EVENT_STAMODE_GOT_IP" after registered callback by wifi_set_event_handler_cb.
AT command may be : AT+CIPSTA_CUR?

Go to advanced search