AP与STA连接一段时间后断开
Posted: Wed Mar 02, 2022 9:36 am
使用IDF版本:esp-idf release v4.3
问题描述:STA与AP建立连接,并发送从1起的序列号,建立连接后发送到第六帧时会自动断开连接,不再正常工作。报错提示如下:
完整日志如下:
问题描述:STA与AP建立连接,并发送从1起的序列号,建立连接后发送到第六帧时会自动断开连接,不再正常工作。报错提示如下:
Code: Select all
W (3050) wifi:<ba-add>idx:0 (ifx:0, 94:b9:7e:d6:13:d1), tid:0, ssn:0, winSize:64
Code: Select all
I (1097) wifi:connected with bob, aid = 1, channel 6, 40U, bssid = 94:b9:7e:d6:13:d1
I (1100) wifi:security: WPA2-PSK, phy: bgn, rssi: -27
I (1109) wifi:pm start, type: 0
I (1173) wifi:AP's beacon interval = 102400 us, DTIM period = 2
wifi not connected. waiting...
I (2232) esp_netif_handlers: sta ip: 192.168.4.2, mask: 255.255.255.0, gw: 192.168.4.1
I (2232) Active CSI collection (Station): Got ip:192.168.4.2
initial wifi connection established.
sending frames.
CSI_DATA,4,STA,94:B9:7E:D6:13:D1,-29,11,0,0,0,0,0,0,0,0,0,-96,0,6,1,2072004,0,37,0,0,2.44724,128,[,88,2,0,0,0,0,19,20,20,20,19,20,20,20,20,20,21,20,20,20,20,20,20,19,20,20,20,19,19,20,19,19,0,19,19,19,19,19,20,19,19,19,20,20,20,19,20,20,20,20,21,21,21,22,21,22,23,22,22,0,0,0,0,0,]
CSI_DATA,5,STA,94:B9:7E:D6:13:D1,-37,11,1,5,1,1,1,0,0,0,0,-96,0,6,1,2074843,0,82,0,0,2.46411,384,[,126,4,0,0,0,0,13,13,13,13,13,13,13,13,13,12,13,12,13,13,13,13,12,12,12,12,12,12,12,12,12,13,0,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,14,14,13,13,13,14,14,0,0,0,0,0,]
W (3050) wifi:<ba-add>idx:0 (ifx:0, 94:b9:7e:d6:13:d1), tid:0, ssn:0, winSize:64