Search found 450 matches

by Her Mary
Sun Mar 19, 2017 1:55 pm
Forum: ESP8266 SDK
Topic: 自己修改的esp8266固件的只能smartconfig一次
Replies: 1
Views: 2632

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 Mary
Fri Jul 29, 2016 3:57 pm
Forum: Report Bugs
Topic: How to get connected AP's IP address (gateway address)
Replies: 4
Views: 5665

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 Mary
Fri Jul 29, 2016 2:31 pm
Forum: Report Bugs
Topic: How to get connected AP's IP address (gateway address)
Replies: 4
Views: 5665

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 Mary
Mon Jul 25, 2016 8:52 pm
Forum: AT+ Commands
Topic: How to get AP's IP address
Replies: 5
Views: 8779

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?
by Her Mary
Fri Jul 22, 2016 2:02 pm
Forum: ESP8266 SDK
Topic: RTOS为什么编译出来的SPI_MAP显示不对呢?
Replies: 5
Views: 3939

Re: RTOS为什么编译出来的SPI_MAP显示不对呢?

勾选SpiAutoSet

对比了一下我的,没啥差别,就是这个改成 不勾选 呢?
by Her Mary
Fri Jul 22, 2016 10:48 am
Forum: ESP8266 SDK
Topic: RTOS为什么编译出来的SPI_MAP显示不对呢?
Replies: 5
Views: 3939

Re: RTOS为什么编译出来的SPI_MAP显示不对呢?

flash download tool 烧录工具上的 flash size 选项,没选对吧?
by Her Mary
Thu Jul 21, 2016 11:02 am
Forum: General Q&A
Topic: 希望官方提供JSON的详细文档
Replies: 2
Views: 3295

Re: 希望官方提供JSON的详细文档

json 网上一搜一大把,乐鑫肯定也不是自己写的,是移植的第三方库吧。可以到 json 的官网了解看看 http://www.json.org/json-zh.html
by Her Mary
Mon Jul 11, 2016 10:50 am
Forum: Chit Chat
Topic: MAC地址拿不到
Replies: 3
Views: 6223

Re: MAC地址拿不到

你可以参考 AT bin 里的 readme 文件烧录。
blank.bin 烧到 0x7E000 和 0xFE000 两个地址做初始化。
by Her Mary
Mon Jul 11, 2016 10:21 am
Forum: AT+ Commands
Topic: UDP header
Replies: 2
Views: 3107

Re: UDP header

Hi,
Command “AT+CIPSTATUS” can get the information of remote IP and port.
Command "AT+CIPSEND=[<link ID>,]<length>[,<remote IP>,<remote port>]" can send UDP data to the target remote IP and port.

Go to advanced search