Page 1 of 1

iperf 在 ble_mesh_wifi_coexist 無法正常工作

Posted: Thu Apr 16, 2020 3:20 am
by iamkkk
您好,
我使用這個examples\bluetooth\esp_ble_mesh\ble_mesh_wifi_coexist 來進行測試
但使用iperf 的時候都會看到sip=80.209.22.128這奇怪的東西,iperf 無法TX 也無法RX,都顯示為0

若使用 examples\wifi\iperf sip 就會和AP assign 的IP 一樣,也可以打iperf


esp> sta esp
I (19208) iperf: sta connecting to 'esp'
I (19451) wifi:new:<1,1>, old:<1,0>, ap:<255,255>, sta:<1,1>, prof:1
I (19453) wifi:state: init -> auth (b0)
I (19460) wifi:state: auth -> assoc (0)
I (19471) wifi:state: assoc -> run (10)
I (19472) wifi:connected with esp, aid = 1, channel 1, 40U, bssid = fc:f5:c4:6a:c2:89
I (19473) wifi:security type: 0, phy: bgn, rssi: -10
I (19484) wifi:pm start, type: 1

I (19486) iperf: L2 connected
I (19512) wifi:AP's beacon interval = 102400 us, DTIM period = 2
I (20454) esp_netif_handlers: sta ip: 192.168.4.2, mask: 255.255.255.0, gw: 192.168.4.1
I (20455) iperf: got ip
esp>
esp> iperf -s -i 3 -t 1000
I (32388) iperf: mode=tcp-server sip=80.209.22.128:5001, dip=0.0.0.0:5001, interval=3, time=1000

Interval Bandwidth
esp> 0- 3 sec 0.00 Mbits/sec
3- 6 sec 0.00 Mbits/sec
6- 9 sec 0.00 Mbits/sec
9- 12 sec 0.00 Mbits/sec