ESP8266 Developer Zone The Official ESP8266 Forum 2020-02-28T11:09:06+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=51529 2020-02-28T11:09:06+08:00 2020-02-28T11:09:06+08:00 https://bbs.espressif.com:443/viewtopic.php?t=51529&p=73874#p73874 <![CDATA[Re: 8266的异常掉线?]]> 2. 是不是特殊某块板子的 RF 性能异常?

Statistics: Posted by Her Mary — Fri Feb 28, 2020 11:09 am


]]>
2019-10-28T16:35:17+08:00 2019-10-28T16:35:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=51529&p=67524#p67524 <![CDATA[Re: 8266的异常掉线?]]>
Her Mary wrote:
路由器一般会踢掉那些不活跃的 station,你可以试试从 8266 周期性的向外发心跳包,看是否还会掉线。

在ping-pong过程中,8266就已经发送了一定的ICMP包了呀

Statistics: Posted by Guest — Mon Oct 28, 2019 4:35 pm


]]>
2019-10-10T11:46:15+08:00 2019-10-10T11:46:15+08:00 https://bbs.espressif.com:443/viewtopic.php?t=51529&p=66508#p66508 <![CDATA[Re: 8266的异常掉线?]]> Statistics: Posted by Her Mary — Thu Oct 10, 2019 11:46 am


]]>
2019-10-07T23:49:33+08:00 2019-10-07T23:49:33+08:00 https://bbs.espressif.com:443/viewtopic.php?t=51529&p=66416#p66416 <![CDATA[8266的异常掉线?]]> WiFi信道上几乎没有干扰,路由器只连接了电脑和8266这两个设备。
代码如下

Code:

#include "esp_common.h"

void ICACHE_FLASH_ATTR user_init(void) {
    system_update_cpu_freq(160);  //设置CPU为160Mhz

    wifi_set_opmode_current(STATION_MODE);

    struct station_config conf = {
        .ssid = "TESTY",
        .password = "OOOOPPPP",
        .bssid_set = 0,
    };
    wifi_station_set_config(&conf);

    os_printf("init done\n");
}



串口日志如下

Code:

rf cal sector: 1019
tcpip_task_hdl : 3ffef680, prio:10,stack:512
idle_task_hdl : 3ffef720,prio:0, stack:384
tim_task_hdl : 3fff1ed8, prio:2,stack:512
sleep disable
init done
mode : sta(bc:dd:c2:30:24:b9)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
pm open phy_2,type:0 0 0
cnt

connected with TESTY, channel 13
dhcp client start...
ip:192.168.1.101,mask:255.255.255.0,gw:192.168.1.1
state: 5 -> 2 (3c0)
rm 0
pm close 7 0 0/44806164
reconnect
state: 2 -> 0 (0)
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
pm open phy_2,type:0 0 0
cnt

connected with TESTY, channel 13
dhcp client start...
ip:192.168.1.101,mask:255.255.255.0,gw:192.168.1.1
state: 5 -> 2 (3c0)   
rm 0
pm close 7 0 0/66950923
reconnect       
state: 2 -> 0 (0)
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)     
add 0
aid 1
pm open phy_2,type:0 0 0
cnt

Statistics: Posted by Guest — Mon Oct 07, 2019 11:49 pm


]]>